examples: remove codified examples (#8267)

This commit is contained in:
Parth Sareen
2025-01-13 11:26:22 -08:00
committed by GitHub
parent 17fcdea698
commit 84a2314463
85 changed files with 23 additions and 8775 deletions

17
api/examples/README.md Normal file
View File

@@ -0,0 +1,17 @@
# 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)