Provide a way to override system prompt at runtime #123

Closed
opened 2026-02-15 16:28:08 -05:00 by yindo · 0 comments
Owner

Originally created by @AegisTrail on GitHub (Jul 30, 2024).

( same as in ollama api #296 )

curl -X POST http://localhost:11434/api/generate -d '{
    "model": "llama2",
    "system": "You are a helpful assistant.",
    "prompt": "hello"
}
Originally created by @AegisTrail on GitHub (Jul 30, 2024). ( same as in ollama api [#296](https://github.com/ollama/ollama/issues/296) ) ``` curl -X POST http://localhost:11434/api/generate -d '{ "model": "llama2", "system": "You are a helpful assistant.", "prompt": "hello" } ```
yindo closed this issue 2026-02-15 16:28:08 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ollama/ollama-python#123