Skip to content

Feature request: parameter max_output_tokens #1228

@MatejRojec

Description

@MatejRojec

Would it be possible to add a parameter to the Jina Reader API that allows limiting the output length (e.g., max_output_tokens). This would let users retrieve partial content, such as the first 5,000 tokens, without hitting the token budget errors or receiving full responses. It would improve efficiency for workflows that only need the initial portion of extracted text.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions