|
Agents 1.4.0
Edge AI Agents SDK
|
Options for LLM API calls. More...
#include <llm_interface.h>
Public Attributes | |
| double | temperature = 0.7 |
| The temperature of the LLM. | |
| int | max_tokens = 1024 |
| The maximum number of tokens. | |
| double | top_p = 1.0 |
| The top p of the LLM. | |
| double | presence_penalty = 0.0 |
| The presence penalty of the LLM. | |
| double | frequency_penalty = 0.0 |
| The frequency penalty of the LLM. | |
| int | timeout_ms = 30000 |
| The timeout in milliseconds. | |
| std::vector< std::string > | stop_sequences |
| The stop sequences of the LLM. | |
| std::optional< JsonObject > | response_schema |
| Response schema for structured output (JSON schema). | |
| std::optional< std::string > | response_mime_type |
| Response MIME type for structured output. | |
Options for LLM API calls.
| std::optional<std::string> agents::LLMOptions::response_mime_type |
Response MIME type for structured output.