fix:客服agent增加转人工
This commit is contained in:
@@ -42,7 +42,7 @@ source 只能是 dialogue_confirmed、dialogue_stated、dialogue_inferred。
|
||||
)
|
||||
interest_signal = self._interest_fallback(query)
|
||||
try:
|
||||
response = await self.llm_client.chat(prompt, temperature=0, max_tokens=800)
|
||||
response = await self.llm_client.chat(prompt, temperature=0)
|
||||
result = self._parse(response)
|
||||
except Exception:
|
||||
if interest_signal:
|
||||
@@ -123,4 +123,4 @@ source 只能是 dialogue_confirmed、dialogue_stated、dialogue_inferred。
|
||||
return result
|
||||
|
||||
|
||||
__all__ = ["DialogueMemoryExtractor"]
|
||||
__all__ = ["DialogueMemoryExtractor"]
|
||||
Reference in New Issue
Block a user