Skip to content

Commit

Permalink
Merge pull request #195 from aurelio-labs/remove_trigger
Browse files Browse the repository at this point in the history
refactor: Removed trigger from RouteChoice
  • Loading branch information
jamescalam committed Mar 13, 2024
2 parents ea2260e + e923b22 commit 1e753d9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion semantic_router/layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,6 @@ def __call__(
name=route.name,
function_call=None,
similarity_score=None,
trigger=None,
)
else:
# if no route passes threshold, return empty route choice
Expand Down
1 change: 0 additions & 1 deletion semantic_router/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ class RouteChoice(BaseModel):
name: Optional[str] = None
function_call: Optional[dict] = None
similarity_score: Optional[float] = None
trigger: Optional[bool] = None


@dataclass
Expand Down

0 comments on commit 1e753d9

Please sign in to comment.