docs: update README.md

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Shang Chieh Tseng
2025-07-20 09:27:42 +08:00
parent 7c029749bc
commit ef67ce4d2e

View File

@@ -39,8 +39,8 @@ docker-compose up -d
### Run Your First Model ### Run Your First Model
```bash ```bash
# Download and run a model # Download and run a model
ollama pull llama3.2 ollama pull gemma3
ollama run llama3.2 "Why is the sky blue?" ollama run gemma3 "Why is the sky blue?"
# Interactive chat # Interactive chat
ollama run gemma3 ollama run gemma3
@@ -52,10 +52,10 @@ All models from [ollama.com/library](https://ollama.com/library) including Llama
### REST API ### REST API
```bash ```bash
# Generate response # 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 # 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 ## Technical Details