Skip to content

Commit

Permalink
issue #1138: get the conversation title
Browse files Browse the repository at this point in the history
  • Loading branch information
Luca Callocchia committed Dec 20, 2024
1 parent d4ef08b commit c5f6639
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ai-packages/rag-module/app/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,10 @@ async def get_user_chats(
}
},
"sort": [{"timestamp": {"order": "desc"}}],
"_source": {"includes": ["question", "timestamp", "chat_id"], "excludes": []},
"_source": {
"includes": ["title", "question", "timestamp", "chat_id"],
"excludes": [],
},
}

result = {"result": []}
Expand Down

0 comments on commit c5f6639

Please sign in to comment.