generated from langchain-ai/integration-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Add chat history to QAChain #18
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
46 commits
Select commit
Hold shift + click to select a range
59b6cfd
successfully implement exact/vector search
anyxling 851b7bc
add unit tests
anyxling 832f852
improve error handling
anyxling 0a6c5ba
add integration tests for query caching
anyxling 2942063
remove set_trace()
anyxling 5178c0b
fix AI message error
anyxling 128ba8f
fix integration tests to pass lint tests
anyxling d77e5c4
fix aql_gen_count error in unit tests and pass lint tests
anyxling e0bb02d
fix lint errors
anyxling 1d4d8e8
add langchain-openai
anyxling f63f19a
update poetry.lock
anyxling 175f233
add documentation
anyxling e8d30ea
remove cast and reformat
anyxling 575de90
change to Embeddings and remove unnecessary args
anyxling e8e0380
remove langchain-openai and update ruff version
anyxling 80109ab
simplify integration tests
anyxling 38be0c0
add score to the output
anyxling 7906a1c
change to insert_many() and invoke()
anyxling 78cca90
change to invoke() and revert result changes
anyxling 3860945
refactor _call
anyxling a163ebd
customize clear_query_cache
anyxling 4490482
handle edge cases for cache_query
anyxling 630251f
normalize user input text, query
anyxling 677ff38
move: AQL query print
aMahanna 087a1fd
misc: introduce `assert`, `self.graph._hash`, minor cleanup
aMahanna 2eeb919
replace with hashed key and remove _format_aql
anyxling b6e7e26
add chat history
anyxling 1f2d16a
emphasize chat history in prompt
anyxling f8601ab
change chat history format & add summary to the output
anyxling 9d46e76
handle edge cases & add documentation
anyxling 6b13a7d
fix inbound/outbound, sort, pronounce issues
anyxling d0a1a94
add integration test for chat history
anyxling 1eab05a
move back aql_execution_func & params
anyxling 83eb040
rename __get_cached_query and fix lint err
anyxling be709f7
add unit test for chat history
anyxling 7fa7f4a
format & lint
anyxling f17db2e
sync with pre-rebase state
anyxling a52ba42
new: parameter override at runtime
aMahanna c287077
instantiate w/ ternary operator
anyxling f21f517
remove chat history from aql2text
anyxling b0030f3
simplify printing of summary
anyxling d7841eb
remove sort in prompt
anyxling c89df89
Merge branch 'monika-querycache-chat-history' of https://github.com/a…
anyxling a5778ea
disable history in prompt
anyxling f7ac176
add aql query to llm input
anyxling cb934e0
remove type ignore
anyxling 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
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
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.