Ollama
All about Ollama.
client := ollama.New("http://localhost:11434")
model, err := chatmodel.NewOllama(client, func(o *llm.OllamaOptions) {
o.ModelName = "llama2"
})
if err != nil {
// Error handling
}
Last modified December 17, 2023: Add cohere chatmodel support (d70088d)