Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartServer ¶
Types ¶
type LLMProvider ¶ added in v0.2.0
type LLMProvider interface { ListModels(ctx context.Context) ([]llms.Model, error) ChatCompletion(ctx context.Context, req llms.ChatCompletionRequest, streamingFunc func(resp llms.StreamingChatCompletionResponse), options ...llms.RequestOption) }
type LLMService ¶
type LLMService struct {
// contains filtered or unexported fields
}
func NewLLMService ¶
func NewLLMService(provider LLMProvider) *LLMService
Click to show internal directories.
Click to hide internal directories.