A rag api for extending your applicaiton
Project description
The RAG API
Query your documents powered by AI
Requirements
Have the following tools installed on your computer
- Git
- Docker
Usage
- Start by cloning the project.
git clone -b java-to-python-rag-app --single-branch <repo_url>
- Open the project with an IDE or a text editor
- In the project root directory, rename the .env.example file to .env and fill in the values
Note: Make sure that the container_name of the qdrant service in the docker-compose.yaml file matches the QDRANT_HOST in the .env file
- Open a terminal and run:
docker-compose up --build
- Once the download is complete and the applicaiton has been started, go the http://localhost:8000/docs to use the api.
Use the api as a module
If you want to use the api to extend your application capabilities with rag support already made, please follow these steps:
- Open a terminal in your project directory and run the following commands
pip install pyragapi
- import the router from pyragapi.routers
- link it to your fastapi instance
Note: Do not forget to create a .env file and fill in the values.
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 pyragapi-1.0.5.tar.gz.
File metadata
- Download URL: pyragapi-1.0.5.tar.gz
- Upload date:
- Size: 9.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da6059a2564d3fbbf9ddf47119076b658f0187f9b932dc7eee10a022989b9436
|
|
| MD5 |
4da90f96ce2458cce3fb622d8b889a18
|
|
| BLAKE2b-256 |
24614283f1e4459aa63d4654bcb2eab89d3f9b83cacab39f609cf660e830bb3e
|
File details
Details for the file pyragapi-1.0.5-py3-none-any.whl.
File metadata
- Download URL: pyragapi-1.0.5-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e346adb7cca6e40d91c86ba68441fb924e3b7ada5d1b27d2334ac31433df322
|
|
| MD5 |
edb5c2f39ff29d449878ad4d35ea4652
|
|
| BLAKE2b-256 |
d58c080903830aa7be8eb4107b2a51da7e0bf5175a103a28adcc7a60f3c7b70b
|