INNER CODE UNIT · Python

Agent

abhijithneilabraham/tableQA · tableqa/agent.py:10

class Agent:
    """
    Generates sql queries and fetches query results from database.

    Attributes
    ----------
    data_dir: `str` or `pathlib.Path` object
            absolute path to folder containing all input files.
    schema_dir: `str` or `pathlib.Path` object
            path to folder containing `json` schemas of input files.
            If not specified, auto-generated schema will be used.
    db_type: `str`
            defining the type of Database object to be used.
            If not specified, default object is `sqlite`.
    username: `str`
            username for connecting to the database.
            (Optional) Not required for connectivity to sqlite.
    password: `str`

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…