Answer Tool

Answer the given natural language question. 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.

This operation performs the exact same function as the "callAnswer" operation, but is designed to be compatible with OpenAI-style tool calls.

Path Params
string
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.

string
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 Params
boolean
Defaults to false

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

Body Params
string

The context of the chat so far (optional).

string

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

Response

Response body
object
string
required
string
result
object
data
array of objects
data
object
schema
object
required
string
terms
array of objects
terms
object
string
string
string
Language
Credentials
OAuth2
chat with aidocs icon