Skip to content

Commit 7540004

Browse files
committed
Adding recipe for agent memory with Java/SpringBoot
1 parent 7f33826 commit 7540004

12 files changed

+497
-24
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,20 @@ AI gateways manage LLM traffic through a centralized, managed layer that can imp
153153

154154
A set of Java recipes can be found under [/java-recipes](/java-recipes/README.md).
155155

156+
#### Notebooks
157+
158+
| Notebook | Description |
159+
|---------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------|
160+
| [notebooks/RAG/spring_ai_redis_rag.ipynb](./java-recipes/notebooks/RAG/spring_ai_redis_rag.ipynb) | Demonstrates building a RAG-ba sed beer recommendation chatbot using Spring AI and Redis as the vector store |
161+
162+
#### Applications
163+
164+
| Application | Description |
165+
|--------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------|
166+
| [applications/agent-memory](./java-recipes/applications/agent-memory/spring_boot_agent_memory.md) | Demonstrates how to implement short-term and long-term memory for AI agents using Redis vector capabilities |
167+
| [applications/vector-similarity-search/redis-om-spring](./java-recipes/applications/vector-similarity-search/redis-om-spring/spring_boot_redis_om_spring.md) | Demonstrates building a vector similarity search application using Spring Boot and Redis OM Spring |
168+
| [applications/vector-similarity-search/spring-ai](./java-recipes/applications/vector-similarity-search/spring-ai/spring_boot_spring_ai.md) | Demonstrates building a vector similarity search application using Spring Boot and Spring AI |
169+
156170

157171
## Tutorials
158172
Need a *deeper-dive* through different use cases and topics?

java-recipes/README.md

Lines changed: 5 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -32,28 +32,9 @@ Notebooks require a Jupyter Notebook environment to run. Check out the [Setup In
3232

3333
## Applications
3434

35-
| Application | Description |
36-
|-------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------|
37-
| [applications/vector-similarity-search/redis-om-spring](./applications/vector-similarity-search/redis-om-spring/spring_boot_redis_om_spring.md) | Demonstrates building a vector similarity search application using Spring Boot and Redis OM Spring |
38-
| [applications/vector-similarity-search/spring-ai](./applications/vector-similarity-search/spring-ai/spring_boot_spring_ai.md) | Demonstrates building a vector similarity search application using Spring Boot and Spring AI |
39-
40-
41-
## Example Notebooks & Applications
42-
43-
### Beer Recommendation Chatbot
44-
45-
The `spring-ai-rag.ipynb` notebook demonstrates:
46-
47-
- Loading and embedding beer data into Redis Vector Store
48-
- Using local transformer models for generating embeddings
49-
- Connecting to OpenAI for LLM capabilities
50-
- Building a RAG pipeline to answer beer-related queries
51-
- Semantic search over beer properties and descriptions
52-
53-
### Vector Similarity Search with Redis OM Spring and Spring Boot
54-
55-
The `spring_boot_redis_om_spring` directory contains a Spring Boot application that demonstrates how to use Redis OM Spring for vector similarity search. The application allows you to:
56-
- Add movies to the Redis database
57-
- Search for movies based on semantic similarity on the synopsis of the movie
58-
- Perform hybrid search by adding filters to genre, cast, and year
35+
| Application | Description |
36+
|-------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------|
37+
| [applications/agent-memory](./applications/agent-memory/spring_boot_agent_memory.md) | Demonstrates how to implement short-term and long-term memory for AI agents using Redis vector capabilities |
38+
| [applications/vector-similarity-search/redis-om-spring](./applications/vector-similarity-search/redis-om-spring/spring_boot_redis_om_spring.md) | Demonstrates building a vector similarity search application using Spring Boot and Redis OM Spring |
39+
| [applications/vector-similarity-search/spring-ai](./applications/vector-similarity-search/spring-ai/spring_boot_spring_ai.md) | Demonstrates building a vector similarity search application using Spring Boot and Spring AI |
5940

133 KB
Loading
7.54 KB
Loading
838 KB
Loading
1.54 MB
Loading
785 KB
Loading
172 KB
Loading
213 KB
Loading
209 KB
Loading

0 commit comments

Comments
 (0)