Skip to main content

Galtea software development kit

Reason this release was yanked:

This SDK version is no longer supported by the Galtea API. Please update to 4.7.0

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

# Print the command to activate the virtual environment
poetry env activate

# Activate the virtual environment by copy-pasting the command
# Example: C:\Users\user\AppData\Local\pypoetry\Cache\virtualenvs\galtea-MmpOHh8e-py3.12\Scripts\activate.ps1

# Install dependencies
poetry install

Exit the virtual environment with exit command.

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.5.0.tar.gz (45.8 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.5.0-py3-none-any.whl (63.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: galtea-4.5.0.tar.gz
  • Upload date:
  • Size: 45.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/6.11.0-1018-azure

File hashes

Hashes for galtea-4.5.0.tar.gz
Algorithm Hash digest
SHA256 4c1d075dc2da210c8ab5da49f586ec2608d1f53bbe8b81f2c737d58087215cf0
MD5 33602bb981d70a459e838b1e4322508e
BLAKE2b-256 b8433e5ddb5ba27101ad94103fc40646a99b8824d1cf2b9d3754cf9d2ec8abc4

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for galtea-4.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fa054354ccce8728ce94901950dbd5707edf7b5c246423be059c95ff279c9b59
MD5 dfc218531b3bd009dbdf06c6e0609555
BLAKE2b-256 c85ff39477dd69a37af4800e8338160097649b4aef0d1509f2e9ec3c7a8d6cd3

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