Create a question-sql pair
Associate a predefined query to a resource, so that Brewit can use it to improve the chat experience.
POST
/
resource_id
string
requiredThe identifier of the resource to which the query belongs. Make sure the actual query can be executed on the resource.
Body Parameters
query
string
requiredThe name/title of the query that briefly describes its purpose.
sql
string
requiredThe SQL query to be executed on the resource.
explanation
string
An explanation of the query, explaining its purpose and how it should be used.
Was this page helpful?