# Ollama API Examples

Run the examples in this directory with:

```
go run example_name/main.go
```
## Chat - Chat with a model
- [chat/main.go](chat/main.go)

## Generate - Generate text from a model
- [generate/main.go](generate/main.go)
- [generate-streaming/main.go](generate-streaming/main.go)

## Pull - Pull a model
- [pull-progress/main.go](pull-progress/main.go)