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_id | dropdown | Optional | The knowledge base library to query (optional — searches all knowledge bases when omitted). |
query | text | Required | The question to answer. |
top_k | number | Optional | Maximum number of source chunks to retrieve. |
Outputs
| Name | Type | Description |
|---|---|---|
body | object | RAG answer result. |
answer | text | Generated answer grounded in the knowledge base. |
results | array of object | Source chunks used to generate the answer. |
chunkId | text | Unique chunk identifier (documentId:versionId:index). |
documentId | text | ID of the source document. |
documentTitle | text | Title of the source document. |
text | text | The retrieved text chunk content. |
score | number | Relevance score for this chunk. |
retrievedBy | text | Retrieval method used (e.g. hybrid, vector). |
externalRef | text | External reference for the source document, if any. |
success | yes/no | Whether the operation succeeded. |