Skip to content

antas-marcin/weaviate-hybrid-reranker-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weaviate Hybird, Reranker example

🎯 Overview

This is a simple demo of how one can run Weaviate vectorizer, reranker and generative Ollama modules and presents how one can perform meaningful searches.

📦 Requirements

In order to be able to create Weaviate one needs at least:

  1. Docker
  2. Python3

💡 Running

In order to run the setup one needs to issue:

docker compose up -d

Please note that below operations take some time to succeed.

Pull Aya-Expanse model. It's an open source multi linugal large language model from Cohere. Please note that you need at least 5GB of free space on your disk.

docker exec -i generative_ollama ollama pull aya-expanse:8b

In order to run notebooks, it's advised to setup a venv for a project.

python3 -m venv .venv
source .venv/bin/activate
pip3 install -r requirements.txt

📖 How to use notebooks

Prior running the examples please run import notebook:

  1. Import data: (0-import.ipynb)

Examples:

  1. Reranker example: (1-reranker.ipynb)
  2. Hybrid example: (2-hybrid.ipynb)
  3. RAG example: (3-rag.ipynb)

🔗 Useful links

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published