POST
/
cache
/
{name}
/
query
curl --request POST \
  --url http://localhost:8000/cache/{name}/query
{
  "completion": "<string>",
  "usage": {},
  "finish_reason": "<string>",
  "sources": [],
  "metadata": {}
}

Headers

authorization
string

Path Parameters

name
string
required

Query Parameters

query
string
required
max_tokens
integer | null
temperature
number | null

Response

200
application/json
Successful Response

Response from completion generation

completion
string
required
usage
object
required
finish_reason
string | null
sources
object[]

Source information for a chunk used in completion

metadata
object | null