Questions
Ask Question
Endpoint:
POST /questions/ask
Description: Ask a question about a specific document or knowledge base.
Request Body:
query
: The question text.documentId
orkb_id
: The ID of the document or knowledge base to query.
Response: Answer object containing the answer to the question.
Get Question History
Endpoint:
GET /questions/history
Description: Retrieve the history of questions asked by the user.
Response: Array of question objects containing question and answer history.
Last updated