Skip to content

Context window clean up strategy #161

@alexewerlof

Description

@alexewerlof

Does the standard require a context overflow strategy?

Eg, is it a rolling window or are key points retained regardless of their position in session history?

Background:
I convert HTML to Markdown to add it to the context. But even that doesn't help for large pages and the Prompt API simply throws a quota exception.

My mitigation strategy is to break the text and feed to API in smaller chunks. But the question is if this method is pointless because if the LLM throws old stuff away, my mitigation is as good as just feeding it the last piece.

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