Skip to main content

RAGStack

Project description

RAGStack

Clone this Repository

This repository includes ragstack-langchain and ragstack-langsmith as Git submodules. To clone these submodules along with the main repository, you can use one of the following methods:

Clone Recursively: This method allows you to clone the main repository and its submodules in a single command.

git clone --recurse-submodules git@github.com:datastax/ragstack-ai.git

Initialize Submodules After Cloning: If you have already cloned the main repository and now need to include the submodules, you can initialize and update them with the following commands:

git submodule init
git submodule update

Poetry set up

The project uses poetry. To install poetry:

pip install poetry

Install dependencies

poetry install

Run Tests

Run Unit Tests

poetry run pytest tests/unit-tests

Run End-to-End tests

End-to-end testing requires Azure OpenAPI keys, as well as the AstraDB URL and key. You can find the example script for running these tests at run-e2e-tests.sh. The script specifies the required environment variables that need to be set for the tests to run successfully.

poetry run pytest tests

Build the package distribution

poetry build

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

ragstack_ai-0.1.1.tar.gz (1.4 MB view hashes)

Uploaded Source

Built Distribution

ragstack_ai-0.1.1-py3-none-any.whl (2.1 MB view hashes)

Uploaded Python 3

Supported by

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