You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
raiseNotImplementedError("This method should be implemented by subclasses.")
110
112
111
113
def_sync_index(
112
-
self, local_route_names: List[str], local_utterances: List[str], dimensions: int
114
+
self,
115
+
local_route_names: List[str],
116
+
local_utterances: List[str],
117
+
local_function_schemas: List[Dict[str, Any]],
118
+
local_metadata: List[Dict[str, Any]],
119
+
dimensions: int,
113
120
):
114
121
"""
115
122
Synchronize the local index with the remote index based on the specified mode.
116
123
Modes:
117
124
- "error": Raise an error if local and remote are not synchronized.
118
125
- "remote": Take remote as the source of truth and update local to align.
119
126
- "local": Take local as the source of truth and update remote to align.
120
-
- "merge-force-remote": Merge both local and remote taking only remote routes utterances when a route with same route name is present both locally and remotely.
121
-
- "merge-force-local": Merge both local and remote taking only local routes utterances when a route with same route name is present both locally and remotely.
122
-
- "merge": Merge both local and remote, merging also local and remote utterances when a route with same route name is present both locally and remotely.
127
+
- "merge-force-remote": Merge both local and remote taking only remote routes features when a route with same route name is present both locally and remotely.
128
+
- "merge-force-local": Merge both local and remote taking only local routes features when a route with same route name is present both locally and remotely.
129
+
- "merge": Merge both local and remote, merging also local and remote features when a route with same route name is present both locally and remotely.
0 commit comments