<aside>

Documentation Home

</aside>


<aside> đź“ś TABLE OF CONTENTS

Start Here

Connecting Your Database

Supported Databases

The Fluent Pilot Process

Metrics

Your Business Users

Security

</aside>

Last Updated: 16.10.24

How To Create Useful Metrics

To effectively train the Fluent LLM (Language Model) for generating SQL queries, it’s crucial to work closely with your business users. They bring the necessary domain expertise and knowledge of the organization's goals and data requirements. Below are the key steps to guide this collaboration, ensuring Fluent is set up to meet the needs of your business.


Understand business user objectives and KPIs

What to Do:

Why It Matters:

Business objectives, such as increasing sales, improving customer retention, or reducing costs, form the foundation for defining relevant metrics. Business users are well-versed in articulating these goals, ensuring that the metrics align with the company's strategic direction.

Example:


Draft some suggested metrics

What to Do:

Why It Matters:

Accurate representation of the current metrics is essential for Fluent to mirror real-world business practices. Consistency in how metrics are defined and used prevents confusion and allows all teams to speak the same "data language."

Example:


Define metric granularity and dimensions

What to Do:

Why It Matters:

Business users' insights into the desired level of detail help Fluent create SQL queries that accurately reflect reporting needs. Whether a user needs daily sales, weekly summaries, or regional breakdowns, these dimensions must be embedded in the setup.

Example:


Define any relevant business rules and filters

What to Do:

Why It Matters:

Business rules ensure that metrics reflect the unique context of the organization. Without these guidelines, the SQL queries generated by Fluent could lead to inaccurate or misleading results.

Example:


Agree on naming conventions and definitions

What to Do:

Why It Matters:

Consistent naming conventions are critical to clear communication. Both technical and non-technical users must use the same language to avoid confusion and ensure uniformity in reports.

Example:


Prepare sample questions

What to Do:

Why It Matters:

These sample questions are used to create templates for Fluent's SQL queries. Ensuring that Fluent understands the types of questions business users ask will help it handle real-world scenarios effectively.

Example Questions:


Test and validate metrics

What to Do:

Why It Matters:

Testing and validation ensure that Fluent generates accurate SQL queries before going live. By comparing Fluent’s outputs with established reports, business users can confirm the system's reliability.

Example:


By closely collaborating with business users during the setup of Fluent LLM, the data team ensures that metrics, business rules, and reporting frequencies are accurately captured. This partnership enables Fluent to generate SQL queries that align with real-world use cases, ultimately driving better insights from the company’s data.