constant

package
v0.4.0-alpha.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValueOf

func ValueOf[T Constant[T]]() T

ValueOf gives the default value of a constant from its type. It's helpful when constructing constants as variants in a one-of. Note that empty structs are marshalled by default. Usage: constant.ValueOf[constant.Foo]()

Types

type Array

type Array string // Always "array"

func (Array) Default

func (c Array) Default() Array

func (Array) MarshalJSON

func (c Array) MarshalJSON() ([]byte, error)

type Assistant

type Assistant string // Always "assistant"

func (Assistant) Default

func (c Assistant) Default() Assistant

func (Assistant) MarshalJSON

func (c Assistant) MarshalJSON() ([]byte, error)

type Auto

type Auto string // Always "auto"

func (Auto) Default

func (c Auto) Default() Auto

func (Auto) MarshalJSON

func (c Auto) MarshalJSON() ([]byte, error)

type Basic

type Basic string // Always "basic"

func (Basic) Default

func (c Basic) Default() Basic

func (Basic) MarshalJSON

func (c Basic) MarshalJSON() ([]byte, error)

type Benchmark

type Benchmark string // Always "benchmark"

func (Benchmark) Default

func (c Benchmark) Default() Benchmark

func (Benchmark) MarshalJSON

func (c Benchmark) MarshalJSON() ([]byte, error)

type Boolean

type Boolean string // Always "boolean"

func (Boolean) Default

func (c Boolean) Default() Boolean

func (Boolean) MarshalJSON

func (c Boolean) 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 (ChatCompletionChunk) MarshalJSON

func (c ChatCompletionChunk) MarshalJSON() ([]byte, error)

type ChatCompletionInput

type ChatCompletionInput string // Always "chat_completion_input"

func (ChatCompletionInput) Default

func (ChatCompletionInput) MarshalJSON

func (c ChatCompletionInput) MarshalJSON() ([]byte, error)

type CompletionInput

type CompletionInput string // Always "completion_input"

func (CompletionInput) Default

func (c CompletionInput) Default() CompletionInput

func (CompletionInput) MarshalJSON

func (c CompletionInput) MarshalJSON() ([]byte, error)

type Constant

type Constant[T any] interface {
	Default() T
}

type ContainerFileCitation

type ContainerFileCitation string // Always "container_file_citation"

func (ContainerFileCitation) Default

func (ContainerFileCitation) MarshalJSON

func (c ContainerFileCitation) MarshalJSON() ([]byte, error)

type Conversation

type Conversation string // Always "conversation"

func (Conversation) Default

func (c Conversation) Default() Conversation

func (Conversation) MarshalJSON

func (c Conversation) MarshalJSON() ([]byte, error)

type CreatedAt

type CreatedAt string // Always "created_at"

func (CreatedAt) Default

func (c CreatedAt) Default() CreatedAt

func (CreatedAt) MarshalJSON

func (c CreatedAt) MarshalJSON() ([]byte, error)

type Dataset

type Dataset string // Always "dataset"

func (Dataset) Default

func (c Dataset) Default() Dataset

func (Dataset) MarshalJSON

func (c Dataset) MarshalJSON() ([]byte, error)

type Developer

type Developer string // Always "developer"

func (Developer) Default

func (c Developer) Default() Developer

func (Developer) MarshalJSON

func (c Developer) MarshalJSON() ([]byte, error)

type Embedding

type Embedding string // Always "embedding"

func (Embedding) Default

func (c Embedding) Default() Embedding

func (Embedding) MarshalJSON

func (c Embedding) MarshalJSON() ([]byte, error)

type File

type File string // Always "file"

func (File) Default

func (c File) Default() File

func (File) MarshalJSON

func (c File) 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 FilePath

type FilePath string // Always "file_path"

func (FilePath) Default

func (c FilePath) Default() FilePath

func (FilePath) MarshalJSON

func (c FilePath) 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 Function

type Function string // Always "function"

func (Function) Default

func (c Function) Default() Function

func (Function) MarshalJSON

func (c Function) 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 (FunctionCallOutput) MarshalJSON

func (c FunctionCallOutput) MarshalJSON() ([]byte, error)

type Greedy

type Greedy string // Always "greedy"

