answers
Creates, updates, deletes, gets or lists an answers resource.
Overview
| Name | answers |
| Type | Resource |
| Id | azure.ai_language.answers |
Fields
The following fields are returned by SELECT queries:
- get_answers
| Name | Datatype | Description |
|---|---|---|
answers | array | Represents Answer Result list. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_answers | select | projectName, deploymentName, endpoint | Answers the specified question using your knowledge base. |
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 |
|---|---|---|
deploymentName | string | The name of the specific deployment of the project to use. Required. |
endpoint | string | The service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client Endpoint parameter. (default: ) |
projectName | string | The name of the project to use. Required. |
SELECT examples
- get_answers
Answers the specified question using your knowledge base.
SELECT
answers
FROM azure.ai_language.answers
WHERE projectName = '{{ projectName }}' -- required
AND deploymentName = '{{ deploymentName }}' -- required
AND endpoint = '{{ endpoint }}' -- required
;