Chat Session Using Java SDK

Just wanted to know if you could establish a chat session with Gemini using the Java SDK. If not, when will the feature be available.

Hello dhruv,

You can follow this Java SDK documentation for details on Google Generative AI Java SDK.

I have this documentation and have also checked the github repo for the same. I haven’t been able to find anything related to establishing a chat session.

What do you mean by creating chat session - Isn’t that you have to handle as developer. Do you have any refrences where Chat Session is part of SDK.

1 Like

Hi @Dhruv_Shah

Just wanted to check if you were able to establish chat session using Java SDK without any issues.. The doc page has been updated as well.. Please reach out if you are still facing issues.