Where I can put model hyperparameters using Mastra Client SDK, Mastra, Open AI compatible API?
This is hard to find documentation about the model tunning using Mastra.
Thank you!
2 Replies
📝 Created GitHub issue: https://github.com/mastra-ai/mastra/issues/9601
GitHub
[DISCORD:1433851457961988096] Where I can put model hyperparameters...
This issue was created from Discord post: https://discord.com/channels/1309558646228779139/1433851457961988096 This is hard to find documentation about the model tunning using Mastra. Thank you!
Hi @Henadz !
The
modelSettings attribute on generate/ stream can handle that for ya!
https://mastra.ai/reference/agents/generate
you can pass temperature, etc there.Reference: Agent.generate() | Agents | Mastra Docs
Documentation for the
Agent.generate() method in Mastra agents, which enables non-streaming generation of responses with enhanced capabilities.