Spaces:
Sleeping
Sleeping
File size: 901 Bytes
2e07357 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | """
Ad Fraud Investigation Environment for OpenEnv.
A real-world simulation where an AI agent investigates a queue of ads
for fraud, making sequential investigation and verdict decisions under
a limited action budget.
Example:
>>> from ad_fraud_env import AdFraudEnv, AdReviewAction
>>>
>>> with AdFraudEnv(base_url="http://localhost:8000").sync() as env:
... result = env.reset(seed=42, task_id="task_1")
... result = env.step(AdReviewAction(
... action_type="investigate",
... ad_id="ad_001",
... investigation_target="landing_page",
... ))
... print(result.observation.feedback)
"""
from .client import AdFraudEnv
from .models import AdFraudState, AdReviewAction, AdReviewObservation
__all__ = [
"AdFraudEnv",
"AdReviewAction",
"AdReviewObservation",
"AdFraudState",
]
|