Hello,
I am creating a chat session, conducting a series of automatic requests but I can't find a way using the python API to close the session in order to initiate another and not leave the context alive.
I am creating the session using:
chat_model = GenerativeModel('gemini-pro')
chat_model.start_chat()
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |