Endpoints
Ask a question to a PDF
Uses embedding model to find section of PDF most relevant for answering a question :param pdf_url: the url :param question: the question :return: the chunk most relevant to answering that question and its source
GET
/
api
/
question
Query Parameters
question
string
requiredThe user question. Must be in English.
pdf_id
string
requiredid for PDF. Must begin with be one of PDF_URL:some.url.com
or PROJ:some_path
Response
200 - application/json
chunks
object[]
total_chunk_num
integer
hint
string