Skip to main content

analyst_feedback

Creates, updates, deletes, gets or lists an analyst_feedback resource.

Overview

Nameanalyst_feedback
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_feedbackinsertendpoint, request_id, positiveSend 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 identifier (orgname-accountname) (default: orgname-accountname)

INSERT examples

Send a user feedback of Cortex Analyst response

INSERT INTO snowflake.cortex.analyst_feedback (
request_id,
positive,
feedback_message,
endpoint
)
SELECT
'{{ request_id }}' /* required */,
{{ positive }} /* required */,
'{{ feedback_message }}',
'{{ endpoint }}'
RETURNING
status
;