func (Greedy) Default

func (c Greedy) Default() Greedy

func (Greedy) MarshalJSON

func (c Greedy) MarshalJSON() ([]byte, error)

type Image

type Image string // Always "image"

func (Image) Default

func (c Image) Default() Image

func (Image) MarshalJSON

func (c Image) MarshalJSON() ([]byte, error)

type ImageURL

type ImageURL string // Always "image_url"

func (ImageURL) Default

func (c ImageURL) Default() ImageURL

func (ImageURL) MarshalJSON

func (c ImageURL) MarshalJSON() ([]byte, error)

type InputFile

type InputFile string // Always "input_file"

func (InputFile) Default

func (c InputFile) Default() InputFile

func (InputFile) MarshalJSON

func (c InputFile) 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 InputText

type InputText string // Always "input_text"

func (InputText) Default

func (c InputText) Default() InputText

func (InputText) MarshalJSON

func (c InputText) MarshalJSON() ([]byte, error)

type Json

type Json string // Always "json"

func (Json) Default

func (c Json) Default() Json

func (Json) MarshalJSON

func (c Json) 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 List

type List string // Always "list"

func (List) Default

func (c List) Default() List

func (List) MarshalJSON

func (c List) MarshalJSON() ([]byte, error)

type LlmAsJudge

type LlmAsJudge string // Always "llm_as_judge"

func (LlmAsJudge) Default

func (c LlmAsJudge) Default() LlmAsJudge

func (LlmAsJudge) MarshalJSON

func (c LlmAsJudge) MarshalJSON() ([]byte, error)

type LoRa

type LoRa string // Always "LoRA"

func (LoRa) Default

func (c LoRa) Default() LoRa

func (LoRa) MarshalJSON

func (c LoRa) MarshalJSON() ([]byte, error)

type Mcp

type Mcp string // Always "mcp"

func (Mcp) Default

func (c Mcp) Default() Mcp

func (Mcp) MarshalJSON

func (c Mcp) MarshalJSON() ([]byte, error)

type McpApprovalRequest

type McpApprovalRequest string // Always "mcp_approval_request"

func (McpApprovalRequest) Default

func (McpApprovalRequest) MarshalJSON

func (c McpApprovalRequest) MarshalJSON() ([]byte, error)

type McpApprovalResponse

type McpApprovalResponse string // Always "mcp_approval_response"

func (McpApprovalResponse) Default

func (McpApprovalResponse) MarshalJSON

func (c McpApprovalResponse) MarshalJSON() ([]byte, error)

type McpCall

type McpCall string // Always "mcp_call"

func (McpCall) Default

func (c McpCall) Default() McpCall

func (McpCall) MarshalJSON

func (c McpCall) 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 Message

type Message string // Always "message"

func (Message) Default

func (c Message) Default() Message

func (Message) MarshalJSON

func (c Message) MarshalJSON() ([]byte, error)

type Model

type Model string // Always "model"

func (Model) Default

func (c Model) Default() Model

func (Model) MarshalJSON

func (c Model) MarshalJSON() ([]byte, error)

type Number

type Number string // Always "number"

func (Number) Default

func (c Number) Default() Number

func (Number) MarshalJSON

func (c Number) MarshalJSON() ([]byte, error)

type Object

type Object string // Always "object"

func (Object) Default

func (c Object) Default() Object

func (Object) MarshalJSON

func (c Object) 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 Qat

type Qat string // Always "QAT"

func (Qat) Default

func (c Qat) Default() Qat

func (Qat) MarshalJSON

func (c Qat) 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 Refusal

type Refusal string // Always "refusal"

func (Refusal) Default

func (c Refusal) Default() Refusal

func (Refusal) MarshalJSON

func (c Refusal) MarshalJSON() ([]byte, error)

type RegexParser

type RegexParser string // Always "regex_parser"

func (RegexParser) Default

func (c RegexParser) Default() RegexParser

func (RegexParser) MarshalJSON

func (c RegexParser) MarshalJSON() ([]byte, error)

type Response

type Response string // Always "response"

func (Response) Default

func (c Response) Default() Response

func (Response) MarshalJSON

func (c Response) MarshalJSON() ([]byte, error)

type ResponseCompleted

