Hi everyone,
I'm using ConversationalSearchServiceClient.createSession and integrating it with SearchServiceClient.search and ConversationalSearchServiceClient.answerQuery for a custom UI. Our setup includes two buttons: "Ask a Follow-Up" and "Ask a New Question," similar to AI applications.
Current Setup:
- Session Management: We store sessionId in local storage and manage conversation history in Firestore.
- Data Retention: After 30 minutes, we delete the sessionId and related data in Firestore.
Questions:
- Session Limit: What's the max session time limit for ConversationalSearchServiceClient.createSession, and how can we set it?
- Best Practices: Any tips for managing session lifecycles and data effectively?
Thanks for your help!