ai-chat-ad-intent
Load the Visor AI Chat Monetization Dataset v1 (DOI 10.5281/zenodo.24544087) and benchmark models that label AI chat turns for commercial intent, funnel stage, brand safety, and ad eligibility.
Standard library only. MIT licensed. Maintained by Visor Research, the research side of Visor, a US-only ad network and SSP that monetizes AI chat apps.
Install
pip install ai-chat-ad-intent
Quick start
# Downloads the train and validation splits from Hugging Face once, then caches them.
ai-chat-ad-intent --label commercial_intent
ai-chat-ad-intent --label ad_eligible
from ai_chat_ad_intent import load_split, NaiveBayes, evaluate
train, val = load_split("train"), load_split("validation")
model = NaiveBayes().fit([r["message"] for r in train], [r["commercial_intent"] for r in train])
print(evaluate([r["commercial_intent"] for r in val], model.predict([r["message"] for r in val]))["macro_f1"])
Plug in your own classifier: evaluate(y_true, y_pred) returns accuracy, macro F1, and per-label precision, recall, and F1.
Labels
| Field | Values |
|---|---|
commercial_intent |
none, low, medium, high |
funnel_stage |
none, awareness, consideration, purchase |
brand_safe |
true / false |
ad_eligible |
true / false |
The full rubric is in the dataset's labels.md.
Baseline numbers, and why they are not a real-world benchmark
The Naive Bayes baseline (unigrams and bigrams) scored these on the validation split (2,008 rows, train 18,072):
| Label | Accuracy | Macro F1 |
|---|---|---|
| commercial_intent | 0.995 | 0.995 |
| funnel_stage | 0.993 | 0.991 |
| ad_eligible | 1.000 | 1.000 |
| brand_safe | 1.000 | 0.978 |
These numbers are this high because every row is synthetic and built from template families. Treat the dataset as a schema and a smoke test. Real chat traffic is messier, and a model that scores well here can still fail on it. The baseline is not the model Visor uses to match ads. Visor's matching rules are not public.
Data notes
- All messages are synthetic US-English chat turns. No real user logs and no personal data.
- IAB category IDs come from IAB Tech Lab Content Taxonomy 3.0.
Links
- Visor: https://visor.host
- Advertisers: https://visor.host/advertisers
- Dataset on Hugging Face: https://huggingface.co/datasets/visor-research/ai-chat-monetization-dataset-v1
- Dataset source: https://github.com/visor-research/ai-chat-monetization-dataset-v1
Metadata
Release files for ai-chat-ad-intent 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ai_chat_ad_intent-0.1.0.tar.gz | 6.0 kB | Without provenance | Details for ai_chat_ad_intent-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ai_chat_ad_intent-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for ai_chat_ad_intent-0.1.0-py3-none-any.whl |
Total release size: 13.1 kB
Release files / ai_chat_ad_intent-0.1.0.tar.gz
| Download URL | ai_chat_ad_intent-0.1.0.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ebad1c1c981ed74e501a2a89f7d8ea8cf13910cc0160a87719a53cd2abb5e416
|
|
BLAKE2b-256 checksum How to use checksums |
e230d1e561183cbcb4752e1ee754256b5036cd63f09e2293f68a8bade1845094
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / ai_chat_ad_intent-0.1.0-py3-none-any.whl
| Download URL | ai_chat_ad_intent-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6f6706342648dcbcb32b93d8d4873fb9f99a9c87ee4cb0a2cff9ab65a82307ad
|
|
BLAKE2b-256 checksum How to use checksums |
240965ab5cc045c0b88e80743e5fec2110f14805da235287c5a0fa64c57d35f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Security for ai-chat-ad-intent 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.