Skip to main content

feedback

Creates, updates, deletes, gets or lists a feedback resource.

Overview

Namefeedback
TypeResource
Idsnowflake.cortex_analyst.feedback

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
send_feedbackinsertendpointSend a user feedback of Cortex Analyst response

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
endpointstringOrganization and Account Name (default: orgid-acctid)

INSERT examples

Send a user feedback of Cortex Analyst response

INSERT INTO snowflake.cortex_analyst.feedback (
data__request_id,
data__positive,
data__feedback_message,
endpoint
)
SELECT
'{{ request_id }}' --required,
{{ positive }} --required,
'{{ feedback_message }}',
'{{ endpoint }}'
;