feedback
Creates, updates, deletes, gets or lists a feedback
resource.
Overview
Name | feedback |
Type | Resource |
Id | snowflake.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:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
send_feedback | insert | endpoint | Send 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.
Name | Datatype | Description |
---|---|---|
endpoint | string | Organization and Account Name (default: orgid-acctid) |
INSERT
examples
- send_feedback
- Manifest
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 }}'
;
# Description fields are for documentation purposes
- name: feedback
props:
- name: endpoint
value: string
description: Required parameter for the feedback resource.
- name: request_id
value: string
description: >
Request id associated with the feedback
- name: positive
value: boolean
description: >
Whether the response was good (true) or bad (false)
- name: feedback_message
value: string
description: >
The text for the detailed feedback message