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.7.17.tar.gz (13.6 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.7.17-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kolzchut_ragbot-1.7.17.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for kolzchut_ragbot-1.7.17.tar.gz
Algorithm Hash digest
SHA256 19e8824734d350fd5e72ef2c40240e9c9946c0719f0ac8be61f5976f400757f8
MD5 019f5846390c47609028378d1e773665
BLAKE2b-256 415426948996f2e40fd28d84936e17ec0a830cd04648de6392bd95e88de17aa5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kolzchut_ragbot-1.7.17-py3-none-any.whl
Algorithm Hash digest
SHA256 dbe000f41cb3711bc7b8efbeb81e7229d97f19b9264d15fa0db20385a0940ed5
MD5 a38ba19bb963234b13850a1bc51ddc80
BLAKE2b-256 44a272280cb816dad0a14aabede7b589729704f5e90ed959d45d8f0754ca6f4a

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