35c9fb2445
CI Pipeline / code-quality (push) Waiting to run
CI Pipeline / test (macos-latest, 3.10) (push) Blocked by required conditions
CI Pipeline / test (macos-latest, 3.11) (push) Blocked by required conditions
CI Pipeline / test (macos-latest, 3.12) (push) Blocked by required conditions
CI Pipeline / test (macos-latest, 3.13) (push) Blocked by required conditions
CI Pipeline / test (ubuntu-latest, 3.10) (push) Blocked by required conditions
CI Pipeline / test (ubuntu-latest, 3.11) (push) Blocked by required conditions
CI Pipeline / test (ubuntu-latest, 3.12) (push) Blocked by required conditions
CI Pipeline / test (ubuntu-latest, 3.13) (push) Blocked by required conditions
CI Pipeline / test (windows-latest, 3.10) (push) Blocked by required conditions
CI Pipeline / test (windows-latest, 3.11) (push) Blocked by required conditions
CI Pipeline / test (windows-latest, 3.12) (push) Blocked by required conditions
CI Pipeline / test (windows-latest, 3.13) (push) Blocked by required conditions
RagaAI Catalyst Test Suite
Description
This test suite validates the functionality of RagaAI Catalyst using pytest. It includes:
- Unit tests for core components
- Integration tests for key workflows
- Tests different LLM provider
- Automated test reporting capabilities
Setup Conda Environment
-
Create the Conda environment from the provided
environment.yml:conda env create -f 'tests/environment.yml' -
Activate the environment:
conda activate ragaai_pytest_env # Replace `ragaai_pytest_env` with the environment name from the YAML file
Setup the Keys
Put these keys in the .env file
#OpenAI
OPENAI_API_KEY=''
#Anthropic
ANTHROPIC_API_KEY=''
#Groq
GROQ_API_KEY=''
#Azure
AZURE_OPENAI_ENDPOINT=''
AZURE_OPENAI_API_KEY=''
AZURE_OPENAI_API_VERSION=''
#Google
GOOGLE_API_KEY=''
#Gemini
GEMINI_API_KEY=''
#Vertex AI Setup
PROJECT_NAME=''
LOCATION=''
# RagaAI
RAGAAI_CATALYST_BASE_URL=https://catalyst.raga.ai/api # use this url only
RAGAAI_CATALYST_ACCESS_KEY=''
RAGAAI_CATALYST_SECRET_KEY=''
RAGAAI_PROJECT_NAME=prompt_metric_dataset # use this dataset only
RAGAAI_DATASET_NAME=pytest_dataset
# Other APIs
TAVILY_API_KEY=''
SERPERDEV_API_KEY=''
