Documentation ¶
Index ¶
- type ChatGPT
- func (c *ChatGPT) Completion(ctx context.Context, prompt Prompt) (io.Reader, error)
- func (c *ChatGPT) CreateAudio(ctx context.Context, text string) ([]byte, error)
- func (c *ChatGPT) CreateImage(ctx context.Context, prompt string) ([]byte, error)
- func (c *ChatGPT) CreateTranscript(ctx context.Context, audio []byte) (string, error)
- type Dummy
- type Ollama
- type Prompt
- type Vertex
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChatGPT ¶
func NewChatGPT ¶
func (*ChatGPT) Completion ¶
func (*ChatGPT) CreateAudio ¶
func (*ChatGPT) CreateImage ¶
type Ollama ¶
func (*Ollama) Completion ¶
Click to show internal directories.
Click to hide internal directories.