Database plugin for LLM Workflow Engine
Send natural language commands to a database
WARNING: POTENTIALLY DANGEROUS -- DATA INTEGRITY CANNOT BE GUARANTEED.
Install the latest version of this software directly from github with pip:
pip install git+https://github.com/llm-workflow-engine/lwe-plugin-database
Install the latest version of this software directly from git:
git clone https://github.com/llm-workflow-engine/lwe-plugin-database.git
Install the development package:
cd lwe-plugin-database
pip install -e .
Add the following to config.yaml
in your profile:
plugins:
enabled:
- database
# Any other plugins you want enabled...
# These are the default values.
database:
agent:
verbose: true
database:
default: null
From a running LWE shell:
/database connect sqlite:///test.db
/database List all tables in the database
/database disconnect