Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ For further insights on enhancing RAG applications with dense content representa

## Recommendation systems

| Recipe | Description |
| --- | --- |
| [/recommendation-systems/content_filtering.ipynb](python-recipes/recommendation-systems/content_filtering.ipynb) | Intro content filtering example with redisvl |

### See also
An exciting example of how Redis can power production-ready systems is highlighted in our collaboration with [NVIDIA](https://developer.nvidia.com/blog/offline-to-online-feature-storage-for-real-time-recommendation-systems-with-nvidia-merlin/) to construct a state-of-the-art recommendation system.

Within [this repository](https://github.com/redis-developer/redis-nvidia-recsys), you'll find three examples, each escalating in complexity, showcasing the process of building such a system.
Expand Down
2 changes: 1 addition & 1 deletion python-recipes/RAG/01_redisvl.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@
" 'chunk_id': i,\n",
" 'content': chunk.page_content,\n",
" # For HASH -- must convert embeddings to bytes\n",
" 'text_embedding': array_to_buffer(embeddings[i])\n",
" 'text_embedding': array_to_buffer(embeddings[i], dtype='float32')\n",
" } for i, chunk in enumerate(chunks)\n",
"]\n",
"\n",
Expand Down
2 changes: 1 addition & 1 deletion python-recipes/RAG/04_advanced_redisvl.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@
" 'chunk_id': f'{i}',\n",
" 'proposition': proposition,\n",
" # For HASH -- must convert embeddings to bytes\n",
" 'text_embedding': array_to_buffer(prop_embeddings[i])\n",
" 'text_embedding': array_to_buffer(prop_embeddings[i], dtype=\"float32\")\n",
" } for i, proposition in enumerate(propositions)\n",
"]\n",
"\n",
Expand Down
Loading
Loading