Enhancing Conversation Continuity in Future Gemini APIs

Dear Build with Google AI Forum,

I am writing to propose a feature enhancement for Gemini, specifically for the Gemini API, to improve conversation continuity.

Currently, developers must include the entire conversation history in each API call to maintain context, which can be cumbersome and resource-intensive.

Proposed Feature:

Implement a session management system within the Gemini API that allows developers to:

  • Initiate New Sessions: Start a new conversation session with a unique session identifier.
  • Maintain Context Automatically: Enable the API to retain conversation history within a session, eliminating the need to resend previous messages.
  • Transfer Conversations: Allow the transfer of conversation context between sessions or users, facilitating seamless interactions across different platforms or devices.

Benefits:

  • Improved Efficiency: Reduces the need to manage conversation history manually, streamlining development processes.
  • Resource Optimization: Minimizes data transmission and processing overhead by avoiding repetitive context inclusion.
  • Enhanced User Experience: Provides more coherent and contextually aware interactions for end-users.

I believe this feature would significantly enhance the functionality of Gemini and the Gemini API, and support developers in creating more dynamic and user-friendly applications.

Thank you for considering this suggestion.

Warm regards from Hamburg :anchor:,

Modified by moderator

5 Likes

I could not say it better!

This is something much needed, not that complicated and very useful in all the aspects you mention.

Besides it would present Gemini as a true intelligence, and not like a chatbot that answers quite often “I do not remember any previous question”…

1 Like

Hi there,

Interesting and surely relevant feature. I’d could make use of that easily. Also providing an interface to store and restore a session to either File API or Cloud Storage.

Maybe it could be interesting to create an issue here: https://issuetracker.google.com

Cheers