/spring-boot-ai-gemini-integration

A simple Spring Boot AI application showcasing how to integrate Google Gemini with Spring AI

Primary LanguageJava

Integrating Google Gemini with Spring AI: Free LLM Access for Your POC

This repository demonstrates how to integrate Google Gemini with Spring AI, including:

  • A basic chat client example.
  • An advanced chat client example with MCP integration for tools support.

📌 Important Notes

🔑 Replace Placeholders Before Running

  • Update <your-gemini-api-key> with your actual Gemini API key.
  • For the MCP integration example, replace the sample paths with the paths from your own file system where you want to perform file system-related operations.
    • /Users/username/Desktop
    • /Users/username/Downloads

📖 Learn More

For a complete walkthrough and explanation of the integration, read our blog: Integrating Google Gemini with Spring AI: Free LLM Access for Your POC

🎥 Visual Learning: Prefer video tutorials? Watch our step-by-step implementation guide on YouTube.
👉 Spring AI + Google Gemini: Free LLM Integration 🚀