Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AudioRequest ¶
type ChatRequest ¶
type ChatResponse ¶
type ChatResponse struct { Choices []struct { Message Message `json:"message"` } `json:"choices"` }
type OpenAI ¶
type OpenAI struct {
// contains filtered or unexported fields
}
func (*OpenAI) GenerateAudio ¶
type TranscriptionResponse ¶
type TranscriptionResponse struct {
Text string `json:"text"`
}
Click to show internal directories.
Click to hide internal directories.