This website requires JavaScript.
Explore
Help
Register
Sign In
highperfocused
/
ollama
Watch
1
Star
0
Fork
0
You've already forked ollama
mirror of
https://github.com/ollama/ollama.git
synced
2025-03-21 07:12:43 +01:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
v0.5.13-rc3
Branches
Tags
View all branches
ollama
/
api
/
examples
History
Azis Alvriyanto
b901a712c6
docs: improve syntax highlighting in code blocks (
#8854
)
2025-02-07 09:55:07 -08:00
..
chat
examples: remove codified examples (
#8267
)
2025-01-13 11:26:22 -08:00
generate
examples: remove codified examples (
#8267
)
2025-01-13 11:26:22 -08:00
generate-streaming
examples: remove codified examples (
#8267
)
2025-01-13 11:26:22 -08:00
multimodal
examples: remove codified examples (
#8267
)
2025-01-13 11:26:22 -08:00
pull-progress
examples: remove codified examples (
#8267
)
2025-01-13 11:26:22 -08:00
README.md
docs: improve syntax highlighting in code blocks (
#8854
)
2025-02-07 09:55:07 -08:00
README.md
Ollama API Examples
Run the examples in this directory with:
go run example_name/main.go
Chat - Chat with a model
chat/main.go
Generate - Generate text from a model
generate/main.go
generate-streaming/main.go
Pull - Pull a model
pull-progress/main.go