📝 docs(nodes.py): update SQLAgentNode description to reflect its new implementation

The description of the SQLAgentNode has been updated to reflect its new implementation, which now constructs a SQL agent from an LLM and tools instead of a Vector Store Router. This change was made to improve the accuracy of the description and to better reflect the functionality of the node.
This commit is contained in:
Gabriel Almeida 2023-05-27 14:24:19 -03:00
commit 35dce224d7

View file

@ -495,7 +495,7 @@ class SQLAgentNode(FrontendNode):
), ),
], ],
) )
description: str = """Construct an agent from a Vector Store Router.""" description: str = """Construct a sql agent from an LLM and tools."""
base_classes: list[str] = ["AgentExecutor"] base_classes: list[str] = ["AgentExecutor"]
def to_dict(self): def to_dict(self):