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 Root Signals API
client = RootSignals()

# Run any of our ready-made evaluators
result = client.evaluators.Politeness(
    response="You can find the instructions from our Careers page."
)
# Example result:
#   {
#     "score": 0.7, --> a normalized score between [0, 1]
#     "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 custom evaluators.

📖 Documentation

Resource Link
🐍 Python SDK View Documentation
📘 Product Docs View Documentation
📑 API Docs View Documentation
🔌 MCP View Repo
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.6.3.tar.gz (167.1 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.6.3-py3-none-any.whl (396.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for root_signals-1.6.3.tar.gz
Algorithm Hash digest
SHA256 81032e350380ea6dd6e476e5d92204a3c7647d1ff2e5900f26b10c7214dcf14d
MD5 54a018310a8e417b5c9927b0f0fdecf9
BLAKE2b-256 f404fb073a15779317524ef7f22cfc071ac59efd0b4bb353c837c47b78d604a0

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for root_signals-1.6.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1e833cf8ad3a1d3db2d9f73656924e206e75c18ae6d4f95a55c97ed300b801c1
MD5 525f89c809477fe29a5fc68a3f3e1916
BLAKE2b-256 b2c987d294c96ee5e829b18beef72fc0185ef9d9eaf68114b346228ecc0492b6

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