type ResponseCompleted string // Always "response.completed"

func (ResponseCompleted) Default

func (ResponseCompleted) MarshalJSON

func (c ResponseCompleted) MarshalJSON() ([]byte, error)

type ResponseContentPartAdded

type ResponseContentPartAdded string // Always "response.content_part.added"

func (ResponseContentPartAdded) Default

func (ResponseContentPartAdded) MarshalJSON

func (c ResponseContentPartAdded) MarshalJSON() ([]byte, error)

type ResponseContentPartDone

type ResponseContentPartDone string // Always "response.content_part.done"

func (ResponseContentPartDone) Default

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 (ResponseFileSearchCallCompleted) MarshalJSON

func (c ResponseFileSearchCallCompleted) MarshalJSON() ([]byte, error)

type ResponseFileSearchCallInProgress

type ResponseFileSearchCallInProgress string // Always "response.file_search_call.in_progress"

func (ResponseFileSearchCallInProgress) Default

func (ResponseFileSearchCallInProgress) MarshalJSON

func (c ResponseFileSearchCallInProgress) MarshalJSON() ([]byte, error)

type ResponseFileSearchCallSearching

type ResponseFileSearchCallSearching string // Always "response.file_search_call.searching"

func (ResponseFileSearchCallSearching) Default

func (ResponseFileSearchCallSearching) MarshalJSON

func (c ResponseFileSearchCallSearching) MarshalJSON() ([]byte, error)

type ResponseFunctionCallArgumentsDelta

type ResponseFunctionCallArgumentsDelta string // Always "response.function_call_arguments.delta"

func (ResponseFunctionCallArgumentsDelta) Default

func (ResponseFunctionCallArgumentsDelta) MarshalJSON

func (c ResponseFunctionCallArgumentsDelta) MarshalJSON() ([]byte, error)

type ResponseFunctionCallArgumentsDone

type ResponseFunctionCallArgumentsDone string // Always "response.function_call_arguments.done"

func (ResponseFunctionCallArgumentsDone) Default

func (ResponseFunctionCallArgumentsDone) MarshalJSON

func (c ResponseFunctionCallArgumentsDone) MarshalJSON() ([]byte, error)

type ResponseInProgress

type ResponseInProgress string // Always "response.in_progress"

func (ResponseInProgress) Default

func (ResponseInProgress) MarshalJSON

func (c ResponseInProgress) MarshalJSON() ([]byte, error)

type ResponseIncomplete

type ResponseIncomplete string // Always "response.incomplete"

func (ResponseIncomplete) Default

func (ResponseIncomplete) MarshalJSON

func (c ResponseIncomplete) MarshalJSON() ([]byte, error)

type ResponseMcpCallArgumentsDelta

type ResponseMcpCallArgumentsDelta string // Always "response.mcp_call.arguments.delta"

func (ResponseMcpCallArgumentsDelta) Default

func (ResponseMcpCallArgumentsDelta) MarshalJSON

func (c ResponseMcpCallArgumentsDelta) MarshalJSON() ([]byte, error)

type ResponseMcpCallArgumentsDone

type ResponseMcpCallArgumentsDone string // Always "response.mcp_call.arguments.done"

func (ResponseMcpCallArgumentsDone) Default

func (ResponseMcpCallArgumentsDone) MarshalJSON

func (c ResponseMcpCallArgumentsDone) MarshalJSON() ([]byte, error)

type ResponseMcpCallCompleted

type ResponseMcpCallCompleted string // Always "response.mcp_call.completed"

func (ResponseMcpCallCompleted) Default

func (ResponseMcpCallCompleted) MarshalJSON

func (c ResponseMcpCallCompleted) MarshalJSON() ([]byte, error)

type ResponseMcpCallFailed

type ResponseMcpCallFailed string // Always "response.mcp_call.failed"

func (ResponseMcpCallFailed) Default

func (ResponseMcpCallFailed) MarshalJSON

func (c ResponseMcpCallFailed) MarshalJSON() ([]byte, error)

type ResponseMcpCallInProgress

type ResponseMcpCallInProgress string // Always "response.mcp_call.in_progress"

func (ResponseMcpCallInProgress) Default

func (ResponseMcpCallInProgress) MarshalJSON

