Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(adaptive-context): Process image parts in summarization #393

Open
creatorrr opened this issue Jun 11, 2024 · 0 comments
Open

feat(adaptive-context): Process image parts in summarization #393

creatorrr opened this issue Jun 11, 2024 · 0 comments
Assignees

Comments

@creatorrr
Copy link
Contributor

[only in adaptive mode] add some logic to handle messages that contain images. If message.image_url.detail != "low" then produce a new entry that "summarizes" that entry by setting detail to "low"

apply this first, see if the token threshold is still being breached and then apply the summarize step. we should do this before the trim operation too -- only apply the trim operation if the summarize and entities step result is still greater than the token threshold

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants