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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c17b14126e58672a42495d928c2814d9eecd65f9a83651bdd678a91e81c644d
|
|
| MD5 |
953ec36f593984c9c90916435abbf33b
|
|
| BLAKE2b-256 |
1b58157d1443d2eb6ab8086f3c17ca675b63c4356166734bbdef086c93b3e125
|
Provenance
The following attestation bundles were made for multi_rag-0.1.0.tar.gz:
Publisher:
python-publish.yml on Srimadhav2007/multirag
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
multi_rag-0.1.0.tar.gz -
Subject digest:
7c17b14126e58672a42495d928c2814d9eecd65f9a83651bdd678a91e81c644d - Sigstore transparency entry: 1799141681
- Sigstore integration time:
-
Permalink:
Srimadhav2007/multirag@fe9bd697439c278710f7ccc09987656185ebc435 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Srimadhav2007
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@fe9bd697439c278710f7ccc09987656185ebc435 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60c7979999be7d57bc0c5bfeff08a5d530c3ad42ee12d20d3a8a0fcc11cb29ae
|
|
| MD5 |
c7ae458dcb2e171b3495581be0e0792a
|
|
| BLAKE2b-256 |
7ef4e2e2e20c7ce5246a42982dfe9febd67f7f2573ffd58b1edc03aba6a9e265
|
Provenance
The following attestation bundles were made for multi_rag-0.1.0-py3-none-any.whl:
Publisher:
python-publish.yml on Srimadhav2007/multirag
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
multi_rag-0.1.0-py3-none-any.whl -
Subject digest:
60c7979999be7d57bc0c5bfeff08a5d530c3ad42ee12d20d3a8a0fcc11cb29ae - Sigstore transparency entry: 1799141900
- Sigstore integration time:
-
Permalink:
Srimadhav2007/multirag@fe9bd697439c278710f7ccc09987656185ebc435 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Srimadhav2007
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@fe9bd697439c278710f7ccc09987656185ebc435 -
Trigger Event:
release
-
Statement type: