verbatim_transform
Answer questions using provided context documents, returning exact citations from the source texts.
Instructions
Turn any question + context documents into a verbatim answer with exact citations.
Collection-agnostic — works with any text you provide.
Args: question: The question to answer. context: List of documents. Each dict should have: - content (required): the text to cite from - title (optional): document title - source (optional): URL or reference - metadata (optional): any additional metadata
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | Yes | ||
| question | Yes |