Skip to content

BootcampToProd/spring-boot-ai-gemini-integration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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 πŸš€