googleapis / googleapis/python-genai

Is it possible to provide the chat history to Gemini Live API?

Aperta
#1,733 3 commenti 2 reazioni 1 assegnatario Assegnata a @kkorpal Vedi su GitHub
priority: p3 type: question
Lingua principale
Python
Stelle
4k
Fork
1k
Merge medio
2g 12h
PR unite (30g)
41

Descrizione

Thanks for stopping by to ask us a question! Please make sure to include:
- What you're trying to do
- What code you've already tried
- Any error messages you're getting

**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.

---

I am using Gemini Live API as a multi-model agent.
I am currently saving the generated transcriptions onto a database, for both the user and the model.

What I want to do is that, if the user reconnects to the same thread, I want to prepopulate the chat history of the current session with the messages from my database. Is there a way to provide these messages to the chat history of the Gemini Live session?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.