Skip to content

This is a chatbot presented during my talk in Google I/O Extended Manila 2024

License

Notifications You must be signed in to change notification settings

rjtmahinay/spring-ai-gemini-chatbot

Repository files navigation

Gemini Chatbot using Spring AI

This is a chatbot presented during my talk in Google I/O Extended Manila 2024.

Session Title

Java in AI: Implementation of Google Vertex AI using Spring AI and Hilla

Dynamic Diagram

Gemini Chatbot Dynamic Diagram

Sequence

  1. User send credentials via Google Cloud Shell
  2. Google Cloud Shell respond back if the authentication is successful
  3. User send a message
  4. Chatbot verifies if it can connect to user's Google Cloud project
  5. Return the verification result
  6. Call the Chat endpoint
  7. Call the Chat API of Google Cloud via HTTP
  8. Google Cloud Java Chat API uses Gemini Model
  9. Gemini Model responds back based on the user message
  10. Google Cloud Java SDK return the model response via HTTP
  11. Spring AI return the model response with modification (if any, based on business logic)
  12. The Chatbot shows the message

Running locally

About

This is a chatbot presented during my talk in Google I/O Extended Manila 2024

Topics

Resources

License

Stars

Watchers

Forks