Document Q&A
Answer a question using documents loaded earlier in the workflow. Use this tool when the task concerns the supplied documents rather than a search across a persistent knowledge base.
Use this tool
Load the required documents in an earlier workflow step and ensure that step runs before Document Q&A.
Enter Question.
Choose Sequential to refine an answer as document sections are processed, or Parallelized to process sections in parallel.
Run the workflow and review Answer against the source documents.
Behavior and limits
The question field does not attach documents. If no documents are available from an earlier step, the action fails with a missing-documents message. Chunk Size is measured in characters and defaults to 40,000. Use Search Knowledge Base when your sources are in a knowledge base.
Inputs
Question (required)
question
The question to ask about the documents
Algorithm
algorithm
Processing algorithm: 'parallelized' for faster processing or 'sequential' for more coherent answers
Chunk Size
chunk_size
The size of text chunks to process at once (in characters). Larger chunks provide more context. Default: 40000.
Outputs
Answer
answer
The answer to the question based on the documents
Related guides
Was this helpful?

