Skip to content

Commit

Permalink
Merge pull request #415 from aurelio-labs/james/func-schema-bug-pinecone
Browse files Browse the repository at this point in the history
fix: bug in pinecone index for func schema
  • Loading branch information
jamescalam committed Sep 5, 2024
2 parents 16001d2 + 40f7ec1 commit 555290d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[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 <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion semantic_router/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

__all__ = ["RouteLayer", "HybridRouteLayer", "Route", "LayerConfig"]

__version__ = "0.0.63"
__version__ = "0.0.64"
2 changes: 1 addition & 1 deletion semantic_router/index/pinecone.py
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ async def _async_get_routes(self) -> List[Tuple]:
data.get("sr_utterance", ""),
(
json.loads(data["sr_function_schema"])
if data["sr_function_schema"]
if data.get("sr_function_schema", "")
else {}
),
{
Expand Down

0 comments on commit 555290d

Please sign in to comment.