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
# Use this to answer questions based on user chat history (summarized and semantically indexed).
49
+
# Use this when the user asks about prior chats, what they asked earlier, or wants a summary of past conversations.
50
+
51
+
# Use this tool when the user refers to anything mentioned before, asks for a summary of previous messages or sessions,
52
+
# or references phrases like 'what I said earlier', 'things we discussed', 'my earlier question', 'until now', 'till date', 'all my conversations' or 'previously mentioned'.
53
+
# The chat history is semantically indexed and summarized using vector search.
"""Answer questions based on user chat history (summarized and semantically indexed).
84
+
Use this when the user asks about prior chats, what they asked earlier, or wants a summary of past conversations.
85
+
Answer questions based on the user's prior chat history.
86
+
87
+
Use this tool when the user refers to anything mentioned before, asks for a summary of previous messages or sessions,
88
+
or references phrases like 'what I said earlier', 'things we discussed', 'my earlier question', 'until now', 'till date', 'all my conversations' or 'previously mentioned'.
89
+
The chat history is semantically indexed and summarized using vector search."""
90
+
91
+
logger.info(f"search_chat_history called with: {question}")
92
+
api_key=awaitget_any_api_key()
93
+
ifnotapi_key:
94
+
logger.error("API key is not available. Cannot search chat history.")
95
+
return"OpenAI API key is not available. Cannot search chat history."
0 commit comments