Enable Conversations to Enhance User Interaction

Conversations in Select AI refer to the interactive dialogue between the user and the system, where a sequence of user-provided natural language prompts are used to query or interact with the database.

Select AI includes past prompts (up to 10) in the current call as part of the augmented prompt sent to the LLM. Conversations enable a more intuitive and accessible way to work with your data, making it easier for users to extract insights and perform tasks without needing deep technical knowledge of SQL.

For example, conversations provide an intuitive way to analyze data:
  • Ask a question such as "What are the total number of customers"
  • Follow up with context aware questions like:
    • "break out count of customers by country"
    • "What age group is most common"
    • "keep the top 5 customers and their country by their purchases and include a rank in the result"

To enable conversations, set the conversation attribute to true in your AI profile, see Profile Attributes. See Example: Enable Conversations in Select AI for a complete example.