For the complete documentation index, see llms.txt. This page is also available as Markdown.

Ask A Question Of Your Documents

GraphQL endpoint: /user

Answers a natural-language question from the calling user's documents and names the documents the answer drew on. Only accepted documents are searched, and only the passages that matched are sent to the model.

The answer shown here comes from a stubbed model, so the wording is illustrative rather than something the service guarantees.

Query

mutation ($question: String!) {
  askUserDocumentQuestion(question: $question) {
    answer
    citations {
      id
      fileName
    }
  }
}

Variables

{
  "question": "when does my tv warranty end"
}

Response

Last updated

Was this helpful?