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.
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 Boot (6)
- Java IO (5)
- JPA (5)
- Spring Data (4)
- Persistence (4)
- Java String (4)
- Artificial Intelligence (4)
- Spring (2)
- Java Web (2)
- Testing (1)
- Spring Web (1)
- Security (1)
- REST (1)
- Java Array (1)
- Data (1)
- Cloud (1)
Chat Memory in Spring AI
Filed under Artificial Intelligence, Spring Boot
Explore different options of chat memory provided in Spring AIÂ and provide examples on how we integrate the chat memory with the chat client.
A Guide to Embeddings Model API in Spring AI
Filed under Artificial Intelligence, Spring
The embeddings model API in Spring AI provides the abstraction layer and support for model providers like OpenAI, enabling us to incorporate it into our Java applications.
Determine if a File Is a PDF File in Java
Filed under Java IO
Explore several ways to determine whether a file is a PDF in Java using the file signature and with different libraries
Extracting Structured Data From Images Using Spring AI
Filed under Artificial Intelligence, Spring Boot
Build a web service that accepts an uploaded image, passes it to the OpenAI chat model for image analysis, and returns a structured output with relevant information.
Enable HTTP2 with Tomcat in Spring Boot
Filed under Spring Boot
Learn how to configure your Spring Boot application to enable HTTP/2 on an embedded Tomcat server.
Check Component Vulnerabilities Using OWASP Dependency-Check
Filed under Security
Learn about OWASP Dependency-Check, a Maven plugin that can help us identify known vulnerabilities in our application
Dynamic Spring Data JPA Repository Query With Arbitrary AND Clauses
Filed under JPA, Spring Data
Explore three approaches to creating dynamic queries in the Spring Data JPA repository: query by Example, query by Specification, and query by Querydsl.
Comparison of HSSFWorkbook, XSSFWorkbook, and SXSSFWorkbook in Apache POI
Filed under Data
Evaluate and compare the functionalities of Apache POI’s three Workbook classes to choose the best option for your particular use case.