-
Notifications
You must be signed in to change notification settings - Fork 74
(EAI-995): add guardrail #755
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 36 commits
Commits
Show all changes
39 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
4cb44c2
Merge remote-tracking branch 'upstream/retrieval_tool_call' into EAI-995
491d237
merge fix
9d2b11b
fix unnec changes
49da760
Merge branch 'retrieval_tool_call' into EAI-995
ac7b733
NL feedback
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
105 changes: 0 additions & 105 deletions
105
...s/chatbot-server-mongodb-public/src/processors/makeFewShotUserMessageExtractorFunction.ts
This file was deleted.
Oops, something went wrong.
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.