You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using reasoning models like DeepSeek V4 for HugeGraph-LLM RAG pipeline, several components fail due to LLM output format incompatibility. Reasoning models tend to wrap outputs in markdown code blocks or use different JSON structures than what the parsers expect.
Description
When using reasoning models like DeepSeek V4 for HugeGraph-LLM RAG pipeline, several components fail due to LLM output format incompatibility. Reasoning models tend to wrap outputs in markdown code blocks or use different JSON structures than what the parsers expect.
Affected Components
1. Uvicorn
reload=Truein Docker deploymenthugegraph-llm/src/hugegraph_llm/demo/rag_demo/app.py:205reload=Trueenables file watching which conflicts with Docker bind mounts, causing the service to hang2. Keyword extraction parser incompatible with reasoning model output
hugegraph-llm/src/hugegraph_llm/operators/llm_op/keyword_extract.py:146-180_extract_keywords_from_responseexpectsKEYWORDS: word:scoreformat, but reasoning models may wrap output in markdown or return different structuresKEYWORD_EXTRACT_TYPE=textrankinstead ofllmRelated PRs
Environment