Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEmptyPrompt = errors.New("empty prompt")
Functions ¶
This section is empty.
Types ¶
type ProviderDriver ¶
type ProviderDriver interface { GetResponse(prompt models.PromptToSend) ([]string, error) StreamAvailable() bool ToStream() ProviderStreamDriver }
type ProviderStreamDriver ¶
type ProviderStreamDriver interface {
GetStreamResponse(prompt models.PromptToSend) (StreamReceiver, error)
}
type StreamReceiver ¶
Click to show internal directories.
Click to hide internal directories.