Documentation
¶
Index ¶
- func ValueOf[T Constant[T]]() T
- type AllowedTools
- 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 CreatedAt
- type Custom
- type CustomToolCall
- type CustomToolCallOutput
- 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 Grammar
- 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 ReasoningText
- 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 ResponseCustomToolCallInputDelta
- type ResponseCustomToolCallInputDone
- 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 ResponseReasoningSummaryPartAdded
- type ResponseReasoningSummaryPartDone
- type ResponseReasoningSummaryTextDelta
- type ResponseReasoningSummaryTextDone
- type ResponseReasoningTextDelta
- type ResponseReasoningTextDone
- 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 AllowedTools ¶
type AllowedTools string // Always "allowed_tools"
func (AllowedTools) Default ¶
func (c AllowedTools) Default() AllowedTools
func (AllowedTools) MarshalJSON ¶
func (c AllowedTools) MarshalJSON() ([]byte, error)
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 ¶
type AssistantDeleted string // Always "assistant.deleted"
func (AssistantDeleted) Default ¶
func (c AssistantDeleted) Default() AssistantDeleted
func (AssistantDeleted) MarshalJSON ¶
func (c AssistantDeleted) MarshalJSON() ([]byte, error)
type BatchCancelled ¶
type BatchCancelled string // Always "batch.cancelled"
func (BatchCancelled) Default ¶
func (c BatchCancelled) Default() BatchCancelled
func (BatchCancelled) MarshalJSON ¶
func (c BatchCancelled) MarshalJSON() ([]byte, error)
type BatchCompleted ¶
type BatchCompleted string // Always "batch.completed"
func (BatchCompleted) Default ¶
func (c BatchCompleted) Default() BatchCompleted
func (BatchCompleted) MarshalJSON ¶
func (c BatchCompleted) MarshalJSON() ([]byte, error)
type BatchExpired ¶
type BatchExpired string // Always "batch.expired"
func (BatchExpired) Default ¶
func (c BatchExpired) Default() BatchExpired
func (BatchExpired) MarshalJSON ¶
func (c BatchExpired) MarshalJSON() ([]byte, error)
type BatchFailed ¶
type BatchFailed string // Always "batch.failed"
func (BatchFailed) Default ¶
func (c BatchFailed) Default() BatchFailed
func (BatchFailed) MarshalJSON ¶
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 ¶
type CodeInterpreter string // Always "code_interpreter"
func (CodeInterpreter) Default ¶
func (c CodeInterpreter) Default() CodeInterpreter
func (CodeInterpreter) MarshalJSON ¶
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 ¶
type ContainerFile string // Always "container.file"
func (ContainerFile) Default ¶
func (c ContainerFile) Default() ContainerFile
func (ContainerFile) MarshalJSON ¶
func (c ContainerFile) 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 CreatedAt ¶ added in v2.1.0
type CreatedAt string // Always "created_at"
func (CreatedAt) MarshalJSON ¶ added in v2.1.0
type CustomToolCall ¶
type CustomToolCall string // Always "custom_tool_call"
func (CustomToolCall) Default ¶
func (c CustomToolCall) Default() CustomToolCall
func (CustomToolCall) MarshalJSON ¶
func (c CustomToolCall) MarshalJSON() ([]byte, error)
type CustomToolCallOutput ¶
type CustomToolCallOutput string // Always "custom_tool_call_output"
func (CustomToolCallOutput) Default ¶
func (c CustomToolCallOutput) Default() CustomToolCallOutput
func (CustomToolCallOutput) MarshalJSON ¶
func (c CustomToolCallOutput) 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 EvalRunCanceled ¶
type EvalRunCanceled string // Always "eval.run.canceled"
func (EvalRunCanceled) Default ¶
func (c EvalRunCanceled) Default() EvalRunCanceled
func (EvalRunCanceled) MarshalJSON ¶
func (c EvalRunCanceled) MarshalJSON() ([]byte, error)
type EvalRunFailed ¶
type EvalRunFailed string // Always "eval.run.failed"
func (EvalRunFailed) Default ¶
func (c EvalRunFailed) Default() EvalRunFailed
func (EvalRunFailed) MarshalJSON ¶
func (c EvalRunFailed) MarshalJSON() ([]byte, error)
type EvalRunSucceeded ¶
type EvalRunSucceeded string // Always "eval.run.succeeded"
func (EvalRunSucceeded) Default ¶
func (c EvalRunSucceeded) Default() EvalRunSucceeded
func (EvalRunSucceeded) MarshalJSON ¶
func (c EvalRunSucceeded) 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 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 ¶
type FineTuningJobCancelled string // Always "fine_tuning.job.cancelled"
func (FineTuningJobCancelled) Default ¶
func (c FineTuningJobCancelled) Default() FineTuningJobCancelled
func (FineTuningJobCancelled) MarshalJSON ¶
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 ¶
type FineTuningJobFailed string // Always "fine_tuning.job.failed"
func (FineTuningJobFailed) Default ¶
func (c FineTuningJobFailed) Default() FineTuningJobFailed
func (FineTuningJobFailed) MarshalJSON ¶
func (c FineTuningJobFailed) MarshalJSON() ([]byte, error)
type FineTuningJobSucceeded ¶
type FineTuningJobSucceeded string // Always "fine_tuning.job.succeeded"
func (FineTuningJobSucceeded) Default ¶
func (c FineTuningJobSucceeded) Default() FineTuningJobSucceeded
func (FineTuningJobSucceeded) MarshalJSON ¶
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 ImageEditCompleted ¶
type ImageEditCompleted string // Always "image_edit.completed"
func (ImageEditCompleted) Default ¶
func (c ImageEditCompleted) Default() ImageEditCompleted
func (ImageEditCompleted) MarshalJSON ¶
func (c ImageEditCompleted) MarshalJSON() ([]byte, error)
type ImageEditPartialImage ¶
type ImageEditPartialImage string // Always "image_edit.partial_image"
func (ImageEditPartialImage) Default ¶
func (c ImageEditPartialImage) Default() ImageEditPartialImage
func (ImageEditPartialImage) MarshalJSON ¶
func (c ImageEditPartialImage) MarshalJSON() ([]byte, error)
type ImageGeneration ¶
type ImageGeneration string // Always "image_generation"
func (ImageGeneration) Default ¶
func (c ImageGeneration) Default() ImageGeneration
func (ImageGeneration) MarshalJSON ¶
func (c ImageGeneration) MarshalJSON() ([]byte, error)
type ImageGenerationCall ¶
type ImageGenerationCall string // Always "image_generation_call"
func (ImageGenerationCall) Default ¶
func (c ImageGenerationCall) Default() ImageGenerationCall
func (ImageGenerationCall) MarshalJSON ¶
func (c ImageGenerationCall) MarshalJSON() ([]byte, error)
type ImageGenerationCompleted ¶
type ImageGenerationCompleted string // Always "image_generation.completed"
func (ImageGenerationCompleted) Default ¶
func (c ImageGenerationCompleted) Default() ImageGenerationCompleted
func (ImageGenerationCompleted) MarshalJSON ¶
func (c ImageGenerationCompleted) MarshalJSON() ([]byte, error)
type ImageGenerationPartialImage ¶
type ImageGenerationPartialImage string // Always "image_generation.partial_image"
func (ImageGenerationPartialImage) Default ¶
func (c ImageGenerationPartialImage) Default() ImageGenerationPartialImage
func (ImageGenerationPartialImage) MarshalJSON ¶
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 ¶
type LocalShell string // Always "local_shell"
func (LocalShell) Default ¶
func (c LocalShell) Default() LocalShell
func (LocalShell) MarshalJSON ¶
func (c LocalShell) MarshalJSON() ([]byte, error)
type LocalShellCall ¶
type LocalShellCall string // Always "local_shell_call"
func (LocalShellCall) Default ¶
func (c LocalShellCall) Default() LocalShellCall
func (LocalShellCall) MarshalJSON ¶
func (c LocalShellCall) MarshalJSON() ([]byte, error)
type LocalShellCallOutput ¶
type LocalShellCallOutput string // Always "local_shell_call_output"
func (LocalShellCallOutput) Default ¶
func (c LocalShellCallOutput) Default() LocalShellCallOutput
func (LocalShellCallOutput) MarshalJSON ¶
func (c LocalShellCallOutput) MarshalJSON() ([]byte, error)
type McpApprovalRequest ¶
type McpApprovalRequest string // Always "mcp_approval_request"
func (McpApprovalRequest) Default ¶
func (c McpApprovalRequest) Default() McpApprovalRequest
func (McpApprovalRequest) MarshalJSON ¶
func (c McpApprovalRequest) MarshalJSON() ([]byte, error)
type McpApprovalResponse ¶
type McpApprovalResponse string // Always "mcp_approval_response"
func (McpApprovalResponse) Default ¶
func (c McpApprovalResponse) Default() McpApprovalResponse
func (McpApprovalResponse) MarshalJSON ¶
func (c McpApprovalResponse) 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 MessageCreation ¶
type MessageCreation string // Always "message_creation"
func (MessageCreation) Default ¶
func (c MessageCreation) Default() MessageCreation
func (MessageCreation) MarshalJSON ¶
func (c MessageCreation) MarshalJSON() ([]byte, error)
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 ReasoningText ¶
type ReasoningText string // Always "reasoning_text"
func (ReasoningText) Default ¶
func (c ReasoningText) Default() ReasoningText
func (ReasoningText) MarshalJSON ¶
func (c ReasoningText) 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 ¶
type ResponseCancelled string // Always "response.cancelled"
func (ResponseCancelled) Default ¶
func (c ResponseCancelled) Default() ResponseCancelled
func (ResponseCancelled) MarshalJSON ¶
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 ResponseCustomToolCallInputDelta ¶
type ResponseCustomToolCallInputDelta string // Always "response.custom_tool_call_input.delta"
func (ResponseCustomToolCallInputDelta) Default ¶
func (c ResponseCustomToolCallInputDelta) Default() ResponseCustomToolCallInputDelta
func (ResponseCustomToolCallInputDelta) MarshalJSON ¶
func (c ResponseCustomToolCallInputDelta) MarshalJSON() ([]byte, error)
type ResponseCustomToolCallInputDone ¶
type ResponseCustomToolCallInputDone string // Always "response.custom_tool_call_input.done"
func (ResponseCustomToolCallInputDone) Default ¶
func (c ResponseCustomToolCallInputDone) Default() ResponseCustomToolCallInputDone
func (ResponseCustomToolCallInputDone) MarshalJSON ¶
func (c ResponseCustomToolCallInputDone) 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 ¶
type ResponseImageGenerationCallCompleted string // Always "response.image_generation_call.completed"
func (ResponseImageGenerationCallCompleted) Default ¶
func (c ResponseImageGenerationCallCompleted) Default() ResponseImageGenerationCallCompleted
func (ResponseImageGenerationCallCompleted) MarshalJSON ¶
func (c ResponseImageGenerationCallCompleted) MarshalJSON() ([]byte, error)
type ResponseImageGenerationCallGenerating ¶
type ResponseImageGenerationCallGenerating string // Always "response.image_generation_call.generating"
func (ResponseImageGenerationCallGenerating) Default ¶
func (c ResponseImageGenerationCallGenerating) Default() ResponseImageGenerationCallGenerating
func (ResponseImageGenerationCallGenerating) MarshalJSON ¶
func (c ResponseImageGenerationCallGenerating) MarshalJSON() ([]byte, error)
type ResponseImageGenerationCallInProgress ¶
type ResponseImageGenerationCallInProgress string // Always "response.image_generation_call.in_progress"
func (ResponseImageGenerationCallInProgress) Default ¶
func (c ResponseImageGenerationCallInProgress) Default() ResponseImageGenerationCallInProgress
func (ResponseImageGenerationCallInProgress) MarshalJSON ¶
func (c ResponseImageGenerationCallInProgress) MarshalJSON() ([]byte, error)
type ResponseImageGenerationCallPartialImage ¶
type ResponseImageGenerationCallPartialImage string // Always "response.image_generation_call.partial_image"
func (ResponseImageGenerationCallPartialImage) Default ¶
func (c ResponseImageGenerationCallPartialImage) Default() ResponseImageGenerationCallPartialImage
func (ResponseImageGenerationCallPartialImage) MarshalJSON ¶
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 ¶
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 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 ¶
type ResponseQueued string // Always "response.queued"
func (ResponseQueued) Default ¶
func (c ResponseQueued) Default() ResponseQueued
func (ResponseQueued) MarshalJSON ¶
func (c ResponseQueued) 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 ResponseReasoningTextDelta ¶
type ResponseReasoningTextDelta string // Always "response.reasoning_text.delta"
func (ResponseReasoningTextDelta) Default ¶
func (c ResponseReasoningTextDelta) Default() ResponseReasoningTextDelta
func (ResponseReasoningTextDelta) MarshalJSON ¶
func (c ResponseReasoningTextDelta) MarshalJSON() ([]byte, error)
type ResponseReasoningTextDone ¶
type ResponseReasoningTextDone string // Always "response.reasoning_text.done"
func (ResponseReasoningTextDone) Default ¶
func (c ResponseReasoningTextDone) Default() ResponseReasoningTextDone
func (ResponseReasoningTextDone) MarshalJSON ¶
func (c ResponseReasoningTextDone) 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 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 ¶
type SubmitToolOutputs string // Always "submit_tool_outputs"
func (SubmitToolOutputs) Default ¶
func (c SubmitToolOutputs) Default() SubmitToolOutputs
func (SubmitToolOutputs) MarshalJSON ¶
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 ThreadCreated ¶
type ThreadCreated string // Always "thread.created"
func (ThreadCreated) Default ¶
func (c ThreadCreated) Default() ThreadCreated
func (ThreadCreated) MarshalJSON ¶
func (c ThreadCreated) MarshalJSON() ([]byte, error)
type ThreadDeleted ¶
type ThreadDeleted string // Always "thread.deleted"
func (ThreadDeleted) Default ¶
func (c ThreadDeleted) Default() ThreadDeleted
func (ThreadDeleted) MarshalJSON ¶
func (c ThreadDeleted) MarshalJSON() ([]byte, error)
type ThreadMessage ¶
type ThreadMessage string // Always "thread.message"
func (ThreadMessage) Default ¶
func (c ThreadMessage) Default() ThreadMessage
func (ThreadMessage) MarshalJSON ¶
func (c ThreadMessage) MarshalJSON() ([]byte, error)
type ThreadMessageCompleted ¶
type ThreadMessageCompleted string // Always "thread.message.completed"
func (ThreadMessageCompleted) Default ¶
func (c ThreadMessageCompleted) Default() ThreadMessageCompleted
func (ThreadMessageCompleted) MarshalJSON ¶
func (c ThreadMessageCompleted) MarshalJSON() ([]byte, error)
type ThreadMessageCreated ¶
type ThreadMessageCreated string // Always "thread.message.created"
func (ThreadMessageCreated) Default ¶
func (c ThreadMessageCreated) Default() ThreadMessageCreated
func (ThreadMessageCreated) MarshalJSON ¶
func (c ThreadMessageCreated) MarshalJSON() ([]byte, error)
type ThreadMessageDeleted ¶
type ThreadMessageDeleted string // Always "thread.message.deleted"
func (ThreadMessageDeleted) Default ¶
func (c ThreadMessageDeleted) Default() ThreadMessageDeleted
func (ThreadMessageDeleted) MarshalJSON ¶
func (c ThreadMessageDeleted) MarshalJSON() ([]byte, error)
type ThreadMessageDelta ¶
type ThreadMessageDelta string // Always "thread.message.delta"
func (ThreadMessageDelta) Default ¶
func (c ThreadMessageDelta) Default() ThreadMessageDelta
func (ThreadMessageDelta) MarshalJSON ¶
func (c ThreadMessageDelta) MarshalJSON() ([]byte, error)
type ThreadMessageInProgress ¶
type ThreadMessageInProgress string // Always "thread.message.in_progress"
func (ThreadMessageInProgress) Default ¶
func (c ThreadMessageInProgress) Default() ThreadMessageInProgress
func (ThreadMessageInProgress) MarshalJSON ¶
func (c ThreadMessageInProgress) MarshalJSON() ([]byte, error)
type ThreadMessageIncomplete ¶
type ThreadMessageIncomplete string // Always "thread.message.incomplete"
func (ThreadMessageIncomplete) Default ¶
func (c ThreadMessageIncomplete) Default() ThreadMessageIncomplete
func (ThreadMessageIncomplete) MarshalJSON ¶
func (c ThreadMessageIncomplete) MarshalJSON() ([]byte, error)
type ThreadRunCancelled ¶
type ThreadRunCancelled string // Always "thread.run.cancelled"
func (ThreadRunCancelled) Default ¶
func (c ThreadRunCancelled) Default() ThreadRunCancelled
func (ThreadRunCancelled) MarshalJSON ¶
func (c ThreadRunCancelled) MarshalJSON() ([]byte, error)
type ThreadRunCancelling ¶
type ThreadRunCancelling string // Always "thread.run.cancelling"
func (ThreadRunCancelling) Default ¶
func (c ThreadRunCancelling) Default() ThreadRunCancelling
func (ThreadRunCancelling) MarshalJSON ¶
func (c ThreadRunCancelling) MarshalJSON() ([]byte, error)
type ThreadRunCompleted ¶
type ThreadRunCompleted string // Always "thread.run.completed"
func (ThreadRunCompleted) Default ¶
func (c ThreadRunCompleted) Default() ThreadRunCompleted
func (ThreadRunCompleted) MarshalJSON ¶
func (c ThreadRunCompleted) MarshalJSON() ([]byte, error)
type ThreadRunCreated ¶
type ThreadRunCreated string // Always "thread.run.created"
func (ThreadRunCreated) Default ¶
func (c ThreadRunCreated) Default() ThreadRunCreated
func (ThreadRunCreated) MarshalJSON ¶
func (c ThreadRunCreated) MarshalJSON() ([]byte, error)
type ThreadRunExpired ¶
type ThreadRunExpired string // Always "thread.run.expired"
func (ThreadRunExpired) Default ¶
func (c ThreadRunExpired) Default() ThreadRunExpired
func (ThreadRunExpired) MarshalJSON ¶
func (c ThreadRunExpired) MarshalJSON() ([]byte, error)
type ThreadRunFailed ¶
type ThreadRunFailed string // Always "thread.run.failed"
func (ThreadRunFailed) Default ¶
func (c ThreadRunFailed) Default() ThreadRunFailed
func (ThreadRunFailed) MarshalJSON ¶
func (c ThreadRunFailed) MarshalJSON() ([]byte, error)
type ThreadRunInProgress ¶
type ThreadRunInProgress string // Always "thread.run.in_progress"
func (ThreadRunInProgress) Default ¶
func (c ThreadRunInProgress) Default() ThreadRunInProgress
func (ThreadRunInProgress) MarshalJSON ¶
func (c ThreadRunInProgress) MarshalJSON() ([]byte, error)
type ThreadRunIncomplete ¶
type ThreadRunIncomplete string // Always "thread.run.incomplete"
func (ThreadRunIncomplete) Default ¶
func (c ThreadRunIncomplete) Default() ThreadRunIncomplete
func (ThreadRunIncomplete) MarshalJSON ¶
func (c ThreadRunIncomplete) MarshalJSON() ([]byte, error)
type ThreadRunQueued ¶
type ThreadRunQueued string // Always "thread.run.queued"
func (ThreadRunQueued) Default ¶
func (c ThreadRunQueued) Default() ThreadRunQueued
func (ThreadRunQueued) MarshalJSON ¶
func (c ThreadRunQueued) MarshalJSON() ([]byte, error)
type ThreadRunRequiresAction ¶
type ThreadRunRequiresAction string // Always "thread.run.requires_action"
func (ThreadRunRequiresAction) Default ¶
func (c ThreadRunRequiresAction) Default() ThreadRunRequiresAction
func (ThreadRunRequiresAction) MarshalJSON ¶
func (c ThreadRunRequiresAction) MarshalJSON() ([]byte, error)
type ThreadRunStep ¶
type ThreadRunStep string // Always "thread.run.step"
func (ThreadRunStep) Default ¶
func (c ThreadRunStep) Default() ThreadRunStep
func (ThreadRunStep) MarshalJSON ¶
func (c ThreadRunStep) MarshalJSON() ([]byte, error)
type ThreadRunStepCancelled ¶
type ThreadRunStepCancelled string // Always "thread.run.step.cancelled"
func (ThreadRunStepCancelled) Default ¶
func (c ThreadRunStepCancelled) Default() ThreadRunStepCancelled
func (ThreadRunStepCancelled) MarshalJSON ¶
func (c ThreadRunStepCancelled) MarshalJSON() ([]byte, error)
type ThreadRunStepCompleted ¶
type ThreadRunStepCompleted string // Always "thread.run.step.completed"
func (ThreadRunStepCompleted) Default ¶
func (c ThreadRunStepCompleted) Default() ThreadRunStepCompleted
func (ThreadRunStepCompleted) MarshalJSON ¶
func (c ThreadRunStepCompleted) MarshalJSON() ([]byte, error)
type ThreadRunStepCreated ¶
type ThreadRunStepCreated string // Always "thread.run.step.created"
func (ThreadRunStepCreated) Default ¶
func (c ThreadRunStepCreated) Default() ThreadRunStepCreated
func (ThreadRunStepCreated) MarshalJSON ¶
func (c ThreadRunStepCreated) MarshalJSON() ([]byte, error)
type ThreadRunStepDelta ¶
type ThreadRunStepDelta string // Always "thread.run.step.delta"
func (ThreadRunStepDelta) Default ¶
func (c ThreadRunStepDelta) Default() ThreadRunStepDelta
func (ThreadRunStepDelta) MarshalJSON ¶
func (c ThreadRunStepDelta) MarshalJSON() ([]byte, error)
type ThreadRunStepExpired ¶
type ThreadRunStepExpired string // Always "thread.run.step.expired"
func (ThreadRunStepExpired) Default ¶
func (c ThreadRunStepExpired) Default() ThreadRunStepExpired
func (ThreadRunStepExpired) MarshalJSON ¶
func (c ThreadRunStepExpired) MarshalJSON() ([]byte, error)
type ThreadRunStepFailed ¶
type ThreadRunStepFailed string // Always "thread.run.step.failed"
func (ThreadRunStepFailed) Default ¶
func (c ThreadRunStepFailed) Default() ThreadRunStepFailed
func (ThreadRunStepFailed) MarshalJSON ¶
func (c ThreadRunStepFailed) MarshalJSON() ([]byte, error)
type ThreadRunStepInProgress ¶
type ThreadRunStepInProgress string // Always "thread.run.step.in_progress"
func (ThreadRunStepInProgress) Default ¶
func (c ThreadRunStepInProgress) Default() ThreadRunStepInProgress
func (ThreadRunStepInProgress) MarshalJSON ¶
func (c ThreadRunStepInProgress) MarshalJSON() ([]byte, error)
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.