Skip to main content

A module to facilitate local testing of RAG pipeline for multiple datatypes

Project description

multi_rag

This module facilitates testing RAG pipelines on Local machines with chroma_db, with text embeddings from 'bge-base-en-v1.5' and image embeddings from 'clip-vit-b-32'

Currently this module supports pdf, docx, xlsx, png, jpg, jpeg and txt file formats

User can give the path of the file to the embed function, which sets up the chroma_db/ folder for the embeddings while temp/ folder gets set up to mimic the actual database to store the data chunks.

Retrive function takes query as input and gives out a dictionary of 'text','tables','images'

query function takes query as input and returns the answer and retrieved data as output

One needs to have gemini api key to query, but embedding and retrieval part is completely local

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

multi_rag-0.1.0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

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

multi_rag-0.1.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file multi_rag-0.1.0.tar.gz.

File metadata

  • Download URL: multi_rag-0.1.0.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for multi_rag-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7c17b14126e58672a42495d928c2814d9eecd65f9a83651bdd678a91e81c644d
MD5 953ec36f593984c9c90916435abbf33b
BLAKE2b-256 1b58157d1443d2eb6ab8086f3c17ca675b63c4356166734bbdef086c93b3e125

See more details on using hashes here.

Provenance

The following attestation bundles were made for multi_rag-0.1.0.tar.gz:

Publisher: python-publish.yml on Srimadhav2007/multirag

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file multi_rag-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: multi_rag-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for multi_rag-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 60c7979999be7d57bc0c5bfeff08a5d530c3ad42ee12d20d3a8a0fcc11cb29ae
MD5 c7ae458dcb2e171b3495581be0e0792a
BLAKE2b-256 7ef4e2e2e20c7ce5246a42982dfe9febd67f7f2573ffd58b1edc03aba6a9e265

See more details on using hashes here.

Provenance

The following attestation bundles were made for multi_rag-0.1.0-py3-none-any.whl:

Publisher: python-publish.yml on Srimadhav2007/multirag

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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