Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 2.74 KB

README.md

File metadata and controls

54 lines (37 loc) · 2.74 KB

Redis AI Java Resources

License: MIT Java Spring AI

✨ Java-based code examples, notebooks, and resources for using Redis in AI and ML applications. ✨

Notebooks | Applications | Example Applications


Notebooks

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

Applications

Application Description
applications/vector-similarity-search/spring_boot Demonstrates building a vector similarity search application using Spring Boot and Redis OM Spring

Example Notebooks & Applications

Beer Recommendation Chatbot

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

Vector Similarity Search with Redis OM Spring and Spring Boot

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