Grooper Help - Version 25.0
25.0.0023 2,165
  • Overview
  • Help Status

Database Table

Resource Reference Grooper.GPT

Exposes a database table as a resource that an AI Assistant can use to answer questions or provide data-driven insights.

Remarks

The Database Table resource allows the AI Assistant to access structured data directly from a table in a connected database. By configuring this object, you enable the assistant to query and retrieve information from the specified table, making it possible to answer questions, generate reports, or provide context-aware responses based on live data.

This resource is ideal for scenarios where up-to-date, authoritative information is required from business systems, such as customer records, order statuses, inventory levels, or any other data maintained in a relational database.

Usage and Configuration

To use a Database Table resource:

  1. Select the appropriate Data Connection to specify which database the table resides in.
  2. Enter the exact name of the table you wish to expose to the AI Assistant.

Once configured, the assistant will be able to understand the available columns and their data types, and can leverage this information when constructing responses. The table schema is automatically retrieved and presented to the assistant, ensuring that queries and answers are based on the most current structure of your data.

The resource can be used in a variety of ways, such as:

  • Retrieving the latest order status for a customer by querying an 'Orders' table.
  • Generating a summary report of sales figures from a 'Sales' table for a given date range.
  • Answering questions such as "How many active users are there?" by referencing a 'Users' table.
  • Providing detailed information about a specific product by looking up its record in a 'Products' table.

These examples illustrate how a Database Table resource can empower the AI Assistant to deliver accurate, data-driven answers and insights based on the contents of your database.

Best Practices

  • Ensure the Data Connection is properly configured and tested before exposing a table.
  • Use descriptive table names and maintain clear documentation for your database schema to improve the assistant's effectiveness.
  • Regularly review and update the resource configuration if the underlying database schema changes.

Diagnostics

The Database Table resource automatically retrieves and presents the table schema to the AI Assistant. If the connection or table name is invalid, schema retrieval may fail and diagnostic messages may be logged to assist with troubleshooting.

Properties

NameTypeDescription

See Also

Notification