File size: 1,700 Bytes
2b884a0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | ---
license: mit
tags:
- movies
- embeddings
- rag
- chromadb
- sentence-transformers
size_categories:
- 1K<n<10K
---
# Movie Embeddings RAG Dataset
This dataset contains movie embeddings for Retrieval-Augmented Generation (RAG) in a movie recommendation chatbot.
## Dataset Information
- **Total Movies:** 7310
- **Date Range:** Unknown - Unknown
- **Last Updated:** 2025-11-25
- **Embedding Model:** sentence-transformers/all-MiniLM-L6-v2
- **Embedding Dimension:** 384
## Files
- `chroma.sqlite3.gz` - Compressed ChromaDB database with embeddings
- `movies.json.gz` - Compressed movie metadata (title, overview, cast, crew, etc.)
- `metadata.json` - Dataset statistics and version info
## Top Genres
- Drama: 3751 movies
- Comedy: 2319 movies
- Crime: 1079 movies
- Thriller: 1059 movies
- Animation: 900 movies
## Usage
### Download and Extract
```python
from huggingface_hub import hf_hub_download
import gzip
import shutil
# Download compressed database
db_path = hf_hub_download(
repo_id="YOUR_USERNAME/movie-embeddings-rag",
filename="chroma.sqlite3.gz",
repo_type="dataset"
)
# Decompress
with gzip.open(db_path, 'rb') as f_in:
with open('chroma.sqlite3', 'wb') as f_out:
shutil.copyfileobj(f_in, f_out)
```
### Use with ChromaDB
```python
import chromadb
client = chromadb.PersistentClient(path="./chroma_db")
collection = client.get_collection("movies")
# Search for movies
results = collection.query(
query_texts=["science fiction movie about space"],
n_results=5
)
```
## Automated Updates
This dataset is automatically updated monthly via GitHub Actions with new movie releases.
## License
MIT License - Free to use for any purpose.
|