Skip to main content

Safety Agent for evaluating TutorBot AI responses

Project description

TutorBot Safety Agent

A deterministic, non-autonomous Safety Agent used to evaluate AI-generated responses before they are shown to students.

Purpose

The Safety Agent provides a single, enforceable decision point for:

  • Allowing safe responses
  • Rewriting risky responses
  • Blocking unsafe responses

This package is framework-agnostic and can be reused or extracted into a standalone service in the future.

Public API

from tutorbot_safety_agent import (
    SafetyAgent,
    DummySafetyAgent,
    SafetyDecision,
    DecisionType,
)

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

tutorbot_safety_agent-0.1.0.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

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

tutorbot_safety_agent-0.1.0-py3-none-any.whl (29.6 kB view details)

Uploaded Python 3

File details

Details for the file tutorbot_safety_agent-0.1.0.tar.gz.

File metadata

  • Download URL: tutorbot_safety_agent-0.1.0.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for tutorbot_safety_agent-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9bbdf61dbbb0df6924dc6c90996ed616e0900307836593b2c43e873b5f611cf2
MD5 d2996800ad8fb50fa795b27f1aff032b
BLAKE2b-256 9297d36acdf49fade2a9cd3b2a33cc51f5caa01d1007cbd4d29f74f71f921065

See more details on using hashes here.

File details

Details for the file tutorbot_safety_agent-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tutorbot_safety_agent-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3e1ecf0d94cfc54adc6b963a7754a422905cb6ba638dcdf1c479b5a050491363
MD5 65e3a9148906cc5843aa0fafdc134c0b
BLAKE2b-256 1795c4139d2526946eef1b10de850f9af8f6a88071b52612e851ff1a43caf4d6

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