Skip to main content

Galtea software development kit

Project description

Galtea SDK

Galtea

Comprehensive AI/LLM Testing & Evaluation Framework

PyPI version Python versions License

Overview

Galtea SDK empowers AI engineers, ML engineers and data scientists to rigorously test and evaluate their AI products. With a focus on reliability and transparency, Galtea offers:

  1. Automated Test Dataset Generation - Create comprehensive test datasets tailored to your AI product
  2. Sophisticated Product Evaluation - Evaluate your AI products across multiple dimensions

Documentation

All SDK usage and API documentation has moved to our official docs: Galtea SDK Documentation


Development

This project uses Poetry for dependency management and packaging.

Development Setup

# Activate the virtual environment (spawns a subshell)
poetry shell

# Install dependencies
poetry install

Exit the virtual environment with the exit command.

Using with Jupyter Notebooks

To use the Poetry virtual environment as a Jupyter kernel (e.g. for the example notebooks in examples/):

# Ensure dev dependencies are installed (includes ipykernel)
poetry install

# Register the virtualenv as a Jupyter kernel
poetry run python -m ipykernel install --user --name galtea-sdk --display-name "Galtea SDK"

Then select the "Galtea SDK" kernel in your notebook editor (VS Code, JupyterLab, etc.).

Running Tests

Tests are located in the tests/ directory and cover core functionality including file validation, string utilities, and model utilities.

Run All Tests

# Using Poetry (recommended)
poetry run pytest

# Or using Make
make test

# Using virtual environment directly
python -m pytest tests/

Run Tests with Verbose Output

poetry run pytest -v

Run Specific Test File

poetry run pytest tests/test_file_validation.py

Run Specific Test Class or Method

# Run a specific test class
poetry run pytest tests/test_file_validation.py::TestValidateKnowledgeBaseFile

# Run a specific test method
poetry run pytest tests/test_file_validation.py::TestValidateKnowledgeBaseFile::test_valid_txt_file

Run Tests with Coverage

poetry run pytest --cov=galtea --cov-report=html

This will generate a coverage report in the htmlcov/ directory.

Building the Project

To build the project:

poetry build

This will create distribution packages (wheel and source distribution) in the dist/ directory.

License

Apache License 2.0

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

galtea-4.23.2.tar.gz (86.6 kB view details)

Uploaded Source

Built Distribution

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

galtea-4.23.2-py3-none-any.whl (116.8 kB view details)

Uploaded Python 3

File details

Details for the file galtea-4.23.2.tar.gz.

File metadata

  • Download URL: galtea-4.23.2.tar.gz
  • Upload date:
  • Size: 86.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/6.17.0-1010-azure

File hashes

Hashes for galtea-4.23.2.tar.gz
Algorithm Hash digest
SHA256 ecb597cec0af60b92971beb1a7c0dfda13f16526a394898a1b6c2dc58256f890
MD5 8f7a0e62ed5a3d399693b864bfe8a476
BLAKE2b-256 da09d7eb8d130f5ca714f57286df39f352aaebaa59cd05d8ee3e19763103067a

See more details on using hashes here.

File details

Details for the file galtea-4.23.2-py3-none-any.whl.

File metadata

  • Download URL: galtea-4.23.2-py3-none-any.whl
  • Upload date:
  • Size: 116.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/6.17.0-1010-azure

File hashes

Hashes for galtea-4.23.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b75b18f563e36042e857a651657bd9f68fcfe083e67b008b041e15201b78200b
MD5 5f80236f9fec4ad58d34dd42d5b7569f
BLAKE2b-256 4742b8e0ebd9ade917a889f29a3e95fd6f6c7038d565c9b447efd4ce0bbfed4a

See more details on using hashes here.

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