https://github.com/llm-workflow-engine/lwe-plugin-data-query
LLM Workflow Engine (LWE) Data Query plugin
https://github.com/llm-workflow-engine/lwe-plugin-data-query
Last synced: 5 months ago
JSON representation
LLM Workflow Engine (LWE) Data Query plugin
- Host: GitHub
- URL: https://github.com/llm-workflow-engine/lwe-plugin-data-query
- Owner: llm-workflow-engine
- Created: 2023-07-13T00:26:51.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-25T15:19:56.000Z (about 2 years ago)
- Last Synced: 2025-05-05T14:54:11.679Z (about 1 year ago)
- Language: Python
- Size: 5.86 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LLM Workflow Engine (LWE) Data Query plugin
Data Query plugin for [LLM Workflow Engine](https://github.com/llm-workflow-engine/llm-workflow-engine)
Send natural language commands to a loaded file of structured data.
## Installation
### From packages
Install the latest version of this software directly from github with pip:
```bash
pip install git+https://github.com/llm-workflow-engine/lwe-plugin-data-query
```
### From source (recommended for development)
Install the latest version of this software directly from git:
```bash
git clone https://github.com/llm-workflow-engine/lwe-plugin-data-query.git
```
Install the development package:
```bash
cd lwe-plugin-data-query
pip install -e .
```
## Configuration
Add the following to `config.yaml` in your profile:
```yaml
plugins:
enabled:
- data_query
# Any other plugins you want enabled...
# These are the default values.
data_query:
agent:
verbose: true
```
## Usage
From a running LWE shell:
```
/data-query load test.csv
/data-query Find users with last name "Smith".
/data-query unload
```
## Caveats
Large datasets will be chunked before sending to the LLM, in this case
the LLM may not be able to consider the full data set when formulating
a response.