mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-10 07:46:59 +00:00
docs: update README.md
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -39,8 +39,8 @@ docker-compose up -d
|
||||
### Run Your First Model
|
||||
```bash
|
||||
# Download and run a model
|
||||
ollama pull llama3.2
|
||||
ollama run llama3.2 "Why is the sky blue?"
|
||||
ollama pull gemma3
|
||||
ollama run gemma3 "Why is the sky blue?"
|
||||
|
||||
# Interactive chat
|
||||
ollama run gemma3
|
||||
@@ -52,10 +52,10 @@ All models from [ollama.com/library](https://ollama.com/library) including Llama
|
||||
### REST API
|
||||
```bash
|
||||
# Generate response
|
||||
curl http://localhost:11434/api/generate -d '{"model": "llama3.2", "prompt": "Hello Tesla K80!"}'
|
||||
curl http://localhost:11434/api/generate -d '{"model": "gemma3, "prompt": "Hello Tesla K80!"}'
|
||||
|
||||
# Chat
|
||||
curl http://localhost:11434/api/chat -d '{"model": "llama3.2", "messages": [{"role": "user", "content": "Hello!"}]}'
|
||||
curl http://localhost:11434/api/chat -d '{"model": "gemma3, "messages": [{"role": "user", "content": "Hello!"}]}'
|
||||
```
|
||||
|
||||
## Technical Details
|
||||
|
||||
Reference in New Issue
Block a user