Documentation
¶
Index ¶
Constants ¶
View Source
const ( MockServer = "" OllamaServer = "ollama" MockEchoModel = "echo" LLMRoleSystem = "system" LLMRoleUser = "user" LLMRoleAI = "ai" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LLMClient ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
func NewMockClient ¶
func NewMockClient(model string, options string) (*MockClient, error)
func (*MockClient) CreateEmbedding ¶
type OllamaClient ¶
type OllamaClient struct {
// contains filtered or unexported fields
}
func NewOllamaClient ¶
func NewOllamaClient(addr string, model string, options string) (*OllamaClient, error)
func (*OllamaClient) CreateEmbedding ¶
Click to show internal directories.
Click to hide internal directories.