You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](https://github.com/jdhoffa/lucidata/actions/workflows/build.yml)
4
4
5
-
Lucidata is a secure, internal AI/LLM based tool designed to democratize data access. It translates natural language questions into SQL/API queries over structured datasets, returning clear, traceable answers and exports.
5
+
Lucidata is an LLM based query tool designed to democratize data access. It translates natural language questions into SQL/API queries over structured datasets, returning clear, traceable answers and exports.
6
6
7
-
## Features
7
+
## Features (WIP)
8
8
9
-
-**Natural Language Interface**: Ask questions in plain English
10
-
-**Query Translation**: Automatic conversion to SQL/API queries
11
-
-**Result Visualization**: Clear charts and tables
12
-
-**Export Options**: Download results in various formats (CSV, Excel, etc.)
13
-
-**Query History**: Track and reuse previous queries
9
+
- Natural Language Interface: Ask questions in plain English
10
+
- Query Translation: Automatic conversion to SQL/API queries
11
+
- Result Visualization: Clear tables and charts
12
+
- Export Options: Download results in various formats (CSV, Excel, etc.)
13
+
- Query Transparency: Track and export generated queries
14
14
15
15
## Getting Started
16
16
17
17
### Prerequisites
18
18
19
-
-Docker and Docker Compose installed on your machine
20
-
-Access credentials for supported datasets
19
+
-`docker`installed
20
+
-OpenAPI `API_KEY`
21
21
22
22
### Usage
23
23
@@ -32,11 +32,47 @@ Lucidata is a secure, internal AI/LLM based tool designed to democratize data ac
32
32
docker compose up
33
33
```
34
34
35
-
3. Access the web interface at http://localhost:3000
36
-
37
-
4. Enter your natural language query in the input field and click "Submit"
38
-
39
-
5. Review the results and use the export options as needed
35
+
3. Enter your natural language query in the input field and click "Submit"
36
+
37
+
4. Review the results and use the export options as needed
38
+
39
+
## System Architecture
40
+
41
+
Below is a diagram showing the flow of information and expected user journey:
42
+
43
+
```mermaid
44
+
graph TD
45
+
A[User's Natural Language Input] --> B[Frontend Chat UI]
46
+
B --> |Request| C[LLM Query Engine]
47
+
C --> |Structured Query| D[Query Runner Service]
48
+
D --> |Data Request| E[Data Store]
49
+
E --> |Raw Data| D
50
+
D --> |Processed Data| F[Response Formatter]
51
+
F --> |Formatted Results| B
52
+
B --> |Display Results| A
53
+
54
+
style A fill:#f9f,stroke:#333,stroke-width:2px,color:#000
55
+
style B fill:#bbf,stroke:#333,stroke-width:2px,color:#000
56
+
style C fill:#bfb,stroke:#333,stroke-width:2px,color:#000
57
+
style D fill:#fbf,stroke:#333,stroke-width:2px,color:#000
58
+
style E fill:#fbb,stroke:#333,stroke-width:2px,color:#000
59
+
style F fill:#bff,stroke:#333,stroke-width:2px,color:#000
0 commit comments