Skip to main content

A search engine using machine learning models and Elasticsearch for advanced document retrieval.

Project description

kolzchut-ragbot

Overview

This project is a search engine that uses machine learning models and Elasticsearch to provide advanced document retrieval. You can use kolzchut-ragbot to demonstrate the engine's document retrieval abilities.

Features

  • Document representation and validation
  • Document embedding and indexing in Elasticsearch
  • Advanced search using machine learning model
  • Integration with LLM (Large Language Model) client for query answering

Installation

From PyPI

pip install kolzchut-ragbot

From Source

  1. Clone the repository:

    git clone https://github.com/shmuelrob/rag-bot.git
    cd rag-bot
    
  2. Create a virtual environment and activate it:

    python -m venv venv
    source venv/bin/activate  # On Windows use: venv\Scripts\activate
    
  3. Install the required dependencies:

    pip install -r requirements.txt
    

Configuration

Set the following environment variables:

  • ES_EMBEDDING_INDEX: The name of the Elasticsearch index for embeddings.
  • TOKENIZER_LOCATION: The location of the tokenizer model.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kolzchut_ragbot-1.6.0.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kolzchut_ragbot-1.6.0-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file kolzchut_ragbot-1.6.0.tar.gz.

File metadata

  • Download URL: kolzchut_ragbot-1.6.0.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for kolzchut_ragbot-1.6.0.tar.gz
Algorithm Hash digest
SHA256 2b0f015f1a06b1182623058ebdbd869ee66210bbe320d104f3c6c8f1f5e1bdd0
MD5 5f82b826ed17c6875a002ca421edf800
BLAKE2b-256 75f41bf54e7f7f4d50d0a9fc59992f32dc447f4385da1647cb20f742fa1cac81

See more details on using hashes here.

File details

Details for the file kolzchut_ragbot-1.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for kolzchut_ragbot-1.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6f6c569924c69d2d9daa0fe2cf7e2c2a07d51637f0079755af328b95e9f0b1e4
MD5 667dc22ada463c0f05df367275f19abb
BLAKE2b-256 7822ae9559d225ac240a9d15f81942f7db9b79f2f4b14dde684c719724c7ad6a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page