Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
// Complete generates a completion for the given prompt
Complete(ctx context.Context, prompt string) (string, error)
// CompleteStream generates a completion for the given prompt and returns a channel for streaming responses
CompleteStream(ctx context.Context, prompt string) (<-chan string, error)
}
Client defines the interface for LLM clients
Click to show internal directories.
Click to hide internal directories.