Documentation
¶
Index ¶
- func ValueOf[T Constant[T]]() T
- type Agent
- type AgentTurnInput
- type Array
- type Assistant
- type Auto
- type Basic
- type Benchmark
- type Boolean
- type ChatCompletion
- type ChatCompletionChunk
- type ChatCompletionInput
- type CompletionInput
- type Constant
- type ContainerFileCitation
- type Dataset
- type Default
- type Developer
- type Embedding
- type File
- type FileCitation
- type FilePath
- type FileSearch
- type FileSearchCall
- type Function
- type FunctionCall
- type FunctionCallOutput
- type Grammar
- type Greedy
- type Image
- type ImageURL
- type Inference
- type InputImage
- type InputText
- type Json
- type JsonObject
- type JsonSchema
- type List
- type Llm
- type LlmAsJudge
- type LoRa
- type Mcp
- type McpCall
- type McpListTools
- type MemoryRetrieval
- type Message
- type Metric
- type Model
- type Number
- type Object
- type OutputText
- type Qat
- type Refusal
- type RegexParser
- type Response
- type ResponseCompleted
- type ResponseContentPartAdded
- type ResponseContentPartDone
- type ResponseCreated
- type ResponseFunctionCallArgumentsDelta
- type ResponseFunctionCallArgumentsDone
- type ResponseMcpCallArgumentsDelta
- type ResponseMcpCallArgumentsDone
- type ResponseMcpCallCompleted
- type ResponseMcpCallFailed
- type ResponseMcpCallInProgress
- type ResponseMcpListToolsCompleted
- type ResponseMcpListToolsFailed
- type ResponseMcpListToolsInProgress
- type ResponseOutputItemAdded
- type ResponseOutputItemDone
- type ResponseOutputTextDelta
- type ResponseOutputTextDone
- type ResponseWebSearchCallCompleted
- type ResponseWebSearchCallInProgress
- type ResponseWebSearchCallSearching
- type Rows
- type Rrf
- type ScoringFunction
- type Shield
- type ShieldCall
- type SpanEnd
- type SpanStart
- type Static
- type StepComplete
- type StepProgress
- type StepStart
- type String
- type StructuredLog
- type System
- type Text
- type TextCompletion
- type Tool
- type ToolCall
- type ToolExecution
- type ToolGroup
- type TopK
- type TopP
- type TurnAwaitingInput
- type TurnComplete
- type TurnStart
- type URLCitation
- type Union
- type UnstructuredLog
- type Uri
- type User
- type VectorDB
- type WebSearchCall
- type Weighted
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AgentTurnInput ¶
type AgentTurnInput string // Always "agent_turn_input"
func (AgentTurnInput) Default ¶
func (c AgentTurnInput) Default() AgentTurnInput
func (AgentTurnInput) MarshalJSON ¶
func (c AgentTurnInput) MarshalJSON() ([]byte, error)
type ChatCompletion ¶
type ChatCompletion string // Always "chat.completion"
func (ChatCompletion) Default ¶
func (c ChatCompletion) Default() ChatCompletion
func (ChatCompletion) MarshalJSON ¶
func (c ChatCompletion) MarshalJSON() ([]byte, error)
type ChatCompletionChunk ¶
type ChatCompletionChunk string // Always "chat.completion.chunk"
func (ChatCompletionChunk) Default ¶
func (c ChatCompletionChunk) Default() ChatCompletionChunk
func (ChatCompletionChunk) MarshalJSON ¶
func (c ChatCompletionChunk) MarshalJSON() ([]byte, error)
type ChatCompletionInput ¶
type ChatCompletionInput string // Always "chat_completion_input"
func (ChatCompletionInput) Default ¶
func (c ChatCompletionInput) Default() ChatCompletionInput
func (ChatCompletionInput) MarshalJSON ¶
func (c ChatCompletionInput) MarshalJSON() ([]byte, error)
type CompletionInput ¶
type CompletionInput string // Always "completion_input"
func (CompletionInput) Default ¶
func (c CompletionInput) Default() CompletionInput
func (CompletionInput) MarshalJSON ¶
func (c CompletionInput) MarshalJSON() ([]byte, error)
type ContainerFileCitation ¶
type ContainerFileCitation string // Always "container_file_citation"
func (ContainerFileCitation) Default ¶
func (c ContainerFileCitation) Default() ContainerFileCitation
func (ContainerFileCitation) MarshalJSON ¶
func (c ContainerFileCitation) MarshalJSON() ([]byte, error)
type FileCitation ¶
type FileCitation string // Always "file_citation"
func (FileCitation) Default ¶
func (c FileCitation) Default() FileCitation
func (FileCitation) MarshalJSON ¶
func (c FileCitation) MarshalJSON() ([]byte, error)
type FileSearch ¶
type FileSearch string // Always "file_search"
func (FileSearch) Default ¶
func (c FileSearch) Default() FileSearch
func (FileSearch) MarshalJSON ¶
func (c FileSearch) MarshalJSON() ([]byte, error)
type FileSearchCall ¶
type FileSearchCall string // Always "file_search_call"
func (FileSearchCall) Default ¶
func (c FileSearchCall) Default() FileSearchCall
func (FileSearchCall) MarshalJSON ¶
func (c FileSearchCall) MarshalJSON() ([]byte, error)
type FunctionCall ¶
type FunctionCall string // Always "function_call"
func (FunctionCall) Default ¶
func (c FunctionCall) Default() FunctionCall
func (FunctionCall) MarshalJSON ¶
func (c FunctionCall) MarshalJSON() ([]byte, error)
type FunctionCallOutput ¶
type FunctionCallOutput string // Always "function_call_output"
func (FunctionCallOutput) Default ¶
func (c FunctionCallOutput) Default() FunctionCallOutput
func (FunctionCallOutput) MarshalJSON ¶
func (c FunctionCallOutput) MarshalJSON() ([]byte, error)
type InputImage ¶
type InputImage string // Always "input_image"
func (InputImage) Default ¶
func (c InputImage) Default() InputImage
func (InputImage) MarshalJSON ¶
func (c InputImage) MarshalJSON() ([]byte, error)
type JsonObject ¶
type JsonObject string // Always "json_object"
func (JsonObject) Default ¶
func (c JsonObject) Default() JsonObject
func (JsonObject) MarshalJSON ¶
func (c JsonObject) MarshalJSON() ([]byte, error)
type JsonSchema ¶
type JsonSchema string // Always "json_schema"
func (JsonSchema) Default ¶
func (c JsonSchema) Default() JsonSchema
func (JsonSchema) MarshalJSON ¶
func (c JsonSchema) MarshalJSON() ([]byte, error)
type LlmAsJudge ¶
type LlmAsJudge string // Always "llm_as_judge"
func (LlmAsJudge) Default ¶
func (c LlmAsJudge) Default() LlmAsJudge
func (LlmAsJudge) MarshalJSON ¶
func (c LlmAsJudge) MarshalJSON() ([]byte, error)
type McpListTools ¶
type McpListTools string // Always "mcp_list_tools"
func (McpListTools) Default ¶
func (c McpListTools) Default() McpListTools
func (McpListTools) MarshalJSON ¶
func (c McpListTools) MarshalJSON() ([]byte, error)
type MemoryRetrieval ¶
type MemoryRetrieval string // Always "memory_retrieval"
func (MemoryRetrieval) Default ¶
func (c MemoryRetrieval) Default() MemoryRetrieval
func (MemoryRetrieval) MarshalJSON ¶
func (c MemoryRetrieval) MarshalJSON() ([]byte, error)
type OutputText ¶
type OutputText string // Always "output_text"
func (OutputText) Default ¶
func (c OutputText) Default() OutputText
func (OutputText) MarshalJSON ¶
func (c OutputText) MarshalJSON() ([]byte, error)
type RegexParser ¶
type RegexParser string // Always "regex_parser"
func (RegexParser) Default ¶
func (c RegexParser) Default() RegexParser
func (RegexParser) MarshalJSON ¶
func (c RegexParser) MarshalJSON() ([]byte, error)
type ResponseCompleted ¶
type ResponseCompleted string // Always "response.completed"
func (ResponseCompleted) Default ¶
func (c ResponseCompleted) Default() ResponseCompleted
func (ResponseCompleted) MarshalJSON ¶
func (c ResponseCompleted) MarshalJSON() ([]byte, error)
type ResponseContentPartAdded ¶
type ResponseContentPartAdded string // Always "response.content_part.added"
func (ResponseContentPartAdded) Default ¶
func (c ResponseContentPartAdded) Default() ResponseContentPartAdded
func (ResponseContentPartAdded) MarshalJSON ¶
func (c ResponseContentPartAdded) MarshalJSON() ([]byte, error)
type ResponseContentPartDone ¶
type ResponseContentPartDone string // Always "response.content_part.done"
func (ResponseContentPartDone) Default ¶
func (c ResponseContentPartDone) Default() ResponseContentPartDone
func (ResponseContentPartDone) MarshalJSON ¶
func (c ResponseContentPartDone) MarshalJSON() ([]byte, error)
type ResponseCreated ¶
type ResponseCreated string // Always "response.created"
func (ResponseCreated) Default ¶
func (c ResponseCreated) Default() ResponseCreated
func (ResponseCreated) MarshalJSON ¶
func (c ResponseCreated) MarshalJSON() ([]byte, error)
type ResponseFunctionCallArgumentsDelta ¶
type ResponseFunctionCallArgumentsDelta string // Always "response.function_call_arguments.delta"
func (ResponseFunctionCallArgumentsDelta) Default ¶
func (c ResponseFunctionCallArgumentsDelta) Default() ResponseFunctionCallArgumentsDelta
func (ResponseFunctionCallArgumentsDelta) MarshalJSON ¶
func (c ResponseFunctionCallArgumentsDelta) MarshalJSON() ([]byte, error)
type ResponseFunctionCallArgumentsDone ¶
type ResponseFunctionCallArgumentsDone string // Always "response.function_call_arguments.done"
func (ResponseFunctionCallArgumentsDone) Default ¶
func (c ResponseFunctionCallArgumentsDone) Default() ResponseFunctionCallArgumentsDone
func (ResponseFunctionCallArgumentsDone) MarshalJSON ¶
func (c ResponseFunctionCallArgumentsDone) MarshalJSON() ([]byte, error)
type ResponseMcpCallArgumentsDelta ¶
type ResponseMcpCallArgumentsDelta string // Always "response.mcp_call.arguments.delta"
func (ResponseMcpCallArgumentsDelta) Default ¶
func (c ResponseMcpCallArgumentsDelta) Default() ResponseMcpCallArgumentsDelta
func (ResponseMcpCallArgumentsDelta) MarshalJSON ¶
func (c ResponseMcpCallArgumentsDelta) MarshalJSON() ([]byte, error)
type ResponseMcpCallArgumentsDone ¶
type ResponseMcpCallArgumentsDone string // Always "response.mcp_call.arguments.done"
func (ResponseMcpCallArgumentsDone) Default ¶
func (c ResponseMcpCallArgumentsDone) Default() ResponseMcpCallArgumentsDone
func (ResponseMcpCallArgumentsDone) MarshalJSON ¶
func (c ResponseMcpCallArgumentsDone) MarshalJSON() ([]byte, error)
type ResponseMcpCallCompleted ¶
type ResponseMcpCallCompleted string // Always "response.mcp_call.completed"
func (ResponseMcpCallCompleted) Default ¶
func (c ResponseMcpCallCompleted) Default() ResponseMcpCallCompleted
func (ResponseMcpCallCompleted) MarshalJSON ¶
func (c ResponseMcpCallCompleted) MarshalJSON() ([]byte, error)
type ResponseMcpCallFailed ¶
type ResponseMcpCallFailed string // Always "response.mcp_call.failed"
func (ResponseMcpCallFailed) Default ¶
func (c ResponseMcpCallFailed) Default() ResponseMcpCallFailed
func (ResponseMcpCallFailed) MarshalJSON ¶
func (c ResponseMcpCallFailed) MarshalJSON() ([]byte, error)
type ResponseMcpCallInProgress ¶
type ResponseMcpCallInProgress string // Always "response.mcp_call.in_progress"
func (ResponseMcpCallInProgress) Default ¶
func (c ResponseMcpCallInProgress) Default() ResponseMcpCallInProgress
func (ResponseMcpCallInProgress) MarshalJSON ¶
func (c ResponseMcpCallInProgress) MarshalJSON() ([]byte, error)
type ResponseMcpListToolsCompleted ¶
type ResponseMcpListToolsCompleted string // Always "response.mcp_list_tools.completed"
func (ResponseMcpListToolsCompleted) Default ¶
func (c ResponseMcpListToolsCompleted) Default() ResponseMcpListToolsCompleted
func (ResponseMcpListToolsCompleted) MarshalJSON ¶
func (c ResponseMcpListToolsCompleted) MarshalJSON() ([]byte, error)
type ResponseMcpListToolsFailed ¶
type ResponseMcpListToolsFailed string // Always "response.mcp_list_tools.failed"
func (ResponseMcpListToolsFailed) Default ¶
func (c ResponseMcpListToolsFailed) Default() ResponseMcpListToolsFailed
func (ResponseMcpListToolsFailed) MarshalJSON ¶
func (c ResponseMcpListToolsFailed) MarshalJSON() ([]byte, error)
type ResponseMcpListToolsInProgress ¶
type ResponseMcpListToolsInProgress string // Always "response.mcp_list_tools.in_progress"
func (ResponseMcpListToolsInProgress) Default ¶
func (c ResponseMcpListToolsInProgress) Default() ResponseMcpListToolsInProgress
func (ResponseMcpListToolsInProgress) MarshalJSON ¶
func (c ResponseMcpListToolsInProgress) MarshalJSON() ([]byte, error)
type ResponseOutputItemAdded ¶
type ResponseOutputItemAdded string // Always "response.output_item.added"
func (ResponseOutputItemAdded) Default ¶
func (c ResponseOutputItemAdded) Default() ResponseOutputItemAdded
func (ResponseOutputItemAdded) MarshalJSON ¶
func (c ResponseOutputItemAdded) MarshalJSON() ([]byte, error)
type ResponseOutputItemDone ¶
type ResponseOutputItemDone string // Always "response.output_item.done"
func (ResponseOutputItemDone) Default ¶
func (c ResponseOutputItemDone) Default() ResponseOutputItemDone
func (ResponseOutputItemDone) MarshalJSON ¶
func (c ResponseOutputItemDone) MarshalJSON() ([]byte, error)
type ResponseOutputTextDelta ¶
type ResponseOutputTextDelta string // Always "response.output_text.delta"
func (ResponseOutputTextDelta) Default ¶
func (c ResponseOutputTextDelta) Default() ResponseOutputTextDelta
func (ResponseOutputTextDelta) MarshalJSON ¶
func (c ResponseOutputTextDelta) MarshalJSON() ([]byte, error)
type ResponseOutputTextDone ¶
type ResponseOutputTextDone string // Always "response.output_text.done"
func (ResponseOutputTextDone) Default ¶
func (c ResponseOutputTextDone) Default() ResponseOutputTextDone
func (ResponseOutputTextDone) MarshalJSON ¶
func (c ResponseOutputTextDone) MarshalJSON() ([]byte, error)
type ResponseWebSearchCallCompleted ¶
type ResponseWebSearchCallCompleted string // Always "response.web_search_call.completed"
func (ResponseWebSearchCallCompleted) Default ¶
func (c ResponseWebSearchCallCompleted) Default() ResponseWebSearchCallCompleted
func (ResponseWebSearchCallCompleted) MarshalJSON ¶
func (c ResponseWebSearchCallCompleted) MarshalJSON() ([]byte, error)
type ResponseWebSearchCallInProgress ¶
type ResponseWebSearchCallInProgress string // Always "response.web_search_call.in_progress"
func (ResponseWebSearchCallInProgress) Default ¶
func (c ResponseWebSearchCallInProgress) Default() ResponseWebSearchCallInProgress
func (ResponseWebSearchCallInProgress) MarshalJSON ¶
func (c ResponseWebSearchCallInProgress) MarshalJSON() ([]byte, error)
type ResponseWebSearchCallSearching ¶
type ResponseWebSearchCallSearching string // Always "response.web_search_call.searching"
func (ResponseWebSearchCallSearching) Default ¶
func (c ResponseWebSearchCallSearching) Default() ResponseWebSearchCallSearching
func (ResponseWebSearchCallSearching) MarshalJSON ¶
func (c ResponseWebSearchCallSearching) MarshalJSON() ([]byte, error)
type ScoringFunction ¶
type ScoringFunction string // Always "scoring_function"
func (ScoringFunction) Default ¶
func (c ScoringFunction) Default() ScoringFunction
func (ScoringFunction) MarshalJSON ¶
func (c ScoringFunction) MarshalJSON() ([]byte, error)
type ShieldCall ¶
type ShieldCall string // Always "shield_call"
func (ShieldCall) Default ¶
func (c ShieldCall) Default() ShieldCall
func (ShieldCall) MarshalJSON ¶
func (c ShieldCall) MarshalJSON() ([]byte, error)
type StepComplete ¶
type StepComplete string // Always "step_complete"
func (StepComplete) Default ¶
func (c StepComplete) Default() StepComplete
func (StepComplete) MarshalJSON ¶
func (c StepComplete) MarshalJSON() ([]byte, error)
type StepProgress ¶
type StepProgress string // Always "step_progress"
func (StepProgress) Default ¶
func (c StepProgress) Default() StepProgress
func (StepProgress) MarshalJSON ¶
func (c StepProgress) MarshalJSON() ([]byte, error)
type StructuredLog ¶
type StructuredLog string // Always "structured_log"
func (StructuredLog) Default ¶
func (c StructuredLog) Default() StructuredLog
func (StructuredLog) MarshalJSON ¶
func (c StructuredLog) MarshalJSON() ([]byte, error)
type TextCompletion ¶
type TextCompletion string // Always "text_completion"
func (TextCompletion) Default ¶
func (c TextCompletion) Default() TextCompletion
func (TextCompletion) MarshalJSON ¶
func (c TextCompletion) MarshalJSON() ([]byte, error)
type ToolExecution ¶
type ToolExecution string // Always "tool_execution"
func (ToolExecution) Default ¶
func (c ToolExecution) Default() ToolExecution
func (ToolExecution) MarshalJSON ¶
func (c ToolExecution) MarshalJSON() ([]byte, error)
type TurnAwaitingInput ¶
type TurnAwaitingInput string // Always "turn_awaiting_input"
func (TurnAwaitingInput) Default ¶
func (c TurnAwaitingInput) Default() TurnAwaitingInput
func (TurnAwaitingInput) MarshalJSON ¶
func (c TurnAwaitingInput) MarshalJSON() ([]byte, error)
type TurnComplete ¶
type TurnComplete string // Always "turn_complete"
func (TurnComplete) Default ¶
func (c TurnComplete) Default() TurnComplete
func (TurnComplete) MarshalJSON ¶
func (c TurnComplete) MarshalJSON() ([]byte, error)
type URLCitation ¶
type URLCitation string // Always "url_citation"
func (URLCitation) Default ¶
func (c URLCitation) Default() URLCitation
func (URLCitation) MarshalJSON ¶
func (c URLCitation) MarshalJSON() ([]byte, error)
type UnstructuredLog ¶
type UnstructuredLog string // Always "unstructured_log"
func (UnstructuredLog) Default ¶
func (c UnstructuredLog) Default() UnstructuredLog
func (UnstructuredLog) MarshalJSON ¶
func (c UnstructuredLog) MarshalJSON() ([]byte, error)
type WebSearchCall ¶
type WebSearchCall string // Always "web_search_call"
func (WebSearchCall) Default ¶
func (c WebSearchCall) Default() WebSearchCall
func (WebSearchCall) MarshalJSON ¶
func (c WebSearchCall) MarshalJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.