-
Notifications
You must be signed in to change notification settings - Fork 212
Approximate threshold search parameter #1232
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 22 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
4f5d19c
Implement approximate threshold for hybrid
farshidz 706011e
Merge branch 'mainline' into farshid/approximate-threshold
farshidz 2044b22
Support approximate threshold for standard tensor search
farshidz 73f5dd3
Add unit tests
farshidz 8f9aa4f
Merge remote-tracking branch 'origin/mainline' into farshid/approxima…
farshidz 20fc8ff
Make imports consistent
farshidz 6dee572
Merge remote-tracking branch 'origin/mainline' into farshid/approxima…
farshidz 3871655
Fix more imports
farshidz 1912472
Fix unit tests
farshidz 600e844
Fix support for tensor search
farshidz 9b7697c
Add integ tests
farshidz 7201aa6
Add Cursor rules to run tests
farshidz e945f80
Add API tests
farshidz 113157f
Remove LLM unit tests to rewrite
farshidz 00f31bc
Add tests for Marqo Query
farshidz 86bd7c1
Add unit tests for HybridSearch
farshidz 02a40bf
Add more unit tests
farshidz e96ca5b
Merge branch 'mainline' into farshid/approximate-threshold
farshidz 93d54c3
Add API validation integ tests
farshidz 679db9a
Remove unncessary type validation
farshidz ed7e79f
Update coverage check, 80% unit diff and 95% overall diff
farshidz 66310fa
Merge branch 'mainline' into farshid/approximate-threshold
farshidz 1282e89
Update cursor rules
farshidz 3cb1fdc
Support approximate threshold for unstructured
farshidz ba40af8
Integ test approximate threshold for legacy unstructured
farshidz defed98
Add API test verify approximate threshold works
farshidz 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,12 @@ | ||
--- | ||
description: | ||
globs: | ||
alwaysApply: true | ||
--- | ||
- Unit tests are in ./tests/unit_tests, integ tests are in ./tests/integ_tests, API tests are in ./tests/api_tests/v1/tests/api_tests | ||
- If you add new tests, make sure to run them and verify they pass. | ||
- To run unit and integ tests, make sure working directory is repo root and set PYTHONPATH=./src. | ||
- If running integ or API tests, make sure Vespa is running via docker ps. If not running, use | ||
python scripts/vespa_local/vespa_local.py full_start to run Vespa first. | ||
- To run API tests, first run Marqo API in one process by running src/marqo/tensor_search/api.py using PYTHONPATH=./src MARQO_ENABLE_BATCH_APIS=true MARQO_MODE=COMBINED MARQO_MODELS_TO_PRELOAD="[]". While the API is running, run API tests via pytest using PYTHONPATH=./tests/api_tests/v1/tests/api_tests . If Marqo API fails to run, stop. Terminate Marqo API when done. | ||
- Unit tests must follow the same package hierarchy as the code they test. |
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
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.