-
Notifications
You must be signed in to change notification settings - Fork 969
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
Callable model #310
Comments
This is a cool idea. For your use case, is the model different each time the Agent is called? Wondering if this would work:
|
I'm not sure calling the functions during the creation of the agent works, unless the agents are re-created every time on demand. I was hoping that it will get the model on every Does that make sense? |
Yup, totally. I'll look into it. |
Is the project open for contributions? |
Yup absolutely |
I opened this PR #312 |
@rm-openai should I maintain the PR up to date, or handle it only when someone gets time to review it? |
Describe the feature
Currently you support instructions as a Callable, which is great to manage at experiment on instructions.
That being said, instructions are usually model dependent. It would be great if the model could accept a callable input as well.
Example:
Another alternative would be to just provided it with a get_config Callable that will return name, instructions, model, etc.
The text was updated successfully, but these errors were encountered: