Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Using Multiple LLMs in Java with Spring AI

Dan Vega via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Discover how to integrate multiple Large Language Models (LLMs) in a single Java application using Spring AI in this informative 12-minute tutorial. Learn to set up a Spring Boot project with Spring AI dependencies, configure API keys for OpenAI and Anthropic, disable auto-configuration for chat clients, create custom beans for each LLM chat client, implement REST controllers for OpenAI and Anthropic, and make API calls to different LLMs from a single application. Gain valuable insights into leveraging both OpenAI's GPT-4 and Anthropic's Claude 3.5 Sonnet in the same Spring Boot project. Access the accompanying GitHub repository for hands-on practice and explore additional resources to enhance your understanding of integrating multiple AI models in Java projects.

Syllabus

Using Multiple LLMs in Java with Spring AI

Taught by

Dan Vega

Reviews

Start your review of Using Multiple LLMs in Java with Spring AI

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.