Documentation ¶
Index ¶
- Variables
- func CheckIfModelExists(requestName string) error
- func CheckIfModelExistsOrPull(modelName string) error
- func FormatTextAsMarkdownPrompt(text string) string
- func GetOllamaModelList() ([]string, error)
- func NewOllama(modelName, URL string) (*ollama.LLM, error)
- func NewOllamaEmbeddingLLM() (*ollama.LLM, error)
- func OllamaPullModel(modelName string) error
- func ParsingErrorPrompt() string
Constants ¶
This section is empty.
Variables ¶
View Source
var EmbeddingsModel = "nomic-embed-text:v1.5"
Functions ¶
func CheckIfModelExists ¶
func GetOllamaModelList ¶
func NewOllamaEmbeddingLLM ¶
func OllamaPullModel ¶
func ParsingErrorPrompt ¶
func ParsingErrorPrompt() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.