generated from langchain-ai/integration-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Add query caching to QAChain #15
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 all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
20dc942
successfully implement exact/vector search
anyxling 8a9309d
add unit tests
anyxling 5cf9f76
improve error handling
anyxling aa0008b
add integration tests for query caching
anyxling 5a34484
remove set_trace()
anyxling 1c93b9a
fix AI message error
anyxling 8e9a7c1
fix integration tests to pass lint tests
anyxling 749b62b
fix aql_gen_count error in unit tests and pass lint tests
anyxling 69c3e5a
fix lint errors
anyxling 8ef18a0
add langchain-openai
anyxling 572b103
update poetry.lock
anyxling 8546a75
upgrade ruff
anyxling 8f620c6
add documentation
anyxling 9406956
remove cast and reformat
anyxling 8e00777
change to Embeddings and remove unnecessary args
anyxling c9c0fce
remove langchain-openai and update ruff version
anyxling b7c0a81
simplify integration tests
anyxling 738e307
add score to the output
anyxling bf0c2fd
change to insert_many() and invoke()
anyxling d2be9b3
change to invoke() and revert result changes
anyxling 2821eaa
refactor _call
anyxling 7657e16
add cache_query()
anyxling 7fa4a7b
Merge branch 'main' into monika-querycache
anyxling 58c1674
customize clear_query_cache
anyxling 7b9689c
handle edge cases for cache_query
anyxling 70616d7
normalize user input text, query
anyxling 0fa52e9
handle vector search in mock_execute
anyxling 30bcb95
fix lint and format err
anyxling f699dbb
move: AQL query print
aMahanna 3d94f09
misc: introduce `assert`, `self.graph._hash`, minor cleanup
aMahanna 2ccc061
replace with hashed key and remove _format_aql
anyxling b728fc5
update integration test
anyxling d926aaa
move back aql_execution_func & params
anyxling 45c2531
add tests for new funcs
anyxling 7fb3895
rename __get_cached_query and fix lint err
anyxling b5f0701
remove redundant test
anyxling 098b5bf
minor cleanup
aMahanna a04c336
cleanup PT2
aMahanna efb2b16
fix: `db`
aMahanna 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
Binary file not shown.
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.
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.