Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Response ¶
type Response struct { ID string `json:"id"` Type string `json:"object"` Timestamp int `json:"created"` Model string `json:"model"` Choices []struct { Index int `json:"index"` Message Message `json:"message"` FinishReason string `json:"finish_reason"` } `json:"choices"` Usage struct { PromptTokens int `json:"prompt_tokens"` CompletionTokens int `json:"completion_tokens"` TotalTokens int `json:"total_tokens"` } `json:"usage"` Fingerprint string `json:"system_fingerprint"` }
Click to show internal directories.
Click to hide internal directories.