DeepSeek Integration
KoreShield forwards safe chat requests to configured providers. With DeepSeek enabled in config, call the proxy endpoint directly.
Endpoint
POST /v1/chat/completions
Example
curl -s -X POST http://localhost:8000/v1/chat/completions \
-H "Authorization: Bearer <JWT_TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-chat",
"messages": [
{"role": "user", "content": "Explain zero-knowledge proofs"}
]
}'
RAG Workflows
For retrieval-heavy prompts, scan context first:
POST /v1/rag/scan
Then submit only safe context via /v1/chat/completions.