| 123456789101112131415161718192021222324252627282930 |
- # Qdrant'i chat'i vestluste andmete kustutamine.
- docker exec -ti open-webui bash -c "python /scripts/clean_qdrant.py;"
- # Kustuta olemasolev kollektsioon Qdrantis (see eemaldab 768‑dim skeemi).
- curl -X DELETE http://qdrant:6333/collections/open-webui_files
- # Embeddings näide
- curl http://localhost:11434/api/embeddings \
- -d '{
- "model": "nomic-embed-text",
- "prompt": "How to implement semantic search with Python"
- }
- # LLM serveri testimine
- curl -s http://100.87.1.24:8070/v1/chat/completions \
- -H "Authorization: Bearer sk-dummy-key-not-required" \
- -H "Content-Type: application/json" \
- -d '{
- "model": "unsloth_gpt-oss-120b-Q4_K_M.gguf",
- "messages": [
- {"role":"system","content":"You are a helpful assistant."},
- {"role":"user","content":"Say hello"}
- ],
- "stream": false
- }' | jq
|