diff --git a/semantic_router/index/pinecone.py b/semantic_router/index/pinecone.py index e13d1131c8396f68f35d25c37d7a803db0a45ab1..1016a7b5041cd7645906258d4bf60a1b5701a5a9 100644 --- a/semantic_router/index/pinecone.py +++ b/semantic_router/index/pinecone.py @@ -500,7 +500,11 @@ class PineconeIndex(BaseIndex): ( route_objects["sr_route"], route_objects["sr_utterance"], - json.loads(route_objects["sr_function_schemas"]) if route_objects["sr_function_schemas"] else {}, + ( + json.loads(route_objects["sr_function_schemas"]) + if route_objects["sr_function_schemas"] + else {} + ), ) for route_objects in metadata ]