Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateImageFormat ¶
func ValidateImageSize ¶
func ValidateInput ¶
func ValidateInput(prompt interface{}) error
func ValidatePrompt ¶
func ValidatePrompt(prompt interface{}) error
Types ¶
type Choice ¶
type Choice struct { Text string `json:"text"` Index int64 `json:"index"` Logprobs *ChoiceLogprobs `json:"logprobs"` FinishReason string `json:"finish_reason"` }
type ChoiceLogprobs ¶
Click to show internal directories.
Click to hide internal directories.