func (c ResponseMcpCallInProgress) MarshalJSON() ([]byte, error)

type ResponseMcpListToolsCompleted

type ResponseMcpListToolsCompleted string // Always "response.mcp_list_tools.completed"

func (ResponseMcpListToolsCompleted) Default

func (ResponseMcpListToolsCompleted) MarshalJSON

func (c ResponseMcpListToolsCompleted) MarshalJSON() ([]byte, error)

type ResponseMcpListToolsFailed

type ResponseMcpListToolsFailed string // Always "response.mcp_list_tools.failed"

func (ResponseMcpListToolsFailed) Default

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 (ResponseMcpListToolsInProgress) MarshalJSON

func (c ResponseMcpListToolsInProgress) MarshalJSON() ([]byte, error)

type ResponseOutputItemAdded

type ResponseOutputItemAdded string // Always "response.output_item.added"

func (ResponseOutputItemAdded) Default

func (ResponseOutputItemAdded) MarshalJSON

func (c ResponseOutputItemAdded) MarshalJSON() ([]byte, error)

type ResponseOutputItemDone

type ResponseOutputItemDone string // Always "response.output_item.done"

func (ResponseOutputItemDone) Default

func (ResponseOutputItemDone) MarshalJSON

func (c ResponseOutputItemDone) MarshalJSON() ([]byte, error)

type ResponseOutputTextAnnotationAdded

type ResponseOutputTextAnnotationAdded string // Always "response.output_text.annotation.added"

func (ResponseOutputTextAnnotationAdded) Default

func (ResponseOutputTextAnnotationAdded) MarshalJSON

func (c ResponseOutputTextAnnotationAdded) MarshalJSON() ([]byte, error)

type ResponseOutputTextDelta

type ResponseOutputTextDelta string // Always "response.output_text.delta"

func (ResponseOutputTextDelta) Default

func (ResponseOutputTextDelta) MarshalJSON

func (c ResponseOutputTextDelta) MarshalJSON() ([]byte, error)

type ResponseOutputTextDone

type ResponseOutputTextDone string // Always "response.output_text.done"

func (ResponseOutputTextDone) Default

func (ResponseOutputTextDone) MarshalJSON

func (c ResponseOutputTextDone) MarshalJSON() ([]byte, error)

type ResponseReasoningSummaryPartAdded

type ResponseReasoningSummaryPartAdded string // Always "response.reasoning_summary_part.added"

func (ResponseReasoningSummaryPartAdded) Default

func (ResponseReasoningSummaryPartAdded) MarshalJSON

func (c ResponseReasoningSummaryPartAdded) MarshalJSON() ([]byte, error)

type ResponseReasoningSummaryPartDone

type ResponseReasoningSummaryPartDone string // Always "response.reasoning_summary_part.done"

func (ResponseReasoningSummaryPartDone) Default

func (ResponseReasoningSummaryPartDone) MarshalJSON

func (c ResponseReasoningSummaryPartDone) MarshalJSON() ([]byte, error)

type ResponseReasoningSummaryTextDelta

type ResponseReasoningSummaryTextDelta string // Always "response.reasoning_summary_text.delta"

func (ResponseReasoningSummaryTextDelta) Default

func (ResponseReasoningSummaryTextDelta) MarshalJSON

func (c ResponseReasoningSummaryTextDelta) MarshalJSON() ([]byte, error)

type ResponseReasoningSummaryTextDone

type ResponseReasoningSummaryTextDone string // Always "response.reasoning_summary_text.done"

func (ResponseReasoningSummaryTextDone) Default

func (ResponseReasoningSummaryTextDone) MarshalJSON

func (c ResponseReasoningSummaryTextDone) MarshalJSON() ([]byte, error)

type ResponseReasoningTextDelta

type ResponseReasoningTextDelta string // Always "response.reasoning_text.delta"

func (ResponseReasoningTextDelta) Default

func (ResponseReasoningTextDelta) MarshalJSON

func (c ResponseReasoningTextDelta) MarshalJSON() ([]byte, error)

type ResponseReasoningTextDone

type ResponseReasoningTextDone string // Always "response.reasoning_text.done"

func (ResponseReasoningTextDone) Default

func (ResponseReasoningTextDone) MarshalJSON

