Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Embeddings ¶
type Embeddings struct {
Id string `json:"id"`
Data []Embedding `json:"data"`
Model string `json:"model"`
Usage struct {
PromptTokerns int `json:"prompt_tokens"`
TotalTokens int `json:"total_tokens"`
} `json:"usage"`
}
An set of created embeddings
type MessageChoice ¶
type MessageChoice struct {
Message `json:"message"`
Index int `json:"index"`
FinishReason string `json:"finish_reason"`
}
One choice of chat completion messages
Click to show internal directories.
Click to hide internal directories.