-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Cloud ingestion strategy with prepdocs as custom skillset for Azure AI Search Blob Indexer #2819
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 26 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
9b199b8
Convert prepdocs to skills
pamelafox b971ca7
More Bicep to get funcs deployed with auth
pamelafox df0c17a
chore(functions): add missing prepdocslib dependencies to function re…
pamelafox e805ee3
build(functions): vendor dependencies into .python_packages for flex …
pamelafox 253cb7e
chore(functions): copy backend requirements as requirements.backend.t…
pamelafox d66a620
chore(functions): overwrite function requirements with backend pins (…
pamelafox 0d7e8a9
chore(functions): remove requirements backup; always overwrite with b…
pamelafox 12d71d5
Get function apps deployed
pamelafox 9ac595f
Updates to function auth
pamelafox d8dd729
latest changes to get auth working
pamelafox e906fb5
Fix tests
pamelafox f7638d4
always upload local files
mattgotteiner ba1a997
update to storageMetadata extraction
mattgotteiner 57b53fd
Merge pull request #7 from mattgotteiner/matt/update-prepskills
pamelafox 628609a
Got it working
pamelafox 7bec324
Working more on the docs
pamelafox 6dee74a
Merge in latest
pamelafox 267ff51
Update
pamelafox 8df151f
Push latest for review
pamelafox be98004
Consolidate docs
pamelafox b733d20
Clean up vectorization docs and refs
pamelafox 1db5f14
More code cleanup
pamelafox 6d4e490
Address Copilot feedback on tests
pamelafox 9fcaa55
More code cleanups
pamelafox 46bbaf7
Cleanup function test
pamelafox 2d7b453
100% diff coverage
pamelafox c5116c8
Update app/functions/document_extractor/function_app.py
pamelafox cfa762c
Update app/backend/prepdocslib/page.py
pamelafox 7c25851
Update app/functions/document_extractor/function_app.py
pamelafox e9f13f5
Address feedback and tweak docs
pamelafox db9dc7e
Merge branch 'prepskills' of https://github.com/pamelafox/azure-searc…
pamelafox b96f9c1
Apply suggestions from code review
pamelafox 0211250
Adding diagram
pamelafox File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,27 @@ | ||
| --- | ||
| agent: agent | ||
| --- | ||
|
|
||
| The goal is for the tests to cover all lines of code. | ||
|
|
||
| Generate a coverage report with: | ||
|
|
||
| pytest --cov --cov-report=annotate:cov_annotate | ||
|
|
||
| If you are checking for coverage of a specific module, you can specify it like this: | ||
|
|
||
| pytest --cov=your_module_name --cov-report=annotate:cov_annotate | ||
|
|
||
| You can also specify specific tests to run, for example: | ||
|
|
||
| pytest tests/test_your_module.py --cov=your_module_name --cov-report=annotate:cov_annotate | ||
|
|
||
| Open the cov_annotate directory to view the annotated source code. | ||
| There will be one file per source file. If a file has 100% source coverage, it means all lines are covered by tests, so you do not need to open the file. | ||
|
|
||
| For each file that has less than 100% test coverage, find the matching file in cov_annotate and review the file. | ||
|
|
||
| If a line starts with a ! (exclamation mark), it means that the line is not covered by tests. | ||
| Add tests to cover the missing lines. | ||
|
|
||
| Keep running the tests and improving coverage until all lines are covered. | ||
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -148,6 +148,8 @@ npm-debug.log* | |
| node_modules | ||
| static/ | ||
|
|
||
| app/functions/*/prepdocslib/ | ||
|
|
||
| data/**/*.md5 | ||
|
|
||
| .DS_Store | ||
This file contains hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.