NLWeb ask, list mode, with the parameters in a JSON or form body

post/ask

Request

  • Base URL: https://www.edgechat.ai/api/v1
  • URL: https://www.edgechat.ai/api/v1/ask
  • Auth: none declared

Request body

querystring required

A subject's name or words from its title.

decontextualized_querystring

Used in place of query when given.

num_resultsinteger
generate_mode'list' | 'summarize' | 'generate'
modestring

An older name for generate_mode.

streaming'true' | 'false'
query_idstring

Echoed back; a new one is made when absent.

sitestring

Accepted and ignored: this site holds one collection.

prevstring

Accepted and ignored.

last_ansstring

Accepted and ignored.

item_to_rememberstring

Accepted and ignored.

Response

The matching articles, best first

query_idstring
querystring
did_you_meanstring

Example response

{
  "license": {
    "spdx": "LicenseRef-Edgepedia-Community-1.0"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.