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.
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
[ContextAugmentedFunctionAgent] multi tool function call with retrieval #148
[ContextAugmentedFunctionAgent] multi tool function call with retrieval #148
Changes from 12 commits
7e700d4
62cab2c
9a63a99
039f53b
bc07951
4b14f85
a3ca306
1f4674f
775c363
f028c84
b3b1a99
67066da
51c0137
3320e7b
76604f8
e28cf0b
a6d331a
a78fa66
c25e6aa
ff980ba
cc37313
f6ba05b
e37f2bf
6b95d87
254df32
1b059d6
add83cd
b915176
d4a034d
30d8081
d97ee9d
2c39536
4534b1d
ce74d54
f8b0450
a59f84e
c104795
c85c7c4
6740056
ccea25b
4551c7c
f17e225
b24e685
a860def
e3dd45f
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
FunctionalAgentWithRetrievalScoreTool和FunctionalAgentWithRetrievalTool 完全分不出来了
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.
FunctionAgentWithRetrievalTool是模拟一次function call的调用
FunctionAgentWithRetrievalScoreTool是通过prompt的方式来引导function call调用检索
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.
这是个啥..
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.
这个是把retrieval 当成tool的类,planning部分用的是functional agent默认的,可能后面会加入一些后处理
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.
这个类和OpenAI有啥关系呀?
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.
这里面的db用的是langchain 的faiss,faiss的search接口和返回的参数跟欧若拉不一样,所以重新写了一个tool