ollama/api/examples
..
chat
generate
generate-streaming
multimodal
pull-progress
README.md

README.md

Ollama API Examples

Run the examples in this directory with:

go run example_name/main.go

Chat - Chat with a model

Generate - Generate text from a model

Pull - Pull a model