Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Vertex AI Search - Sessions Maximum Time limit

TD-16
New Member

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!


0 0 23
0 REPLIES 0