Skip to main content
All CollectionsBlocks
AI Block (Beta)
AI Block (Beta)

Learn about Frontly's new AI block, allowing your users to talk to your data sources through an AI prompt

Patrick avatar
Written by Patrick
Updated over a week ago

Frontly's brand-new AI Block is a whole new way of integrating AI into your app, and although it's in the early stages of development, it can be a powerful addition to your app.

⚠️Warning: This feature is in beta and can incur costs - use at your own risk! ⚠️

Watch the announcement video for more information:


How Does It Work?

The AI Block allows you to select a spreadsheet which is used as context, allowing your user to ask questions directly to the AI about the data in your sheet, and receiving plain-text (for now) AI responses in return.

Important Considerations

  • Because this feature receives your actual spreadsheet or data source data, which is fed into the AI request, it can potentially incur large costs, and so is only available to users who have added their own OpenAI API Key to their account.

  • Further, you must be careful and set the 'Max Context Characters' setting to help ensure that you never receive an unexpectedly large cost from a single query, if it happens to use a lot of data. The max characters setting is a hard limit of the context sent into the AI, and should be thoughtfully set.

  • Hidden Filters applied at either the data source level or the block level will be applied to the query, potentially dramatically reducing the amount of data that needs to be processed by the AI, reducing cost, and equally as important, preventing users from making queries about data they should not have access to.


How To Enable This Feature

  1. You must have your OpenAI Key added to your account, which is only available to Tier 4-5 users or paid subscription users.

  2. Once your API Key is added, you will see the 'Enable AI Block' setting on the Integrations page

More detailed documentation will be available soon. Use at your own risk!

Did this answer your question?