We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey,
I've been looking at the documentation and I can't find an easy approach to create a custom model, like one based on an API.
I came across FunctionModel, but according to the docs, it seems to be more of a testing pipeline rather than a generic interface.
FunctionModel
Could you please provide guidance on how to create such a custom model?
The text was updated successfully, but these errors were encountered:
You just need to implement the Model abstract base class.
Model
To do that, you'll likely also need to implement the other abstract types in that class AgentModel, StreamTextResponse and StreamStructuredResponse.
AgentModel
StreamTextResponse
StreamStructuredResponse
For examples you can look at:
We should document how to create a custom model.
Sorry, something went wrong.
No branches or pull requests
Hey,
I've been looking at the documentation and I can't find an easy approach to create a custom model, like one based on an API.
I came across
FunctionModel
, but according to the docs, it seems to be more of a testing pipeline rather than a generic interface.Could you please provide guidance on how to create such a custom model?
The text was updated successfully, but these errors were encountered: