mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
add interpreter to graph (#1347)
### What problem does this PR solve? #918 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -587,5 +587,6 @@ You're a question analyzer.
|
||||
Answer format: (in language of user's question)
|
||||
- keyword:
|
||||
"""
|
||||
kwd, _ = chat_mdl.chat(prompt, [{"role": "user", "content": content}], {"temperature": 0.2})
|
||||
kwd = chat_mdl.chat(prompt, [{"role": "user", "content": content}], {"temperature": 0.2})
|
||||
if isinstance(kwd, tuple): return kwd[0]
|
||||
return kwd
|
||||
|
||||
Reference in New Issue
Block a user