Skip to main content

superred-target-chatbot

A general chatbot target for the superred red-teaming framework: it wraps any LLM reachable through litellm as a single-turn or multi-turn chatbot under test, exposing its system prompt, user message, response, and model identity as controllables/observables.

Install

pip install superred-target-chatbot
# for AWS Bedrock providers:
pip install "superred-target-chatbot[bedrock]"

Usage

from chatbot_target import ChatbotTarget, USER_TAG

target = ChatbotTarget(model="gpt-4o-mini", api_base="https://api.openai.com/v1", api_key="sk-...")

Credits / upstream

Original work of the superred project, released under the MIT License (see LICENSE). It contains no third-party code and no bundled datasets. It reaches models through litellm (MIT) and, optionally, AWS Bedrock via boto3 (Apache-2.0), both ordinary pip dependencies.

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

superred_target_chatbot-0.1.0.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

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

superred_target_chatbot-0.1.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: superred_target_chatbot-0.1.0.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for superred_target_chatbot-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c89d12e68044cf89ca547842d446f1b9ee1e9eaa8d1bd575bbe6f6c3b6b3ea22
MD5 db4e3a3b05cae965414a9c5540732328
BLAKE2b-256 ec1d174d941c033d3f7a58162563157f382ce2c13bb899b7ad8036847eabaa6c

See more details on using hashes here.

Provenance

The following attestation bundles were made for superred_target_chatbot-0.1.0.tar.gz:

Publisher: release.yml on RoldSI/superred-modules

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for superred_target_chatbot-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aaf5d870284f0ded75b3231ac1aa8cca3cde5a8e5b1ab2b9ab2b4276465a6f75
MD5 90b65291dde6a91f53f6195bcb812c9e
BLAKE2b-256 7e730b0ab4ade4842d82e7db3cb2ca585d55170670f9cdd414eacf4255300080

See more details on using hashes here.

Provenance

The following attestation bundles were made for superred_target_chatbot-0.1.0-py3-none-any.whl:

Publisher: release.yml on RoldSI/superred-modules

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.2.0

2 files

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page