func (c ResponseReasoningTextDone) MarshalJSON() ([]byte, error)

type ResponseRefusalDelta

type ResponseRefusalDelta string // Always "response.refusal.delta"

func (ResponseRefusalDelta) Default

func (ResponseRefusalDelta) MarshalJSON

func (c ResponseRefusalDelta) MarshalJSON() ([]byte, error)

type ResponseRefusalDone

type ResponseRefusalDone string // Always "response.refusal.done"

func (ResponseRefusalDone) Default

func (ResponseRefusalDone) MarshalJSON

func (c ResponseRefusalDone) MarshalJSON() ([]byte, error)

type ResponseWebSearchCallCompleted

type ResponseWebSearchCallCompleted string // Always "response.web_search_call.completed"

func (ResponseWebSearchCallCompleted) Default

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 (ResponseWebSearchCallInProgress) MarshalJSON

func (c ResponseWebSearchCallInProgress) MarshalJSON() ([]byte, error)

type ResponseWebSearchCallSearching

type ResponseWebSearchCallSearching string // Always "response.web_search_call.searching"

func (ResponseWebSearchCallSearching) Default

func (ResponseWebSearchCallSearching) MarshalJSON

func (c ResponseWebSearchCallSearching) MarshalJSON() ([]byte, error)

type Rows

type Rows string // Always "rows"

func (Rows) Default

func (c Rows) Default() Rows

func (Rows) MarshalJSON

func (c Rows) MarshalJSON() ([]byte, error)

type ScoringFunction

type ScoringFunction string // Always "scoring_function"

func (ScoringFunction) Default

func (c ScoringFunction) Default() ScoringFunction

func (ScoringFunction) MarshalJSON

func (c ScoringFunction) MarshalJSON() ([]byte, error)

type Shield

type Shield string // Always "shield"

func (Shield) Default

func (c Shield) Default() Shield

func (Shield) MarshalJSON

func (c Shield) MarshalJSON() ([]byte, error)

type Static

type Static string // Always "static"

func (Static) Default

func (c Static) Default() Static

func (Static) MarshalJSON

func (c Static) MarshalJSON() ([]byte, error)

type String

type String string // Always "string"

func (String) Default

func (c String) Default() String

func (String) MarshalJSON

func (c String) 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 System

type System string // Always "system"

func (System) Default

func (c System) Default() System

func (System) MarshalJSON

func (c System) MarshalJSON() ([]byte, error)

type Text

type Text string // Always "text"

func (Text) Default

func (c Text) Default() Text

func (Text) MarshalJSON

func (c Text) 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 Tool

type Tool string // Always "tool"

func (Tool) Default

func (c Tool) Default() Tool

func (Tool) MarshalJSON

func (c Tool) MarshalJSON() ([]byte, error)

type ToolGroup

type ToolGroup string // Always "tool_group"

func (ToolGroup) Default

func (c ToolGroup) Default() ToolGroup

func (ToolGroup) MarshalJSON

func (c ToolGroup) MarshalJSON() ([]byte, error)

type TopK

type TopK string // Always "top_k"

func (TopK) Default

func (c TopK) Default() TopK

func (TopK) MarshalJSON

func (c TopK) MarshalJSON() ([]byte, error)

type TopP

type TopP string // Always "top_p"

func (TopP) Default

func (c TopP) Default() TopP

func (TopP) MarshalJSON

func (c TopP) 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 Union

type Union string // Always "union"

func (Union) Default

func (c Union) Default() Union

func (Union) MarshalJSON

func (c Union) MarshalJSON() ([]byte, error)

type Uri

type Uri string // Always "uri"

func (Uri) Default

func (c Uri) Default() Uri

func (Uri) MarshalJSON

func (c Uri) MarshalJSON() ([]byte, error)

type User

type User string // Always "user"

func (User) Default

func (c User) Default() User

func (User) MarshalJSON

func (c User) MarshalJSON() ([]byte, error)

type VectorStoreFileContentPage

type VectorStoreFileContentPage string // Always "vector_store.file_content.page"

func (VectorStoreFileContentPage) Default

func (VectorStoreFileContentPage) MarshalJSON

func (c VectorStoreFileContentPage) 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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL