Skip to content

soheilrahsaz/crypto-news-rag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crypto AI Assist RAG with Cassandra

This repository contains a Retrieval-Augmented Generation (RAG) application built to showcase the integration of Spring AI and Apache Cassandra's Vector Search for querying cryptocurrency news using natural language. The application retrieves relevant news articles based on user queries, leveraging embeddings for semantic search and Cassandra for scalable vector storage. For a detailed explanation of the project, including setup, architecture, and implementation, refer to the Medium article.

Dataset Source

This project uses real-world cryptocurrency news articles from https://github.com/soheilrahsaz/cryptoNewsDataset. The dataset includes user reactions such as likes, dislikes, and sentiment votes, which are used for reranking search results.

Features

  • Stores and queries embeddings in Apache Cassandra with vector search.
  • Natural language query processing for crypto news.
  • Extracts date ranges and cryptocurrencies from queries using LLMs.
  • Uses all-MiniLM-L6-v2 model for generating embeddings.
  • Reranks results based on user votes for relevance.
  • Built with Cassandra, Spring AI, Ollama (Llama 3.2).

About

A simple RAG application for Cryptopanic news using Apache Cassandra and Spring AI

Resources

Stars

Watchers

Forks