Learn about how to use the Model Context Protocol when integrating with LLMs using Spring AI.
Also find me here:
Baeldung Author
Hardik Singh Behl
Software developer proficient in the Java, Spring and AWS ecosystem. Hardik is also an AWS Community Builder who has been sharing his knowledge through his open source projects and articles.
Here's what I've written (so far):
Baeldung on Java
- All
- Artificial Intelligence (15)
- Spring AI (14)
- Cloud (8)
- Spring Boot (7)
- Persistence (5)
- Spring Security (3)
- NoSQL (3)
- Testing (2)
- Spring Data (2)
- Spring Cloud (1)
- Networking (1)
- Java (1)
- Data (1)
- Core Java (1)
Testing LLM Responses Using Spring AI Evaluators
Filed under Artificial Intelligence, Spring AI, Testing
Learn how to use Spring AI Evaluators to check the relevance and factual accuracy of LLM responses.
Using Amazon Nova Models With Spring AI
Filed under Artificial Intelligence, Spring AI
Learn how to use Amazon Nova understanding models with Spring AI to build a simple textual and visual input chatbot.
Using Anthropic’s Claude Models With Spring AI
Filed under Artificial Intelligence, Spring AI
Explore how to use Anthropic’s Claude models with Spring AI by building a simple chatbot capable of understanding textual and visual inputs and engaging in multi-turn conversations.
Using Hugging Face Models With Spring AI and Ollama
Filed under Artificial Intelligence, Spring AI
Explore how to use Hugging Face models with Spring AI and Ollama by building a simple chatbot using a chat completion model and implement semantic search using an embedding model.
Introduction to AutoMQ: A Cost-Effective Kafka Alternative
Learn about AutoMQ, the cloud-native alternative to Apache Kafka that focuses on reducing cost and increasing efficiency.
Introduction to ClickHouse Database
Filed under Persistence
Learn how to use the Online Analytical Processing database ClickHouse in Java.
Spring AI With ChromaDB Vector Store
Filed under Artificial Intelligence, Spring AI
Learn how to integrate ChromaDB, an open-source vector store, with Spring AI.
AI Image Generation With OpenAI DALL·E 3 in Java
Filed under Artificial Intelligence, Spring AI
Learn how to generate images with OpenAI’s DALL·E 3 model using Spring AI.
Baeldung on Computer Science
- All
- Artificial Intelligence (2)
Understanding AI Prompt Injection Attacks
Filed under Artificial Intelligence
Understand the different types of prompt injection attacks, and a few prevention strategies.
Understanding User, Assistant, and System Roles in ChatGPT
Filed under Artificial Intelligence
Explore the user, assistant, and system roles in the ChatGPT API.
Baeldung on Ops
- All
- Cloud (2)
Understanding the AssumeRolePolicyDocument in AWS IAM
Filed under Cloud
Learn about the AWS IAM AssumeRolePolicyDocument and how to use it with CloudFormation.
Comparison of AWS CloudHSM and AWS KMS
Filed under Cloud
Compare the AWS CloudHSM and AWS KMS services and explored the key features and differences between them