Competitor check
How to stop an agent discussing competitors or other named entities
Competitor Check allows users to define one or more entities that are not allowed to be discussed semantically. The check can be relevant both for inputs and outputs.

Using the SDK
from superwise_api.models.agent.agent import AgentCompetitorCheckGuard
restricted_topics_guard = AgentCompetitorCheckGuard(
name="Rule name",
tags={"input", "output"}, # Set containing "input", "output", or both
competitor_names={"Apple"} # Set of restricted competitor names.
)Updated 18 days ago
Did this page help you?