Learn how to use a locally hosted chat model and an embedding model with Spring AI in LM Studio.
Also find me here:
Baeldung Author
Manfred Ng
I have been a software developer since graduation and have worked on diverse projects using various Java technologies and frameworks. I enjoy gaming and staying active during my free time. 😎
Here's what I've written (so far):
Baeldung on Java
- All
- Spring AI (8)
- Java IO (6)
- JPA (6)
- Spring Data (4)
- Spring Boot (4)
- Persistence (4)
- Java String (4)
- Artificial Intelligence (4)
- Testing (3)
- Java Web (2)
- Spring Web (1)
- Spring (1)
- Security (1)
- REST (1)
- Java Array (1)
- Java (1)
- Data (1)
- Algorithms (1)
Anthropic Agent Skills Support in Spring AI
Filed under Spring AI
Learn how to use Anthropic with agent skills for structured output in specific formats via Spring AI.
Testing Model Context Protocol (MCP) Tools in Spring AI
Explore how to test MCP tools on MCP servers in Spring AI using different test strategies.
Linear Programming in Java: Solving the Assignment Problem
Filed under Algorithms
Learn how to apply the ojAlgo and Apache Commons Math libraries to solve the classical assignment problem in Java.
Joining Tables Without Relation Using JPA Criteria
Filed under JPA
Explore how to construct a JPA criteria query to join tables without explicitly defining the JPA relationship.
Select Text From the Autocomplete Input using Selenium
Filed under Testing
Explore how to use Selenium to interact with an autocomplete-enabled search bar on a website.
Tool to Analyze Offline Java Heap Dumps
Filed under Java
Explore two different memory analyzers to demonstrate how we analyze the Java heap memory via an offline heap dump file.
Streaming Response in Spring AI ChatClient
Filed under Spring AI
Explore how to use Spring AI ChatClient to return a streaming chat response rather than sending the entire response at once
Google Cloud and Spring AI
Filed under Artificial Intelligence, Spring AI
Explore how we could integrate Spring AI with the Google Cloud Vertex AI platform and adopt various models to provide chat and embedding capabilities in our applications.