-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add downsampled images as context instead of screenshot.png? #56
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
Comments
Out of curiosity, Doesn't the Vision model has any sort of "Token Limit" like it has in GPT4? |
@klxu03 This is a good idea. I've been trying to improve the vision prompt by telling GPT to reference its previous action. But also giving it a stack of previous images would allow it to reference even farther back. You would need to experiment with the downsampling and size of the previous image stack to not hit token limits as @shubhexists mentioned. Feel free to open a PR/draft demonstrating this change! |
Got it. I'll go draft up a PR for the previous image stacks! I'm planning on just making it an immediate previous message in pseudo_messages. Also, regarding the token limit, correct me if I'm wrong, is the GPT4V context window up to 128k tokens? |
closing since old and less relevant now |
Would it be advantageous to keep a collage of downsampled previous images, maybe to 160px x 90px and just stack them in a line left to right, one after another, and constantly pass this image as additional context for each action like here is a timeline of previous states the model has traversed through?
FYI: I would be happy to draft and code this feature out!
The text was updated successfully, but these errors were encountered: