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

Continue to use multimodal mode in a chat using images #411

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

massi-ang
Copy link
Collaborator

@massi-ang massi-ang commented Mar 8, 2024

Issue #, if available:

Description of changes:
Multimodal chat is trigger by the upload of an image in the input box, but on subsequent chats the normal text chat mode (langchain) would be if no new image is uploaded.

We now check if there are any images in the chat history, and if that is the case, we continue to use the multimodal chat mode.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@bigadsoleiman bigadsoleiman merged commit 4df641a into aws-samples:main Mar 8, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants