Merge remote-tracking branch 'origin/dev_ty_06_end' into llm_framework

This commit is contained in:
aries_ckt 2023-07-04 14:29:10 +08:00
commit b50faddad0
2 changed files with 2 additions and 2 deletions

View File

@ -118,7 +118,7 @@ async def dialogue_list( user_id: str = None):
)
dialogues.append(conv_vo)
return Result[ConversationVo].succ(dialogues[-10:][::-1])
return Result[ConversationVo].succ(dialogues[-10:])
@router.post("/v1/chat/dialogue/scenes", response_model=Result[List[ChatSceneVo]])

View File

@ -25,7 +25,7 @@ CFG = Config()
class ChatKnowledge(BaseChat):
chat_scene: str = ChatScene.ChatKnowledge.value
chat_scene: str = ChatScene.ChatKnowledge.value()
"""Number of results to return from the query"""