SQLite Access Agent

This tool provides access to a given SQLite database. It supports listing all tables, describing a table, and execute a query against the sqlite database.

v0.0.1
yage_sqlite.py
Python · 136 lines
26    class Valves(BaseModel):27        db_url: str = Field(28            default="https://yage.ai/genai/example1/events.db",29            description="The URL of the SQLite database. We will try to download it to local.",30        )31        db_local_path: str = Field(32            default="/tmp/sqlite.db",33            description="The local path of the SQLite database.",34        )35 36    def __init__(self):37        """

This tool provides access to a given SQLite database. It supports listing all tables, describing a table, and execute a query against the sqlite database.

0
0