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

Image Input #134

Open
Legerdo opened this issue Mar 29, 2024 · 2 comments
Open

Image Input #134

Legerdo opened this issue Mar 29, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@Legerdo
Copy link

Legerdo commented Mar 29, 2024

Describe the feature

hello.
llamafile seems to have image input functions such as jpg/png/gif/bmp.

Example)
llamafile -ngl 9999 --temp 0
--image ~/Pictures/lemurs.jpg
-m llava-v1.5-7b-Q4_K.gguf
--mmproj llava-v1.5-7b-mmproj-Q4_0.gguf
-e -p '### User: What do you see?\n### Assistant: '
--no-display-prompt 2>/dev/null

Is it possible to implement this feature in the future?
Or is there some problem that makes it impossible?

@Legerdo Legerdo added the enhancement New feature or request label Mar 29, 2024
@amakropoulos
Copy link
Collaborator

hi, thanks for the request!
that should be feasible.
how would you like to use it / see it inside Unity?

@Legerdo
Copy link
Author

Legerdo commented Mar 29, 2024

Eventually, I would like to add the ability to describe to the user what the NPC character's camera (eyes) sees.

I haven't tested this against the local vision model yet, so I don't know to what extent it's possible, but it would be interesting if it were!

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

No branches or pull requests

2 participants