-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add URL prefix support in data preparation and hyperlink citation tit…
…les (#264) Co-authored-by: Sarah Widder <[email protected]>
- Loading branch information
1 parent
e9feb40
commit 970d366
Showing
13 changed files
with
331 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,5 @@ tiktoken==0.4.0 | |
langchain==0.0.292 | ||
bs4==0.0.1 | ||
urllib3==2.0.6 | ||
pytest==7.4.0 | ||
pytest==7.4.0 | ||
azure-storage-blob |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[ | ||
{ | ||
"data_paths": [ | ||
{ | ||
"path": "data/source1", | ||
"url_prefix": "https://<URL for source 1>.com/" | ||
}, | ||
{ | ||
"path": "data/source2", | ||
"url_prefix": "https://<URL for source 2>.com/" | ||
} | ||
], | ||
"subscription_id": "<subscription id>", | ||
"resource_group": "<resource group name>", | ||
"search_service_name": "<search service name to use or create>", | ||
"index_name": "<index name to use or create>", | ||
"chunk_size": 1024, | ||
"token_overlap": 128, | ||
"semantic_config_name": "default", | ||
"language": "<Language to support for example use 'en' for English. Checked supported languages here under lucene - https://learn.microsoft.com/en-us/azure/search/index-add-language-analyzers" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.