GroqModelDto
@Serializable
Constructors
Link copied to clipboard
constructor(model: String = "", modelType: GroqModelType = GroqModelType.UNSPECIFIED, customModel: String = "", temperature: Double = -1.0, maxTokens: Int = -1, emotionRecognitionEnabled: Boolean? = null, numFastTurns: Int = -1, knowledgeBaseDto: KnowledgeBaseDto? = null, messages: MutableList<RoleMessageDto> = mutableListOf(), tools: MutableList<ToolDto> = mutableListOf(), toolIds: MutableSet<String> = mutableSetOf(), functions: MutableList<FunctionDto> = mutableListOf())
Properties
Link copied to clipboard
This enables specifying a model that doesn't already exist as an GroqModelType enum.
Link copied to clipboard
This determines whether we detect user's emotion while they speak and send it as an additional info to model. Default false
because the model is usually good at understanding the user's emotion from text.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
This is the name of the model.
Link copied to clipboard
This sets how many turns at the start of the conversation to use a smaller, faster model from the same provider before switching to the primary model. Example, gpt-3.5-turbo if provider is openai. Default is 0.
Link copied to clipboard
This is the temperature that will be used for calls.
Link copied to clipboard
These are the tools that the assistant can use during the call. To use transient tools, use tools
. Both tools
and toolIds
can be used together.
Link copied to clipboard