Documentation
¶
Index ¶
- func ValueOf[T Constant[T]]() T
- type Approximate
- type Assistant
- type AssistantDeleted
- type Auto
- type Batch
- type BatchCancelled
- type BatchCompleted
- type BatchExpired
- type BatchFailed
- type ChatCompletion
- type ChatCompletionChunk
- type ChatCompletionDeleted
- type CheckpointPermission
- type Click
- type CodeInterpreter
- type CodeInterpreterCall
- type ComputerCallOutput
- type ComputerScreenshot
- type ComputerUsePreview
- type Constant
- type ContainerFile
- type ContainerFileCitation
- type Content
- type Developer
- type DoubleClick
- type Drag
- type Duration
- type Embedding
- type Error
- type EvalRunCanceled
- type EvalRunFailed
- type EvalRunSucceeded
- type Exec
- type File
- type FileCitation
- type FilePath
- type FileSearch
- type FileSearchCall
- type Find
- type FineTuningJob
- type FineTuningJobCancelled
- type FineTuningJobCheckpoint
- type FineTuningJobEvent
- type FineTuningJobFailed
- type FineTuningJobSucceeded
- type Function
- type FunctionCall
- type FunctionCallOutput
- type Image
- type ImageEditCompleted
- type ImageEditPartialImage
- type ImageFile
- type ImageGeneration
- type ImageGenerationCall
- type ImageGenerationCompleted
- type ImageGenerationPartialImage
- type ImageURL
- type InputAudio
- type InputFile
- type InputImage
- type InputText
- type JSONObject
- type JSONSchema
- type Keypress
- type LabelModel
- type LastActiveAt
- type List
- type LocalShell
- type LocalShellCall
- type LocalShellCallOutput
- type Logs
- type Mcp
- type McpApprovalRequest
- type McpApprovalResponse
- type McpCall
- type McpListTools
- type Message
- type MessageCreation
- type Model
- type Move
- type Multi
- type OpenPage
- type Other
- type OutputAudio
- type OutputText
- type Python
- type Reasoning
- type Refusal
- type Response
- type ResponseAudioDelta
- type ResponseAudioDone
- type ResponseAudioTranscriptDelta
- type ResponseAudioTranscriptDone
- type ResponseCancelled
- type ResponseCodeInterpreterCallCodeDelta
- type ResponseCodeInterpreterCallCodeDone
- type ResponseCodeInterpreterCallCompleted
- type ResponseCodeInterpreterCallInProgress
- type ResponseCodeInterpreterCallInterpreting
- type ResponseCompleted
- type ResponseContentPartAdded
- type ResponseContentPartDone
- type ResponseCreated
- type ResponseFailed
- type ResponseFileSearchCallCompleted
- type ResponseFileSearchCallInProgress
- type ResponseFileSearchCallSearching
- type ResponseFunctionCallArgumentsDelta
- type ResponseFunctionCallArgumentsDone
- type ResponseImageGenerationCallCompleted
- type ResponseImageGenerationCallGenerating
- type ResponseImageGenerationCallInProgress
- type ResponseImageGenerationCallPartialImage
- type ResponseInProgress
- type ResponseIncomplete
- type ResponseMcpCallArgumentsDelta
- type ResponseMcpCallArgumentsDone
- type ResponseMcpCallCompleted
- type ResponseMcpCallFailed
- type ResponseMcpCallInProgress
- type ResponseMcpListToolsCompleted
- type ResponseMcpListToolsFailed
- type ResponseMcpListToolsInProgress
- type ResponseOutputItemAdded
- type ResponseOutputItemDone
- type ResponseOutputTextAnnotationAdded
- type ResponseOutputTextDelta
- type ResponseOutputTextDone
- type ResponseQueued
- type ResponseReasoningDelta
- type ResponseReasoningDone
- type ResponseReasoningSummaryDelta
- type ResponseReasoningSummaryDone
- type ResponseReasoningSummaryPartAdded
- type ResponseReasoningSummaryPartDone
- type ResponseReasoningSummaryTextDelta
- type ResponseReasoningSummaryTextDone
- type ResponseRefusalDelta
- type ResponseRefusalDone
- type ResponseWebSearchCallCompleted
- type ResponseWebSearchCallInProgress
- type ResponseWebSearchCallSearching
- type ScoreModel
- type Screenshot
- type Scroll
- type Search
- type Static
- type StringCheck
- type SubmitToolOutputs
- type SummaryText
- type System
- type Text
- type TextCompletion
- type TextSimilarity
- type Thread
- type ThreadCreated
- type ThreadDeleted
- type ThreadMessage
- type ThreadMessageCompleted
- type ThreadMessageCreated
- type ThreadMessageDeleted
- type ThreadMessageDelta
- type ThreadMessageInProgress
- type ThreadMessageIncomplete
- type ThreadRun
- type ThreadRunCancelled
- type ThreadRunCancelling
- type ThreadRunCompleted
- type ThreadRunCreated
- type ThreadRunExpired
- type ThreadRunFailed
- type ThreadRunInProgress
- type ThreadRunIncomplete
- type ThreadRunQueued
- type ThreadRunRequiresAction
- type ThreadRunStep
- type ThreadRunStepCancelled
- type ThreadRunStepCompleted
- type ThreadRunStepCreated
- type ThreadRunStepDelta
- type ThreadRunStepExpired
- type ThreadRunStepFailed
- type ThreadRunStepInProgress
- type Tokens
- type Tool
- type ToolCalls
- type TranscriptTextDelta
- type TranscriptTextDone
- type Type
- type URLCitation
- type Upload
- type UploadPart
- type User
- type VectorStore
- type VectorStoreDeleted
- type VectorStoreFile
- type VectorStoreFileContentPage
- type VectorStoreFileDeleted
- type VectorStoreFilesBatch
- type VectorStoreSearchResultsPage
- type Wait
- type Wandb
- type WebSearchCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Approximate ¶
type Approximate string // Always "approximate"
func (Approximate) Default ¶
func (c Approximate) Default() Approximate
func (Approximate) MarshalJSON ¶
func (c Approximate) MarshalJSON() ([]byte, error)
type AssistantDeleted ¶ added in v1.1.0
type AssistantDeleted string // Always "assistant.deleted"
func (AssistantDeleted) Default ¶ added in v1.1.0
func (c AssistantDeleted) Default() AssistantDeleted
func (AssistantDeleted) MarshalJSON ¶ added in v1.1.0
func (c AssistantDeleted) MarshalJSON() ([]byte, error)
type BatchCancelled ¶ added in v1.8.0
type BatchCancelled string // Always "batch.cancelled"
func (BatchCancelled) Default ¶ added in v1.8.0
func (c BatchCancelled) Default() BatchCancelled
func (BatchCancelled) MarshalJSON ¶ added in v1.8.0
func (c BatchCancelled) MarshalJSON() ([]byte, error)
type BatchCompleted ¶ added in v1.8.0
type BatchCompleted string // Always "batch.completed"
func (BatchCompleted) Default ¶ added in v1.8.0
func (c BatchCompleted) Default() BatchCompleted
func (BatchCompleted) MarshalJSON ¶ added in v1.8.0
func (c BatchCompleted) MarshalJSON() ([]byte, error)
type BatchExpired ¶ added in v1.8.0
type BatchExpired string // Always "batch.expired"
func (BatchExpired) Default ¶ added in v1.8.0
func (c BatchExpired) Default() BatchExpired
func (BatchExpired) MarshalJSON ¶ added in v1.8.0
func (c BatchExpired) MarshalJSON() ([]byte, error)
type BatchFailed ¶ added in v1.8.0
type BatchFailed string // Always "batch.failed"
func (BatchFailed) Default ¶ added in v1.8.0
func (c BatchFailed) Default() BatchFailed
func (BatchFailed) MarshalJSON ¶ added in v1.8.0
func (c BatchFailed) 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 ChatCompletionDeleted ¶
type ChatCompletionDeleted string // Always "chat.completion.deleted"
func (ChatCompletionDeleted) Default ¶
func (c ChatCompletionDeleted) Default() ChatCompletionDeleted
func (ChatCompletionDeleted) MarshalJSON ¶
func (c ChatCompletionDeleted) MarshalJSON() ([]byte, error)
type CheckpointPermission ¶
type CheckpointPermission string // Always "checkpoint.permission"
func (CheckpointPermission) Default ¶
func (c CheckpointPermission) Default() CheckpointPermission
func (CheckpointPermission) MarshalJSON ¶
func (c CheckpointPermission) MarshalJSON() ([]byte, error)
type CodeInterpreter ¶ added in v1.1.0
type CodeInterpreter string // Always "code_interpreter"
func (CodeInterpreter) Default ¶ added in v1.1.0
func (c CodeInterpreter) Default() CodeInterpreter
func (CodeInterpreter) MarshalJSON ¶ added in v1.1.0
func (c CodeInterpreter) MarshalJSON() ([]byte, error)
type CodeInterpreterCall ¶
type CodeInterpreterCall string // Always "code_interpreter_call"
func (CodeInterpreterCall) Default ¶
func (c CodeInterpreterCall) Default() CodeInterpreterCall
func (CodeInterpreterCall) MarshalJSON ¶
func (c CodeInterpreterCall) MarshalJSON() ([]byte, error)
type ComputerCallOutput ¶
type ComputerCallOutput string // Always "computer_call_output"
func (ComputerCallOutput) Default ¶
func (c ComputerCallOutput) Default() ComputerCallOutput
func (ComputerCallOutput) MarshalJSON ¶
func (c ComputerCallOutput) MarshalJSON() ([]byte, error)
type ComputerScreenshot ¶
type ComputerScreenshot string // Always "computer_screenshot"
func (ComputerScreenshot) Default ¶
func (c ComputerScreenshot) Default() ComputerScreenshot
func (ComputerScreenshot) MarshalJSON ¶
func (c ComputerScreenshot) MarshalJSON() ([]byte, error)
type ComputerUsePreview ¶
type ComputerUsePreview string // Always "computer_use_preview"
func (ComputerUsePreview) Default ¶
func (c ComputerUsePreview) Default() ComputerUsePreview
func (ComputerUsePreview) MarshalJSON ¶
func (c ComputerUsePreview) MarshalJSON() ([]byte, error)
type ContainerFile ¶ added in v1.1.0
type ContainerFile string // Always "container.file"
func (ContainerFile) Default ¶ added in v1.1.0
func (c ContainerFile) Default() ContainerFile
func (ContainerFile) MarshalJSON ¶ added in v1.1.0
func (c ContainerFile) MarshalJSON() ([]byte, error)
type ContainerFileCitation ¶ added in v1.2.1
type ContainerFileCitation string // Always "container_file_citation"
func (ContainerFileCitation) Default ¶ added in v1.2.1
func (c ContainerFileCitation) Default() ContainerFileCitation
func (ContainerFileCitation) MarshalJSON ¶ added in v1.2.1
func (c ContainerFileCitation) MarshalJSON() ([]byte, error)
type DoubleClick ¶
type DoubleClick string // Always "double_click"
func (DoubleClick) Default ¶
func (c DoubleClick) Default() DoubleClick
func (DoubleClick) MarshalJSON ¶
func (c DoubleClick) MarshalJSON() ([]byte, error)
type Duration ¶ added in v1.7.0
type Duration string // Always "duration"
func (Duration) MarshalJSON ¶ added in v1.7.0
type EvalRunCanceled ¶ added in v1.8.0
type EvalRunCanceled string // Always "eval.run.canceled"
func (EvalRunCanceled) Default ¶ added in v1.8.0
func (c EvalRunCanceled) Default() EvalRunCanceled
func (EvalRunCanceled) MarshalJSON ¶ added in v1.8.0
func (c EvalRunCanceled) MarshalJSON() ([]byte, error)
type EvalRunFailed ¶ added in v1.8.0
type EvalRunFailed string // Always "eval.run.failed"
func (EvalRunFailed) Default ¶ added in v1.8.0
func (c EvalRunFailed) Default() EvalRunFailed
func (EvalRunFailed) MarshalJSON ¶ added in v1.8.0
func (c EvalRunFailed) MarshalJSON() ([]byte, error)
type EvalRunSucceeded ¶ added in v1.8.0
type EvalRunSucceeded string // Always "eval.run.succeeded"
func (EvalRunSucceeded) Default ¶ added in v1.8.0
func (c EvalRunSucceeded) Default() EvalRunSucceeded
func (EvalRunSucceeded) MarshalJSON ¶ added in v1.8.0
func (c EvalRunSucceeded) MarshalJSON() ([]byte, error)
type Exec ¶ added in v1.1.0
type Exec string // Always "exec"
func (Exec) MarshalJSON ¶ added in v1.1.0
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 Find ¶ added in v1.8.0
type Find string // Always "find"
func (Find) MarshalJSON ¶ added in v1.8.0
type FineTuningJob ¶
type FineTuningJob string // Always "fine_tuning.job"
func (FineTuningJob) Default ¶
func (c FineTuningJob) Default() FineTuningJob
func (FineTuningJob) MarshalJSON ¶
func (c FineTuningJob) MarshalJSON() ([]byte, error)
type FineTuningJobCancelled ¶ added in v1.8.0
type FineTuningJobCancelled string // Always "fine_tuning.job.cancelled"
func (FineTuningJobCancelled) Default ¶ added in v1.8.0
func (c FineTuningJobCancelled) Default() FineTuningJobCancelled
func (FineTuningJobCancelled) MarshalJSON ¶ added in v1.8.0
func (c FineTuningJobCancelled) MarshalJSON() ([]byte, error)
type FineTuningJobCheckpoint ¶
type FineTuningJobCheckpoint string // Always "fine_tuning.job.checkpoint"
func (FineTuningJobCheckpoint) Default ¶
func (c FineTuningJobCheckpoint) Default() FineTuningJobCheckpoint
func (FineTuningJobCheckpoint) MarshalJSON ¶
func (c FineTuningJobCheckpoint) MarshalJSON() ([]byte, error)
type FineTuningJobEvent ¶
type FineTuningJobEvent string // Always "fine_tuning.job.event"
func (FineTuningJobEvent) Default ¶
func (c FineTuningJobEvent) Default() FineTuningJobEvent
func (FineTuningJobEvent) MarshalJSON ¶
func (c FineTuningJobEvent) MarshalJSON() ([]byte, error)
type FineTuningJobFailed ¶ added in v1.8.0
type FineTuningJobFailed string // Always "fine_tuning.job.failed"
func (FineTuningJobFailed) Default ¶ added in v1.8.0
func (c FineTuningJobFailed) Default() FineTuningJobFailed
func (FineTuningJobFailed) MarshalJSON ¶ added in v1.8.0
func (c FineTuningJobFailed) MarshalJSON() ([]byte, error)
type FineTuningJobSucceeded ¶ added in v1.8.0
type FineTuningJobSucceeded string // Always "fine_tuning.job.succeeded"
func (FineTuningJobSucceeded) Default ¶ added in v1.8.0
func (c FineTuningJobSucceeded) Default() FineTuningJobSucceeded
func (FineTuningJobSucceeded) MarshalJSON ¶ added in v1.8.0
func (c FineTuningJobSucceeded) 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 Image ¶ added in v1.1.0
type Image string // Always "image"
func (Image) MarshalJSON ¶ added in v1.1.0
type ImageEditCompleted ¶ added in v1.11.0
type ImageEditCompleted string // Always "image_edit.completed"
func (ImageEditCompleted) Default ¶ added in v1.11.0
func (c ImageEditCompleted) Default() ImageEditCompleted
func (ImageEditCompleted) MarshalJSON ¶ added in v1.11.0
func (c ImageEditCompleted) MarshalJSON() ([]byte, error)
type ImageEditPartialImage ¶ added in v1.11.0
type ImageEditPartialImage string // Always "image_edit.partial_image"
func (ImageEditPartialImage) Default ¶ added in v1.11.0
func (c ImageEditPartialImage) Default() ImageEditPartialImage
func (ImageEditPartialImage) MarshalJSON ¶ added in v1.11.0
func (c ImageEditPartialImage) MarshalJSON() ([]byte, error)
type ImageFile ¶ added in v1.1.0
type ImageFile string // Always "image_file"
func (ImageFile) MarshalJSON ¶ added in v1.1.0
type ImageGeneration ¶ added in v1.1.0
type ImageGeneration string // Always "image_generation"
func (ImageGeneration) Default ¶ added in v1.1.0
func (c ImageGeneration) Default() ImageGeneration
func (ImageGeneration) MarshalJSON ¶ added in v1.1.0
func (c ImageGeneration) MarshalJSON() ([]byte, error)
type ImageGenerationCall ¶ added in v1.1.0
type ImageGenerationCall string // Always "image_generation_call"
func (ImageGenerationCall) Default ¶ added in v1.1.0
func (c ImageGenerationCall) Default() ImageGenerationCall
func (ImageGenerationCall) MarshalJSON ¶ added in v1.1.0
func (c ImageGenerationCall) MarshalJSON() ([]byte, error)
type ImageGenerationCompleted ¶ added in v1.11.0
type ImageGenerationCompleted string // Always "image_generation.completed"
func (ImageGenerationCompleted) Default ¶ added in v1.11.0
func (c ImageGenerationCompleted) Default() ImageGenerationCompleted
func (ImageGenerationCompleted) MarshalJSON ¶ added in v1.11.0
func (c ImageGenerationCompleted) MarshalJSON() ([]byte, error)
type ImageGenerationPartialImage ¶ added in v1.11.0
type ImageGenerationPartialImage string // Always "image_generation.partial_image"
func (ImageGenerationPartialImage) Default ¶ added in v1.11.0
func (c ImageGenerationPartialImage) Default() ImageGenerationPartialImage
func (ImageGenerationPartialImage) MarshalJSON ¶ added in v1.11.0
func (c ImageGenerationPartialImage) MarshalJSON() ([]byte, error)
type InputAudio ¶
type InputAudio string // Always "input_audio"
func (InputAudio) Default ¶
func (c InputAudio) Default() InputAudio
func (InputAudio) MarshalJSON ¶
func (c InputAudio) 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 LabelModel ¶
type LabelModel string // Always "label_model"
func (LabelModel) Default ¶
func (c LabelModel) Default() LabelModel
func (LabelModel) MarshalJSON ¶
func (c LabelModel) MarshalJSON() ([]byte, error)
type LastActiveAt ¶
type LastActiveAt string // Always "last_active_at"
func (LastActiveAt) Default ¶
func (c LastActiveAt) Default() LastActiveAt
func (LastActiveAt) MarshalJSON ¶
func (c LastActiveAt) MarshalJSON() ([]byte, error)
type LocalShell ¶ added in v1.1.0
type LocalShell string // Always "local_shell"
func (LocalShell) Default ¶ added in v1.1.0
func (c LocalShell) Default() LocalShell
func (LocalShell) MarshalJSON ¶ added in v1.1.0
func (c LocalShell) MarshalJSON() ([]byte, error)
type LocalShellCall ¶ added in v1.1.0
type LocalShellCall string // Always "local_shell_call"
func (LocalShellCall) Default ¶ added in v1.1.0
func (c LocalShellCall) Default() LocalShellCall
func (LocalShellCall) MarshalJSON ¶ added in v1.1.0
func (c LocalShellCall) MarshalJSON() ([]byte, error)
type LocalShellCallOutput ¶ added in v1.1.0
type LocalShellCallOutput string // Always "local_shell_call_output"
func (LocalShellCallOutput) Default ¶ added in v1.1.0
func (c LocalShellCallOutput) Default() LocalShellCallOutput
func (LocalShellCallOutput) MarshalJSON ¶ added in v1.1.0
func (c LocalShellCallOutput) MarshalJSON() ([]byte, error)
type McpApprovalRequest ¶ added in v1.1.0
type McpApprovalRequest string // Always "mcp_approval_request"
func (McpApprovalRequest) Default ¶ added in v1.1.0
func (c McpApprovalRequest) Default() McpApprovalRequest
func (McpApprovalRequest) MarshalJSON ¶ added in v1.1.0
func (c McpApprovalRequest) MarshalJSON() ([]byte, error)
type McpApprovalResponse ¶ added in v1.1.0
type McpApprovalResponse string // Always "mcp_approval_response"
func (McpApprovalResponse) Default ¶ added in v1.1.0
func (c McpApprovalResponse) Default() McpApprovalResponse
func (McpApprovalResponse) MarshalJSON ¶ added in v1.1.0
func (c McpApprovalResponse) MarshalJSON() ([]byte, error)
type McpCall ¶ added in v1.1.0
type McpCall string // Always "mcp_call"
func (McpCall) MarshalJSON ¶ added in v1.1.0
type McpListTools ¶ added in v1.1.0
type McpListTools string // Always "mcp_list_tools"
func (McpListTools) Default ¶ added in v1.1.0
func (c McpListTools) Default() McpListTools
func (McpListTools) MarshalJSON ¶ added in v1.1.0
func (c McpListTools) MarshalJSON() ([]byte, error)
type MessageCreation ¶ added in v1.1.0
type MessageCreation string // Always "message_creation"
func (MessageCreation) Default ¶ added in v1.1.0
func (c MessageCreation) Default() MessageCreation
func (MessageCreation) MarshalJSON ¶ added in v1.1.0
func (c MessageCreation) MarshalJSON() ([]byte, error)
type OpenPage ¶ added in v1.8.0
type OpenPage string // Always "open_page"
func (OpenPage) MarshalJSON ¶ added in v1.8.0
type OutputAudio ¶
type OutputAudio string // Always "output_audio"
func (OutputAudio) Default ¶
func (c OutputAudio) Default() OutputAudio
func (OutputAudio) MarshalJSON ¶
func (c OutputAudio) 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 ResponseAudioDelta ¶
type ResponseAudioDelta string // Always "response.audio.delta"
func (ResponseAudioDelta) Default ¶
func (c ResponseAudioDelta) Default() ResponseAudioDelta
func (ResponseAudioDelta) MarshalJSON ¶
func (c ResponseAudioDelta) MarshalJSON() ([]byte, error)
type ResponseAudioDone ¶
type ResponseAudioDone string // Always "response.audio.done"
func (ResponseAudioDone) Default ¶
func (c ResponseAudioDone) Default() ResponseAudioDone
func (ResponseAudioDone) MarshalJSON ¶
func (c ResponseAudioDone) MarshalJSON() ([]byte, error)
type ResponseAudioTranscriptDelta ¶
type ResponseAudioTranscriptDelta string // Always "response.audio.transcript.delta"
func (ResponseAudioTranscriptDelta) Default ¶
func (c ResponseAudioTranscriptDelta) Default() ResponseAudioTranscriptDelta
func (ResponseAudioTranscriptDelta) MarshalJSON ¶
func (c ResponseAudioTranscriptDelta) MarshalJSON() ([]byte, error)
type ResponseAudioTranscriptDone ¶
type ResponseAudioTranscriptDone string // Always "response.audio.transcript.done"
func (ResponseAudioTranscriptDone) Default ¶
func (c ResponseAudioTranscriptDone) Default() ResponseAudioTranscriptDone
func (ResponseAudioTranscriptDone) MarshalJSON ¶
func (c ResponseAudioTranscriptDone) MarshalJSON() ([]byte, error)
type ResponseCancelled ¶ added in v1.8.0
type ResponseCancelled string // Always "response.cancelled"
func (ResponseCancelled) Default ¶ added in v1.8.0
func (c ResponseCancelled) Default() ResponseCancelled
func (ResponseCancelled) MarshalJSON ¶ added in v1.8.0
func (c ResponseCancelled) MarshalJSON() ([]byte, error)
type ResponseCodeInterpreterCallCodeDelta ¶
type ResponseCodeInterpreterCallCodeDelta string // Always "response.code_interpreter_call_code.delta"
func (ResponseCodeInterpreterCallCodeDelta) Default ¶
func (c ResponseCodeInterpreterCallCodeDelta) Default() ResponseCodeInterpreterCallCodeDelta
func (ResponseCodeInterpreterCallCodeDelta) MarshalJSON ¶
func (c ResponseCodeInterpreterCallCodeDelta) MarshalJSON() ([]byte, error)
type ResponseCodeInterpreterCallCodeDone ¶
type ResponseCodeInterpreterCallCodeDone string // Always "response.code_interpreter_call_code.done"
func (ResponseCodeInterpreterCallCodeDone) Default ¶
func (c ResponseCodeInterpreterCallCodeDone) Default() ResponseCodeInterpreterCallCodeDone
func (ResponseCodeInterpreterCallCodeDone) MarshalJSON ¶
func (c ResponseCodeInterpreterCallCodeDone) MarshalJSON() ([]byte, error)
type ResponseCodeInterpreterCallCompleted ¶
type ResponseCodeInterpreterCallCompleted string // Always "response.code_interpreter_call.completed"
func (ResponseCodeInterpreterCallCompleted) Default ¶
func (c ResponseCodeInterpreterCallCompleted) Default() ResponseCodeInterpreterCallCompleted
func (ResponseCodeInterpreterCallCompleted) MarshalJSON ¶
func (c ResponseCodeInterpreterCallCompleted) MarshalJSON() ([]byte, error)
type ResponseCodeInterpreterCallInProgress ¶
type ResponseCodeInterpreterCallInProgress string // Always "response.code_interpreter_call.in_progress"
func (ResponseCodeInterpreterCallInProgress) Default ¶
func (c ResponseCodeInterpreterCallInProgress) Default() ResponseCodeInterpreterCallInProgress
func (ResponseCodeInterpreterCallInProgress) MarshalJSON ¶
func (c ResponseCodeInterpreterCallInProgress) MarshalJSON() ([]byte, error)
type ResponseCodeInterpreterCallInterpreting ¶
type ResponseCodeInterpreterCallInterpreting string // Always "response.code_interpreter_call.interpreting"
func (ResponseCodeInterpreterCallInterpreting) Default ¶
func (c ResponseCodeInterpreterCallInterpreting) Default() ResponseCodeInterpreterCallInterpreting
func (ResponseCodeInterpreterCallInterpreting) MarshalJSON ¶
func (c ResponseCodeInterpreterCallInterpreting) 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 ResponseFailed ¶
type ResponseFailed string // Always "response.failed"
func (ResponseFailed) Default ¶
func (c ResponseFailed) Default() ResponseFailed
func (ResponseFailed) MarshalJSON ¶
func (c ResponseFailed) MarshalJSON() ([]byte, error)
type ResponseFileSearchCallCompleted ¶
type ResponseFileSearchCallCompleted string // Always "response.file_search_call.completed"
func (ResponseFileSearchCallCompleted) Default ¶
func (c ResponseFileSearchCallCompleted) Default() ResponseFileSearchCallCompleted
func (ResponseFileSearchCallCompleted) MarshalJSON ¶
func (c ResponseFileSearchCallCompleted) MarshalJSON() ([]byte, error)
type ResponseFileSearchCallInProgress ¶
type ResponseFileSearchCallInProgress string // Always "response.file_search_call.in_progress"
func (ResponseFileSearchCallInProgress) Default ¶
func (c ResponseFileSearchCallInProgress) Default() ResponseFileSearchCallInProgress
func (ResponseFileSearchCallInProgress) MarshalJSON ¶
func (c ResponseFileSearchCallInProgress) MarshalJSON() ([]byte, error)
type ResponseFileSearchCallSearching ¶
type ResponseFileSearchCallSearching string // Always "response.file_search_call.searching"
func (ResponseFileSearchCallSearching) Default ¶
func (c ResponseFileSearchCallSearching) Default() ResponseFileSearchCallSearching
func (ResponseFileSearchCallSearching) MarshalJSON ¶
func (c ResponseFileSearchCallSearching) 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 ResponseImageGenerationCallCompleted ¶ added in v1.1.0
type ResponseImageGenerationCallCompleted string // Always "response.image_generation_call.completed"
func (ResponseImageGenerationCallCompleted) Default ¶ added in v1.1.0
func (c ResponseImageGenerationCallCompleted) Default() ResponseImageGenerationCallCompleted
func (ResponseImageGenerationCallCompleted) MarshalJSON ¶ added in v1.1.0
func (c ResponseImageGenerationCallCompleted) MarshalJSON() ([]byte, error)
type ResponseImageGenerationCallGenerating ¶ added in v1.1.0
type ResponseImageGenerationCallGenerating string // Always "response.image_generation_call.generating"
func (ResponseImageGenerationCallGenerating) Default ¶ added in v1.1.0
func (c ResponseImageGenerationCallGenerating) Default() ResponseImageGenerationCallGenerating
func (ResponseImageGenerationCallGenerating) MarshalJSON ¶ added in v1.1.0
func (c ResponseImageGenerationCallGenerating) MarshalJSON() ([]byte, error)
type ResponseImageGenerationCallInProgress ¶ added in v1.1.0
type ResponseImageGenerationCallInProgress string // Always "response.image_generation_call.in_progress"
func (ResponseImageGenerationCallInProgress) Default ¶ added in v1.1.0
func (c ResponseImageGenerationCallInProgress) Default() ResponseImageGenerationCallInProgress
func (ResponseImageGenerationCallInProgress) MarshalJSON ¶ added in v1.1.0
func (c ResponseImageGenerationCallInProgress) MarshalJSON() ([]byte, error)
type ResponseImageGenerationCallPartialImage ¶ added in v1.1.0
type ResponseImageGenerationCallPartialImage string // Always "response.image_generation_call.partial_image"
func (ResponseImageGenerationCallPartialImage) Default ¶ added in v1.1.0
func (c ResponseImageGenerationCallPartialImage) Default() ResponseImageGenerationCallPartialImage
func (ResponseImageGenerationCallPartialImage) MarshalJSON ¶ added in v1.1.0
func (c ResponseImageGenerationCallPartialImage) MarshalJSON() ([]byte, error)
type ResponseInProgress ¶
type ResponseInProgress string // Always "response.in_progress"
func (ResponseInProgress) Default ¶
func (c ResponseInProgress) Default() ResponseInProgress
func (ResponseInProgress) MarshalJSON ¶
func (c ResponseInProgress) MarshalJSON() ([]byte, error)
type ResponseIncomplete ¶
type ResponseIncomplete string // Always "response.incomplete"
func (ResponseIncomplete) Default ¶
func (c ResponseIncomplete) Default() ResponseIncomplete
func (ResponseIncomplete) MarshalJSON ¶
func (c ResponseIncomplete) MarshalJSON() ([]byte, error)
type ResponseMcpCallArgumentsDelta ¶ added in v1.1.0
type ResponseMcpCallArgumentsDelta string // Always "response.mcp_call_arguments.delta"
func (ResponseMcpCallArgumentsDelta) Default ¶ added in v1.1.0
func (c ResponseMcpCallArgumentsDelta) Default() ResponseMcpCallArgumentsDelta
func (ResponseMcpCallArgumentsDelta) MarshalJSON ¶ added in v1.1.0
func (c ResponseMcpCallArgumentsDelta) MarshalJSON() ([]byte, error)
type ResponseMcpCallArgumentsDone ¶ added in v1.1.0
type ResponseMcpCallArgumentsDone string // Always "response.mcp_call_arguments.done"
func (ResponseMcpCallArgumentsDone) Default ¶ added in v1.1.0
func (c ResponseMcpCallArgumentsDone) Default() ResponseMcpCallArgumentsDone
func (ResponseMcpCallArgumentsDone) MarshalJSON ¶ added in v1.1.0
func (c ResponseMcpCallArgumentsDone) MarshalJSON() ([]byte, error)
type ResponseMcpCallCompleted ¶ added in v1.1.0
type ResponseMcpCallCompleted string // Always "response.mcp_call.completed"
func (ResponseMcpCallCompleted) Default ¶ added in v1.1.0
func (c ResponseMcpCallCompleted) Default() ResponseMcpCallCompleted
func (ResponseMcpCallCompleted) MarshalJSON ¶ added in v1.1.0
func (c ResponseMcpCallCompleted) MarshalJSON() ([]byte, error)
type ResponseMcpCallFailed ¶ added in v1.1.0
type ResponseMcpCallFailed string // Always "response.mcp_call.failed"
func (ResponseMcpCallFailed) Default ¶ added in v1.1.0
func (c ResponseMcpCallFailed) Default() ResponseMcpCallFailed
func (ResponseMcpCallFailed) MarshalJSON ¶ added in v1.1.0
func (c ResponseMcpCallFailed) MarshalJSON() ([]byte, error)
type ResponseMcpCallInProgress ¶ added in v1.1.0
type ResponseMcpCallInProgress string // Always "response.mcp_call.in_progress"
func (ResponseMcpCallInProgress) Default ¶ added in v1.1.0
func (c ResponseMcpCallInProgress) Default() ResponseMcpCallInProgress
func (ResponseMcpCallInProgress) MarshalJSON ¶ added in v1.1.0
func (c ResponseMcpCallInProgress) MarshalJSON() ([]byte, error)
type ResponseMcpListToolsCompleted ¶ added in v1.1.0
type ResponseMcpListToolsCompleted string // Always "response.mcp_list_tools.completed"
func (ResponseMcpListToolsCompleted) Default ¶ added in v1.1.0
func (c ResponseMcpListToolsCompleted) Default() ResponseMcpListToolsCompleted
func (ResponseMcpListToolsCompleted) MarshalJSON ¶ added in v1.1.0
func (c ResponseMcpListToolsCompleted) MarshalJSON() ([]byte, error)
type ResponseMcpListToolsFailed ¶ added in v1.1.0
type ResponseMcpListToolsFailed string // Always "response.mcp_list_tools.failed"
func (ResponseMcpListToolsFailed) Default ¶ added in v1.1.0
func (c ResponseMcpListToolsFailed) Default() ResponseMcpListToolsFailed
func (ResponseMcpListToolsFailed) MarshalJSON ¶ added in v1.1.0
func (c ResponseMcpListToolsFailed) MarshalJSON() ([]byte, error)
type ResponseMcpListToolsInProgress ¶ added in v1.1.0
type ResponseMcpListToolsInProgress string // Always "response.mcp_list_tools.in_progress"
func (ResponseMcpListToolsInProgress) Default ¶ added in v1.1.0
func (c ResponseMcpListToolsInProgress) Default() ResponseMcpListToolsInProgress
func (ResponseMcpListToolsInProgress) MarshalJSON ¶ added in v1.1.0
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 ResponseOutputTextAnnotationAdded ¶
type ResponseOutputTextAnnotationAdded string // Always "response.output_text.annotation.added"
func (ResponseOutputTextAnnotationAdded) Default ¶
func (c ResponseOutputTextAnnotationAdded) Default() ResponseOutputTextAnnotationAdded
func (ResponseOutputTextAnnotationAdded) MarshalJSON ¶
func (c ResponseOutputTextAnnotationAdded) 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 ResponseQueued ¶ added in v1.1.0
type ResponseQueued string // Always "response.queued"
func (ResponseQueued) Default ¶ added in v1.1.0
func (c ResponseQueued) Default() ResponseQueued
func (ResponseQueued) MarshalJSON ¶ added in v1.1.0
func (c ResponseQueued) MarshalJSON() ([]byte, error)
type ResponseReasoningDelta ¶ added in v1.1.0
type ResponseReasoningDelta string // Always "response.reasoning.delta"
func (ResponseReasoningDelta) Default ¶ added in v1.1.0
func (c ResponseReasoningDelta) Default() ResponseReasoningDelta
func (ResponseReasoningDelta) MarshalJSON ¶ added in v1.1.0
func (c ResponseReasoningDelta) MarshalJSON() ([]byte, error)
type ResponseReasoningDone ¶ added in v1.1.0
type ResponseReasoningDone string // Always "response.reasoning.done"
func (ResponseReasoningDone) Default ¶ added in v1.1.0
func (c ResponseReasoningDone) Default() ResponseReasoningDone
func (ResponseReasoningDone) MarshalJSON ¶ added in v1.1.0
func (c ResponseReasoningDone) MarshalJSON() ([]byte, error)
type ResponseReasoningSummaryDelta ¶ added in v1.1.0
type ResponseReasoningSummaryDelta string // Always "response.reasoning_summary.delta"
func (ResponseReasoningSummaryDelta) Default ¶ added in v1.1.0
func (c ResponseReasoningSummaryDelta) Default() ResponseReasoningSummaryDelta
func (ResponseReasoningSummaryDelta) MarshalJSON ¶ added in v1.1.0
func (c ResponseReasoningSummaryDelta) MarshalJSON() ([]byte, error)
type ResponseReasoningSummaryDone ¶ added in v1.1.0
type ResponseReasoningSummaryDone string // Always "response.reasoning_summary.done"
func (ResponseReasoningSummaryDone) Default ¶ added in v1.1.0
func (c ResponseReasoningSummaryDone) Default() ResponseReasoningSummaryDone
func (ResponseReasoningSummaryDone) MarshalJSON ¶ added in v1.1.0
func (c ResponseReasoningSummaryDone) MarshalJSON() ([]byte, error)
type ResponseReasoningSummaryPartAdded ¶
type ResponseReasoningSummaryPartAdded string // Always "response.reasoning_summary_part.added"
func (ResponseReasoningSummaryPartAdded) Default ¶
func (c ResponseReasoningSummaryPartAdded) Default() ResponseReasoningSummaryPartAdded
func (ResponseReasoningSummaryPartAdded) MarshalJSON ¶
func (c ResponseReasoningSummaryPartAdded) MarshalJSON() ([]byte, error)
type ResponseReasoningSummaryPartDone ¶
type ResponseReasoningSummaryPartDone string // Always "response.reasoning_summary_part.done"
func (ResponseReasoningSummaryPartDone) Default ¶
func (c ResponseReasoningSummaryPartDone) Default() ResponseReasoningSummaryPartDone
func (ResponseReasoningSummaryPartDone) MarshalJSON ¶
func (c ResponseReasoningSummaryPartDone) MarshalJSON() ([]byte, error)
type ResponseReasoningSummaryTextDelta ¶
type ResponseReasoningSummaryTextDelta string // Always "response.reasoning_summary_text.delta"
func (ResponseReasoningSummaryTextDelta) Default ¶
func (c ResponseReasoningSummaryTextDelta) Default() ResponseReasoningSummaryTextDelta
func (ResponseReasoningSummaryTextDelta) MarshalJSON ¶
func (c ResponseReasoningSummaryTextDelta) MarshalJSON() ([]byte, error)
type ResponseReasoningSummaryTextDone ¶
type ResponseReasoningSummaryTextDone string // Always "response.reasoning_summary_text.done"
func (ResponseReasoningSummaryTextDone) Default ¶
func (c ResponseReasoningSummaryTextDone) Default() ResponseReasoningSummaryTextDone
func (ResponseReasoningSummaryTextDone) MarshalJSON ¶
func (c ResponseReasoningSummaryTextDone) MarshalJSON() ([]byte, error)
type ResponseRefusalDelta ¶
type ResponseRefusalDelta string // Always "response.refusal.delta"
func (ResponseRefusalDelta) Default ¶
func (c ResponseRefusalDelta) Default() ResponseRefusalDelta
func (ResponseRefusalDelta) MarshalJSON ¶
func (c ResponseRefusalDelta) MarshalJSON() ([]byte, error)
type ResponseRefusalDone ¶
type ResponseRefusalDone string // Always "response.refusal.done"
func (ResponseRefusalDone) Default ¶
func (c ResponseRefusalDone) Default() ResponseRefusalDone
func (ResponseRefusalDone) MarshalJSON ¶
func (c ResponseRefusalDone) 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 ScoreModel ¶
type ScoreModel string // Always "score_model"
func (ScoreModel) Default ¶
func (c ScoreModel) Default() ScoreModel
func (ScoreModel) MarshalJSON ¶
func (c ScoreModel) MarshalJSON() ([]byte, error)
type Screenshot ¶
type Screenshot string // Always "screenshot"
func (Screenshot) Default ¶
func (c Screenshot) Default() Screenshot
func (Screenshot) MarshalJSON ¶
func (c Screenshot) MarshalJSON() ([]byte, error)
type Search ¶ added in v1.8.0
type Search string // Always "search"
func (Search) MarshalJSON ¶ added in v1.8.0
type StringCheck ¶
type StringCheck string // Always "string_check"
func (StringCheck) Default ¶
func (c StringCheck) Default() StringCheck
func (StringCheck) MarshalJSON ¶
func (c StringCheck) MarshalJSON() ([]byte, error)
type SubmitToolOutputs ¶ added in v1.1.0
type SubmitToolOutputs string // Always "submit_tool_outputs"
func (SubmitToolOutputs) Default ¶ added in v1.1.0
func (c SubmitToolOutputs) Default() SubmitToolOutputs
func (SubmitToolOutputs) MarshalJSON ¶ added in v1.1.0
func (c SubmitToolOutputs) MarshalJSON() ([]byte, error)
type SummaryText ¶
type SummaryText string // Always "summary_text"
func (SummaryText) Default ¶
func (c SummaryText) Default() SummaryText
func (SummaryText) MarshalJSON ¶
func (c SummaryText) 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 TextSimilarity ¶
type TextSimilarity string // Always "text_similarity"
func (TextSimilarity) Default ¶
func (c TextSimilarity) Default() TextSimilarity
func (TextSimilarity) MarshalJSON ¶
func (c TextSimilarity) MarshalJSON() ([]byte, error)
type Thread ¶ added in v1.1.0
type Thread string // Always "thread"
func (Thread) MarshalJSON ¶ added in v1.1.0
type ThreadCreated ¶ added in v1.1.0
type ThreadCreated string // Always "thread.created"
func (ThreadCreated) Default ¶ added in v1.1.0
func (c ThreadCreated) Default() ThreadCreated
func (ThreadCreated) MarshalJSON ¶ added in v1.1.0
func (c ThreadCreated) MarshalJSON() ([]byte, error)
type ThreadDeleted ¶ added in v1.1.0
type ThreadDeleted string // Always "thread.deleted"
func (ThreadDeleted) Default ¶ added in v1.1.0
func (c ThreadDeleted) Default() ThreadDeleted
func (ThreadDeleted) MarshalJSON ¶ added in v1.1.0
func (c ThreadDeleted) MarshalJSON() ([]byte, error)
type ThreadMessage ¶ added in v1.1.0
type ThreadMessage string // Always "thread.message"
func (ThreadMessage) Default ¶ added in v1.1.0
func (c ThreadMessage) Default() ThreadMessage
func (ThreadMessage) MarshalJSON ¶ added in v1.1.0
func (c ThreadMessage) MarshalJSON() ([]byte, error)
type ThreadMessageCompleted ¶ added in v1.1.0
type ThreadMessageCompleted string // Always "thread.message.completed"
func (ThreadMessageCompleted) Default ¶ added in v1.1.0
func (c ThreadMessageCompleted) Default() ThreadMessageCompleted
func (ThreadMessageCompleted) MarshalJSON ¶ added in v1.1.0
func (c ThreadMessageCompleted) MarshalJSON() ([]byte, error)
type ThreadMessageCreated ¶ added in v1.1.0
type ThreadMessageCreated string // Always "thread.message.created"
func (ThreadMessageCreated) Default ¶ added in v1.1.0
func (c ThreadMessageCreated) Default() ThreadMessageCreated
func (ThreadMessageCreated) MarshalJSON ¶ added in v1.1.0
func (c ThreadMessageCreated) MarshalJSON() ([]byte, error)
type ThreadMessageDeleted ¶ added in v1.1.0
type ThreadMessageDeleted string // Always "thread.message.deleted"
func (ThreadMessageDeleted) Default ¶ added in v1.1.0
func (c ThreadMessageDeleted) Default() ThreadMessageDeleted
func (ThreadMessageDeleted) MarshalJSON ¶ added in v1.1.0
func (c ThreadMessageDeleted) MarshalJSON() ([]byte, error)
type ThreadMessageDelta ¶ added in v1.1.0
type ThreadMessageDelta string // Always "thread.message.delta"
func (ThreadMessageDelta) Default ¶ added in v1.1.0
func (c ThreadMessageDelta) Default() ThreadMessageDelta
func (ThreadMessageDelta) MarshalJSON ¶ added in v1.1.0
func (c ThreadMessageDelta) MarshalJSON() ([]byte, error)
type ThreadMessageInProgress ¶ added in v1.1.0
type ThreadMessageInProgress string // Always "thread.message.in_progress"
func (ThreadMessageInProgress) Default ¶ added in v1.1.0
func (c ThreadMessageInProgress) Default() ThreadMessageInProgress
func (ThreadMessageInProgress) MarshalJSON ¶ added in v1.1.0
func (c ThreadMessageInProgress) MarshalJSON() ([]byte, error)
type ThreadMessageIncomplete ¶ added in v1.1.0
type ThreadMessageIncomplete string // Always "thread.message.incomplete"
func (ThreadMessageIncomplete) Default ¶ added in v1.1.0
func (c ThreadMessageIncomplete) Default() ThreadMessageIncomplete
func (ThreadMessageIncomplete) MarshalJSON ¶ added in v1.1.0
func (c ThreadMessageIncomplete) MarshalJSON() ([]byte, error)
type ThreadRun ¶ added in v1.1.0
type ThreadRun string // Always "thread.run"
func (ThreadRun) MarshalJSON ¶ added in v1.1.0
type ThreadRunCancelled ¶ added in v1.1.0
type ThreadRunCancelled string // Always "thread.run.cancelled"
func (ThreadRunCancelled) Default ¶ added in v1.1.0
func (c ThreadRunCancelled) Default() ThreadRunCancelled
func (ThreadRunCancelled) MarshalJSON ¶ added in v1.1.0
func (c ThreadRunCancelled) MarshalJSON() ([]byte, error)
type ThreadRunCancelling ¶ added in v1.1.0
type ThreadRunCancelling string // Always "thread.run.cancelling"
func (ThreadRunCancelling) Default ¶ added in v1.1.0
func (c ThreadRunCancelling) Default() ThreadRunCancelling
func (ThreadRunCancelling) MarshalJSON ¶ added in v1.1.0
func (c ThreadRunCancelling) MarshalJSON() ([]byte, error)
type ThreadRunCompleted ¶ added in v1.1.0
type ThreadRunCompleted string // Always "thread.run.completed"
func (ThreadRunCompleted) Default ¶ added in v1.1.0
func (c ThreadRunCompleted) Default() ThreadRunCompleted
func (ThreadRunCompleted) MarshalJSON ¶ added in v1.1.0
func (c ThreadRunCompleted) MarshalJSON() ([]byte, error)
type ThreadRunCreated ¶ added in v1.1.0
type ThreadRunCreated string // Always "thread.run.created"
func (ThreadRunCreated) Default ¶ added in v1.1.0
func (c ThreadRunCreated) Default() ThreadRunCreated
func (ThreadRunCreated) MarshalJSON ¶ added in v1.1.0
func (c ThreadRunCreated) MarshalJSON() ([]byte, error)
type ThreadRunExpired ¶ added in v1.1.0
type ThreadRunExpired string // Always "thread.run.expired"
func (ThreadRunExpired) Default ¶ added in v1.1.0
func (c ThreadRunExpired) Default() ThreadRunExpired
func (ThreadRunExpired) MarshalJSON ¶ added in v1.1.0
func (c ThreadRunExpired) MarshalJSON() ([]byte, error)
type ThreadRunFailed ¶ added in v1.1.0
type ThreadRunFailed string // Always "thread.run.failed"
func (ThreadRunFailed) Default ¶ added in v1.1.0
func (c ThreadRunFailed) Default() ThreadRunFailed
func (ThreadRunFailed) MarshalJSON ¶ added in v1.1.0
func (c ThreadRunFailed) MarshalJSON() ([]byte, error)
type ThreadRunInProgress ¶ added in v1.1.0
type ThreadRunInProgress string // Always "thread.run.in_progress"
func (ThreadRunInProgress) Default ¶ added in v1.1.0
func (c ThreadRunInProgress) Default() ThreadRunInProgress
func (ThreadRunInProgress) MarshalJSON ¶ added in v1.1.0
func (c ThreadRunInProgress) MarshalJSON() ([]byte, error)
type ThreadRunIncomplete ¶ added in v1.1.0
type ThreadRunIncomplete string // Always "thread.run.incomplete"
func (ThreadRunIncomplete) Default ¶ added in v1.1.0
func (c ThreadRunIncomplete) Default() ThreadRunIncomplete
func (ThreadRunIncomplete) MarshalJSON ¶ added in v1.1.0
func (c ThreadRunIncomplete) MarshalJSON() ([]byte, error)
type ThreadRunQueued ¶ added in v1.1.0
type ThreadRunQueued string // Always "thread.run.queued"
func (ThreadRunQueued) Default ¶ added in v1.1.0
func (c ThreadRunQueued) Default() ThreadRunQueued
func (ThreadRunQueued) MarshalJSON ¶ added in v1.1.0
func (c ThreadRunQueued) MarshalJSON() ([]byte, error)
type ThreadRunRequiresAction ¶ added in v1.1.0
type ThreadRunRequiresAction string // Always "thread.run.requires_action"
func (ThreadRunRequiresAction) Default ¶ added in v1.1.0
func (c ThreadRunRequiresAction) Default() ThreadRunRequiresAction
func (ThreadRunRequiresAction) MarshalJSON ¶ added in v1.1.0
func (c ThreadRunRequiresAction) MarshalJSON() ([]byte, error)
type ThreadRunStep ¶ added in v1.1.0
type ThreadRunStep string // Always "thread.run.step"
func (ThreadRunStep) Default ¶ added in v1.1.0
func (c ThreadRunStep) Default() ThreadRunStep
func (ThreadRunStep) MarshalJSON ¶ added in v1.1.0
func (c ThreadRunStep) MarshalJSON() ([]byte, error)
type ThreadRunStepCancelled ¶ added in v1.1.0
type ThreadRunStepCancelled string // Always "thread.run.step.cancelled"
func (ThreadRunStepCancelled) Default ¶ added in v1.1.0
func (c ThreadRunStepCancelled) Default() ThreadRunStepCancelled
func (ThreadRunStepCancelled) MarshalJSON ¶ added in v1.1.0
func (c ThreadRunStepCancelled) MarshalJSON() ([]byte, error)
type ThreadRunStepCompleted ¶ added in v1.1.0
type ThreadRunStepCompleted string // Always "thread.run.step.completed"
func (ThreadRunStepCompleted) Default ¶ added in v1.1.0
func (c ThreadRunStepCompleted) Default() ThreadRunStepCompleted
func (ThreadRunStepCompleted) MarshalJSON ¶ added in v1.1.0
func (c ThreadRunStepCompleted) MarshalJSON() ([]byte, error)
type ThreadRunStepCreated ¶ added in v1.1.0
type ThreadRunStepCreated string // Always "thread.run.step.created"
func (ThreadRunStepCreated) Default ¶ added in v1.1.0
func (c ThreadRunStepCreated) Default() ThreadRunStepCreated
func (ThreadRunStepCreated) MarshalJSON ¶ added in v1.1.0
func (c ThreadRunStepCreated) MarshalJSON() ([]byte, error)
type ThreadRunStepDelta ¶ added in v1.1.0
type ThreadRunStepDelta string // Always "thread.run.step.delta"
func (ThreadRunStepDelta) Default ¶ added in v1.1.0
func (c ThreadRunStepDelta) Default() ThreadRunStepDelta
func (ThreadRunStepDelta) MarshalJSON ¶ added in v1.1.0
func (c ThreadRunStepDelta) MarshalJSON() ([]byte, error)
type ThreadRunStepExpired ¶ added in v1.1.0
type ThreadRunStepExpired string // Always "thread.run.step.expired"
func (ThreadRunStepExpired) Default ¶ added in v1.1.0
func (c ThreadRunStepExpired) Default() ThreadRunStepExpired
func (ThreadRunStepExpired) MarshalJSON ¶ added in v1.1.0
func (c ThreadRunStepExpired) MarshalJSON() ([]byte, error)
type ThreadRunStepFailed ¶ added in v1.1.0
type ThreadRunStepFailed string // Always "thread.run.step.failed"
func (ThreadRunStepFailed) Default ¶ added in v1.1.0
func (c ThreadRunStepFailed) Default() ThreadRunStepFailed
func (ThreadRunStepFailed) MarshalJSON ¶ added in v1.1.0
func (c ThreadRunStepFailed) MarshalJSON() ([]byte, error)
type ThreadRunStepInProgress ¶ added in v1.1.0
type ThreadRunStepInProgress string // Always "thread.run.step.in_progress"
func (ThreadRunStepInProgress) Default ¶ added in v1.1.0
func (c ThreadRunStepInProgress) Default() ThreadRunStepInProgress
func (ThreadRunStepInProgress) MarshalJSON ¶ added in v1.1.0
func (c ThreadRunStepInProgress) MarshalJSON() ([]byte, error)
type Tokens ¶ added in v1.7.0
type Tokens string // Always "tokens"
func (Tokens) MarshalJSON ¶ added in v1.7.0
type ToolCalls ¶ added in v1.1.0
type ToolCalls string // Always "tool_calls"
func (ToolCalls) MarshalJSON ¶ added in v1.1.0
type TranscriptTextDelta ¶
type TranscriptTextDelta string // Always "transcript.text.delta"
func (TranscriptTextDelta) Default ¶
func (c TranscriptTextDelta) Default() TranscriptTextDelta
func (TranscriptTextDelta) MarshalJSON ¶
func (c TranscriptTextDelta) MarshalJSON() ([]byte, error)
type TranscriptTextDone ¶
type TranscriptTextDone string // Always "transcript.text.done"
func (TranscriptTextDone) Default ¶
func (c TranscriptTextDone) Default() TranscriptTextDone
func (TranscriptTextDone) MarshalJSON ¶
func (c TranscriptTextDone) 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 UploadPart ¶
type UploadPart string // Always "upload.part"
func (UploadPart) Default ¶
func (c UploadPart) Default() UploadPart
func (UploadPart) MarshalJSON ¶
func (c UploadPart) MarshalJSON() ([]byte, error)
type VectorStore ¶
type VectorStore string // Always "vector_store"
func (VectorStore) Default ¶
func (c VectorStore) Default() VectorStore
func (VectorStore) MarshalJSON ¶
func (c VectorStore) MarshalJSON() ([]byte, error)
type VectorStoreDeleted ¶
type VectorStoreDeleted string // Always "vector_store.deleted"
func (VectorStoreDeleted) Default ¶
func (c VectorStoreDeleted) Default() VectorStoreDeleted
func (VectorStoreDeleted) MarshalJSON ¶
func (c VectorStoreDeleted) MarshalJSON() ([]byte, error)
type VectorStoreFile ¶
type VectorStoreFile string // Always "vector_store.file"
func (VectorStoreFile) Default ¶
func (c VectorStoreFile) Default() VectorStoreFile
func (VectorStoreFile) MarshalJSON ¶
func (c VectorStoreFile) MarshalJSON() ([]byte, error)
type VectorStoreFileContentPage ¶
type VectorStoreFileContentPage string // Always "vector_store.file_content.page"
func (VectorStoreFileContentPage) Default ¶
func (c VectorStoreFileContentPage) Default() VectorStoreFileContentPage
func (VectorStoreFileContentPage) MarshalJSON ¶
func (c VectorStoreFileContentPage) MarshalJSON() ([]byte, error)
type VectorStoreFileDeleted ¶
type VectorStoreFileDeleted string // Always "vector_store.file.deleted"
func (VectorStoreFileDeleted) Default ¶
func (c VectorStoreFileDeleted) Default() VectorStoreFileDeleted
func (VectorStoreFileDeleted) MarshalJSON ¶
func (c VectorStoreFileDeleted) MarshalJSON() ([]byte, error)
type VectorStoreFilesBatch ¶
type VectorStoreFilesBatch string // Always "vector_store.files_batch"
func (VectorStoreFilesBatch) Default ¶
func (c VectorStoreFilesBatch) Default() VectorStoreFilesBatch
func (VectorStoreFilesBatch) MarshalJSON ¶
func (c VectorStoreFilesBatch) MarshalJSON() ([]byte, error)
type VectorStoreSearchResultsPage ¶
type VectorStoreSearchResultsPage string // Always "vector_store.search_results.page"
func (VectorStoreSearchResultsPage) Default ¶
func (c VectorStoreSearchResultsPage) Default() VectorStoreSearchResultsPage
func (VectorStoreSearchResultsPage) MarshalJSON ¶
func (c VectorStoreSearchResultsPage) 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.