docs: Add documentation for NL2SqlTool

This commit is contained in:
Eduardo Chiarotti
2024-07-25 15:25:48 -03:00
parent c372641be8
commit 18a28261a4
8 changed files with 76 additions and 2 deletions

View File

@@ -6,8 +6,8 @@ from sqlalchemy import create_engine, text
from sqlalchemy.orm import sessionmaker
class NL2SQL(BaseTool):
name: str = "NL2SQL"
class NL2SQLTool(BaseTool):
name: str = "NL2SQLTool"
description: str = "Converts natural language to SQL queries and executes them."
db_uri: str = Field(
title="Database URI",