Skip to content

Knowledge Answer

DocHub24

DocHub24

Knowledge Answer

Ask a question and get a grounded AI answer from your knowledge base.

ActionAI Tool

Inputs

Name Type Required Description
library_iddropdownOptionalThe knowledge base library to query (optional — searches all knowledge bases when omitted).
querytextRequiredThe question to answer.
top_knumberOptionalMaximum number of source chunks to retrieve.

Outputs

Name Type Description
bodyobjectRAG answer result.
answertextGenerated answer grounded in the knowledge base.
resultsarray of objectSource chunks used to generate the answer.
chunkIdtextUnique chunk identifier (documentId:versionId:index).
documentIdtextID of the source document.
documentTitletextTitle of the source document.
texttextThe retrieved text chunk content.
scorenumberRelevance score for this chunk.
retrievedBytextRetrieval method used (e.g. hybrid, vector).
externalReftextExternal reference for the source document, if any.
successyes/noWhether the operation succeeded.