Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AudioTtsChunk ¶ added in v0.7.0
type AudioTtsChunk string // Always "audio.tts.chunk"
func (AudioTtsChunk) Default ¶ added in v0.7.0
func (c AudioTtsChunk) Default() AudioTtsChunk
func (AudioTtsChunk) MarshalJSON ¶ added in v0.7.0
func (c AudioTtsChunk) MarshalJSON() ([]byte, error)
type ChatCompletion ¶ added in v0.7.0
type ChatCompletion string // Always "chat.completion"
func (ChatCompletion) Default ¶ added in v0.7.0
func (c ChatCompletion) Default() ChatCompletion
func (ChatCompletion) MarshalJSON ¶ added in v0.7.0
func (c ChatCompletion) MarshalJSON() ([]byte, error)
type ChatCompletionChunk ¶ added in v0.7.0
type ChatCompletionChunk string // Always "chat.completion.chunk"
func (ChatCompletionChunk) Default ¶ added in v0.7.0
func (c ChatCompletionChunk) Default() ChatCompletionChunk
func (ChatCompletionChunk) MarshalJSON ¶ added in v0.7.0
func (c ChatCompletionChunk) MarshalJSON() ([]byte, error)
type Embedding ¶ added in v0.7.0
type Embedding string // Always "embedding"
func (Embedding) MarshalJSON ¶ added in v0.7.0
type Endpoint ¶ added in v0.7.0
type Endpoint string // Always "endpoint"
func (Endpoint) MarshalJSON ¶ added in v0.7.0
type File ¶ added in v0.7.0
type File string // Always "file"
func (File) MarshalJSON ¶ added in v0.7.0
type FineTuneEvent ¶ added in v0.7.0
type FineTuneEvent string // Always "fine-tune-event"
func (FineTuneEvent) Default ¶ added in v0.7.0
func (c FineTuneEvent) Default() FineTuneEvent
func (FineTuneEvent) MarshalJSON ¶ added in v0.7.0
func (c FineTuneEvent) MarshalJSON() ([]byte, error)
type Hardware ¶ added in v0.7.0
type Hardware string // Always "hardware"
func (Hardware) MarshalJSON ¶ added in v0.7.0
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 ¶ added in v0.7.0
type List string // Always "list"
func (List) MarshalJSON ¶ added in v0.7.0
type Model ¶ added in v0.7.0
type Model string // Always "model"
func (Model) MarshalJSON ¶ added in v0.7.0
type Rerank ¶ added in v0.7.0
type Rerank string // Always "rerank"
func (Rerank) MarshalJSON ¶ added in v0.7.0
type TextCompletion ¶ added in v0.7.0
type TextCompletion string // Always "text.completion"
func (TextCompletion) Default ¶ added in v0.7.0
func (c TextCompletion) Default() TextCompletion
func (TextCompletion) MarshalJSON ¶ added in v0.7.0
func (c TextCompletion) MarshalJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.