Skip to content

Commit

Permalink
Merge pull request #52 from Sayvai-io/tools-langchain-0.1
Browse files Browse the repository at this point in the history
UPDATED LANGCHAIN TOOL RETRIVAL
  • Loading branch information
Nandhini25S authored Feb 4, 2024
2 parents f9c37b7 + b828568 commit 1c2035a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/sayvai_tools/tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
from sayvai_tools.tools.sql_database import Database
from sayvai_tools.tools.TTS import VoiceOutputRun
from sayvai_tools.tools.vectordb import ChromaDB, PGVectorDB, PineconeDB
from langchain.tools import __all__ as langchain_tools

__all__: List[str] = [
"Calendar",
Expand Down Expand Up @@ -50,3 +51,6 @@ def get_tool(tool_name: str) -> str:
return tool_name
else:
return "Tool not found"

def get_langchain_tools() -> List[str]:
return langchain_tools

0 comments on commit 1c2035a

Please sign in to comment.