Skip to content
Snippets Groups Projects
Unverified Commit 555290d1 authored by James Briggs's avatar James Briggs Committed by GitHub
Browse files

Merge pull request #415 from aurelio-labs/james/func-schema-bug-pinecone

fix: bug in pinecone index for func schema
parents 16001d2e 40f7ec12
No related branches found
Tags v0.0.64
No related merge requests found
......@@ -15,7 +15,7 @@ sys.path.insert(0, os.path.abspath("../..")) # Source code dir relative to this
project = "Semantic Router"
copyright = "2024, Aurelio AI"
author = "Aurelio AI"
release = "0.0.63"
release = "0.0.64"
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
......
[tool.poetry]
name = "semantic-router"
version = "0.0.63"
version = "0.0.64"
description = "Super fast semantic router for AI decision making"
authors = [
"James Briggs <james@aurelio.ai>",
......
......@@ -4,4 +4,4 @@ from semantic_router.route import Route
__all__ = ["RouteLayer", "HybridRouteLayer", "Route", "LayerConfig"]
__version__ = "0.0.63"
__version__ = "0.0.64"
......@@ -799,7 +799,7 @@ class PineconeIndex(BaseIndex):
data.get("sr_utterance", ""),
(
json.loads(data["sr_function_schema"])
if data["sr_function_schema"]
if data.get("sr_function_schema", "")
else {}
),
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment