-
Notifications
You must be signed in to change notification settings - Fork 7
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
Message Attachment Image Recognition #118
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From the testing environment, this appears to work.
Can you speak a bit more to the need to store the response from the image url in a buffer and then convert it to Base64 before passing it to Ollama?
In other words, was this a requirement of discord for image processing or required to send to llava for interpretation?
The requirements are for Ollama in general for chat generations. I thought the URL would be taken but it rejects it. It won't even take Uint8Array[] either. So base64 strings were all that I could use. Also there are some Logs that need to be taken out before merging. cc: @JT2M0L3Y |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cleaner! 👍
Changes