From 5fe31a278b378a55e8a1b6c7e26bd915b04144b7 Mon Sep 17 00:00:00 2001 From: Siraj R Aizlewood Date: Wed, 13 Mar 2024 11:30:10 +0400 Subject: [PATCH] Removed trigger from RouteChoice. --- semantic_router/layer.py | 1 - semantic_router/schema.py | 1 - 2 files changed, 2 deletions(-) diff --git a/semantic_router/layer.py b/semantic_router/layer.py index 432f0af9..dffc1d4b 100644 --- a/semantic_router/layer.py +++ b/semantic_router/layer.py @@ -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 diff --git a/semantic_router/schema.py b/semantic_router/schema.py index 88419021..3e0cd5e5 100644 --- a/semantic_router/schema.py +++ b/semantic_router/schema.py @@ -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