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
Copy file name to clipboardExpand all lines: README.md
+11-6Lines changed: 11 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,14 +4,10 @@ Data Neuron is a powerful AI-driven data framework to create and maintain AI DAT
4
4
5
5
Supports SQLite, PostgreSQL, MySQL, MSSQL, CSV files(through duckdb). Works with major LLMs like Claude (default), OpenAI, LLAMA etc(through groq, nvidia, ..), OLLAMA.
This will create YAML files in the `context/` directory which will be your semantic layer for your data.
101
+
This will prompt for a context name, you can give `product_analytics` or `customer_success` or any and it will then create YAML files in the `context/<contextname>` directory which will be your semantic layer for your data.
106
102
You will be told to select couple of tables, so that it can be auto-labelled which you can edit later.
107
103
108
104
3. Or start an interactive chat session:
109
105
110
106
```
111
-
dnn --chat
107
+
dnn --chat <context_name>
112
108
```
113
109
110
+
eg:
111
+
112
+
```
113
+
dnn --chat product_analytics
114
+
```
115
+
116
+
You can chat with the semantic layer that you have created. And you will also be able to save the metric
117
+
to a dashboard, this will get created under `dashboards/<dashname>.yml`
118
+
114
119
4. You can generate reports with image as input for your dashboards. You need to have `wkhtmltopdf` in your system.
print_info("Rephrasing the question suited for db")
86
-
changed_query=process_query(query)
97
+
changed_query=process_query(query, context)
87
98
prompt=sql_query_prompt(changed_query, context)
88
99
system_prompt="You are a helpful assistant that generates SQL queries based on natural language questions and maintains context throughout the conversation."
0 commit comments