Two plugins,One is the Hallucination controllable Text2SQL component,the other is the fast response ChatBI.
DataFocus includes two tools, FocusSQL and FocusGPT. FocusSQL is the Hallucination controllable Text2SQL component,FocusGPT is the fast response ChatBI.
In simple terms, FocusSQL adopts a two-step SQL generation solution, which enables control over the hallucinations of LLM and truly builds the trust of non-technical users in the generated SQL results.
Below is the comparison table between FocusSQL and others:
Here’s a side-by-side comparison of DataFocus plugin with other LLM-based frameworks:
The following will introduce how to configure and an example demonstration.
If you don't have the DataFocus application yet, please apply for one on the DataFocus Website.
Log in to your DataFocus application. Click Admin > Interface Authentication > Bearer Token > New Bearer Token, to create a new token and get the token value.

If you have a DataFocus private deployment environment, you can get Token on your own environment.
Install DataFocus from Marketplace and fill token and host in the authorization page.Token is the value obtained in the previous step.If you have a DataFocus private deployment environment, host is your environment host. Otherwise, the SAAS environment address can be used by default.
DataFocus includes two tools, FocusSQL and FocusGPT.
FocusSQL is a natural language to SQL plugin based on keyword parsing.

Output Example
FocusGPT is an intelligent query plugin that supports multiple rounds of conversations, which allow you query data from your database.
FocusGPT not only can return query SQL but also return query result to you.

Output Example
FocusSQL and FocusGPT have similar configuration. Below are the functions and usage instructions of each parameter
The data model needs to pass in a JSON string, and the structure of the model is as follows
model
