View Source OpenAi.Run.CreateRequest (OpenAI REST API Client v0.4.4)
Provides struct and type for a Run.CreateRequest
Summary
Types
@type t() :: %OpenAi.Run.CreateRequest{ additional_instructions: String.t() | nil, additional_messages: [OpenAi.Message.CreateRequest.t()] | nil, assistant_id: String.t(), instructions: String.t() | nil, max_completion_tokens: integer() | nil, max_prompt_tokens: integer() | nil, metadata: map() | nil, model: String.t() | nil, parallel_tool_calls: boolean() | nil, response_format: OpenAi.Assistant.ApiResponseFormat.t() | String.t() | nil, stream: boolean() | nil, temperature: number() | nil, tool_choice: OpenAi.Assistant.NamedToolChoice.t() | String.t() | nil, tools: [ OpenAi.Assistant.Tool.Code.t() | OpenAi.Assistant.Tool.File.Search.t() | OpenAi.Assistant.Tool.Function.t() ] | nil, top_p: number() | nil, truncation_strategy: OpenAi.Truncation.t() | nil }