-
Notifications
You must be signed in to change notification settings - Fork 74
(EAI-991 & EAI-1050): Evaluate and clean up retrieval as a tool #757
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
2e286c3
refactor GenerateRespose
0be9fe2
Clean up imports
2556bc2
consolidate generate user prompt to the legacy file
feee66a
update test config imports
f6fe862
Fix broken tests
0fc58bd
get started
ea40c6d
nominally working generate res w/ search
c3e69e3
small refactors
0345453
aint pretty but fully functional
a4144db
hacky if more functional
04076d2
more hack
8372bd3
tools
24d1cf7
functional if not pretty
40fa9d1
Add processing
31bd0a8
working tool calling
653aa59
making progress
9d68d50
keepin on
57e65a2
Clean config
aefa9ca
working e2e
c33f64e
update model version
c446756
Merge remote-tracking branch 'upstream/retrieval_tool_call' into EAI-990
728416f
Remove no longer used stuff
479ccb8
decouple search results for references and whats shown to model
cc8dd45
fix scripts build errs
e768dd6
fix broken tests
2bce005
update default ref links
b8f3754
fix broken tests
d19fdb1
input guardrail refactor
09071bc
guardrail works well
3fa56f7
simpler validity metric
4b2f6c0
add guardrail to server
8c1144e
add next step todo
3a1c8e8
llm refusal msg
c20e38d
remove TODO comment
5c53db3
evals on new architecture
3e7b629
Get urls in a way that supports verified answers
fd2f11d
dont eval on retrieved elems if no context
3ac6905
Cleaner handling
fb5aedb
update trace handling
2c692b8
update trace handling
7ea0c5b
Merge remote-tracking branch 'upstream/retrieval_tool_call' into EAI-991
2a47887
undo git funk
320e46f
Merge remote-tracking branch 'upstream/EAI-1050' into EAI-991
3787913
Merge branch 'retrieval_tool_call' into EAI-991
30dd0fe
handle undefined case
c482592
Fix tracing test
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oof were we just leaving these open before?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we were closing
mongodb
, but not the stores. i guess they had different db connections, so stuff was hanging.