v1

latestOpenAPI 3.1.02026-07-24188215268.7 KB
Answers

Detailed answer

Answer the given natural language question. Returns details used to arrive at the answer. Please note, it only has the capability to answer questions on structured data.

The payload should contain the question, and optionally, any supplemental context that could be beneficial, such as additional information from a second query attempt after the user has provided further context.

post/v0/aice/{orgid}/{projectid}/answer

Path parameters

orgidstring required

Unique identifier of the organization that owns the project. For example, in the URL: https://acme.data.world/jonloyens/an-intro-to-dataworld, jonloyens is the unique identifier of the owner.

projectidstring required

Unique identifier for the project. For example, in the URL: https://acme.data.world/jonloyens/an-intro-to-dataworld, an-intro-to-dataworld is the projectid.

Query parameters

demoboolean

Don't execute the call using the context engine. Instead, return a mock answer generated by the llm.

Request body

chatContextstring

The context of the chat so far (optional).

questionstring

A question that can be answered by structured data, written in English.

Response

default response

answerstring required
ontologyUsedstring
questionUrlstring
sparqlstring