-
-
Notifications
You must be signed in to change notification settings - Fork 582
Add agent function visibility and init web search #1128
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
Add agent function visibility and init web search #1128
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||||
…atures/add-agent-function-visibility
…atures/add-agent-function-visibility
| @@ -0,0 +1,58 @@ | |||
| using BotSharp.Abstraction.VectorStorage.Enums; | |||
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 can utilize implict operator to simplier the syntax.
Define the implict opertor:
public static implicit operator byte(Digit d) => d.digit;
public static explicit operator VectorPayloadValue(byte b) => new VectorPayloadValue(b);Can be used like:
var d = new VectorPayloadValue(7);
byte number = d;
PR Type
Enhancement
Description
Add agent function visibility mode with auto/manual filtering
Refactor vector storage to use typed payload values
Enhance vector filtering with complex query operators
Update all LLM providers to use new instruction/function preparation
Diagram Walkthrough
File Walkthrough
19 files
Add FuncVisMode field to agent enumDefine function visibility mode constantsAdd function filtering and instruction preparation methodsAdd FuncVisMode property and setter methodDefine vector payload data type enumerationCreate typed vector payload value modelEnhance vector filtering with complex operatorsCreate vector collection creation options modelUpdate interface to use typed payloadsImplement function filtering and instruction preparationUse new instruction and function preparationUse new instruction and function preparationUse new instruction and function preparationUse new instruction and function preparationUse new instruction and function preparationImplement typed payloads and enhanced filteringUpdate to use typed vector payload valuesAdd FuncVisMode field update supportAdd FuncVisMode field update support38 files