Skip to main content

The Python SDK for API of Root Signals

Project description

Root Signals logo

Measurement & Control for LLM Automations

Supported Python versions

PyPI Downloads License

Root Signals streamlines the evaluation of your LLM and agentic pipelines. We provide a holistic approach to GenAI measurability & observability with carefully-crafted ready-to-use evaluators based on cutting-edge LLM research as well as a framework for systematically adding your own custom evaluators.

With Root Signals you can develop your LLM application reliably, deploy them in confidence, and ensure optimal performance with continuous monitoring.

📦 Install

pip install root-signals

⚡ Quickstart

🔑 Get Your API Key

Sign up & create a key or generate a temporary key

Setup Option 1: Environment Variable

export ROOTSIGNALS_API_KEY=your-Root-API-key

Setup Option 2: .env File

echo ROOTSIGNALS_API_KEY=your-Root-API-key >> .env

Root Evaluators

from root import RootSignals

# Connect to the Root Signals API
client = RootSignals()

# Run a politeness evaluator
response = client.evaluators.Politeness(
    response="You can find the instructions from our Careers page."
)
print(response)
# {score=0.7, justification='The response is st...', execution_log_id=...}

Check the full list of Root evaluators from the Root evaluators documentation. You can also add your own evaluators.

📖 Documentation

Resource Link
🐍 Python SDK View Documentation
📘 Product Docs View Documentation
📑 API Docs View Documentation
Tutorial Link
Quickstart Quickstart in Colab
Tuning a Custom Judge Tuning a Custom Judge in Colab
RAG Hallucination Detection with Root Judge RAG Hallucination Detection in Colab

🌍 Community

💬 Welcome to our Discord Server! It's a great place to ask questions, get help, and discuss ideas.

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

root_signals-1.4.0.tar.gz (184.5 kB view details)

Uploaded Source

Built Distribution

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

root_signals-1.4.0-py3-none-any.whl (456.9 kB view details)

Uploaded Python 3

File details

Details for the file root_signals-1.4.0.tar.gz.

File metadata

  • Download URL: root_signals-1.4.0.tar.gz
  • Upload date:
  • Size: 184.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for root_signals-1.4.0.tar.gz
Algorithm Hash digest
SHA256 b4342d55b2a4651fdd2685fdfc4802528cb8db0f913aa8d4c834731fdc12ef49
MD5 0aa9202524f29c8f032a6ad4dabb8709
BLAKE2b-256 25b2dd14e74c14a62a33cfe4449df621e0905069c95849aa10461d9c76e9f5f9

See more details on using hashes here.

File details

Details for the file root_signals-1.4.0-py3-none-any.whl.

File metadata

  • Download URL: root_signals-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 456.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for root_signals-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0053a93deea61596b86d2e25f370150e2d2b7ce27ac1dcda027a352bbeb5a009
MD5 a458b83f5b1e3c69a27a2eab59c70b95
BLAKE2b-256 99a8a3a413696c3415673c751ef9b8ea9ca03ce3f2c7d544857faf04afd9b073

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