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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c89d12e68044cf89ca547842d446f1b9ee1e9eaa8d1bd575bbe6f6c3b6b3ea22
|
|
| MD5 |
db4e3a3b05cae965414a9c5540732328
|
|
| BLAKE2b-256 |
ec1d174d941c033d3f7a58162563157f382ce2c13bb899b7ad8036847eabaa6c
|
Provenance
The following attestation bundles were made for superred_target_chatbot-0.1.0.tar.gz:
Publisher:
release.yml on RoldSI/superred-modules
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
superred_target_chatbot-0.1.0.tar.gz -
Subject digest:
c89d12e68044cf89ca547842d446f1b9ee1e9eaa8d1bd575bbe6f6c3b6b3ea22 - Sigstore transparency entry: 2219076519
- Sigstore integration time:
-
Permalink:
RoldSI/superred-modules@44b3a2514b4d75fe7ebc3f015aa13ff3b6e8380c -
Branch / Tag:
refs/tags/superred-target-chatbot-v0.1.0 - Owner: https://github.com/RoldSI
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@44b3a2514b4d75fe7ebc3f015aa13ff3b6e8380c -
Trigger Event:
push
-
Statement type:
File details
Details for the file superred_target_chatbot-0.1.0-py3-none-any.whl.
File metadata
- Download URL: superred_target_chatbot-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aaf5d870284f0ded75b3231ac1aa8cca3cde5a8e5b1ab2b9ab2b4276465a6f75
|
|
| MD5 |
90b65291dde6a91f53f6195bcb812c9e
|
|
| BLAKE2b-256 |
7e730b0ab4ade4842d82e7db3cb2ca585d55170670f9cdd414eacf4255300080
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
superred_target_chatbot-0.1.0-py3-none-any.whl -
Subject digest:
aaf5d870284f0ded75b3231ac1aa8cca3cde5a8e5b1ab2b9ab2b4276465a6f75 - Sigstore transparency entry: 2219076759
- Sigstore integration time:
-
Permalink:
RoldSI/superred-modules@44b3a2514b4d75fe7ebc3f015aa13ff3b6e8380c -
Branch / Tag:
refs/tags/superred-target-chatbot-v0.1.0 - Owner: https://github.com/RoldSI
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@44b3a2514b4d75fe7ebc3f015aa13ff3b6e8380c -
Trigger Event:
push
-
Statement type: