✨ Java-based code examples, notebooks, and resources for using Redis in AI and ML applications. ✨
Notebook | Description |
---|---|
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 |
Application | Description |
---|---|
applications/vector-similarity-search/spring_boot | Demonstrates building a vector similarity search application using Spring Boot and Redis OM Spring |
The spring-ai-rag.ipynb
notebook demonstrates:
- Loading and embedding beer data into Redis Vector Store
- Using local transformer models for generating embeddings
- Connecting to OpenAI for LLM capabilities
- Building a RAG pipeline to answer beer-related queries
- Semantic search over beer properties and descriptions
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:
- Add movies to the Redis database
- Search for movies based on semantic similarity on the synopsis of the movie
- Perform hybrid search by adding filters to genre, cast, and year