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

Llava and Salmonn do not properly recognise second file. #67

Open
chigozienri opened this issue Oct 29, 2023 · 1 comment
Open

Llava and Salmonn do not properly recognise second file. #67

chigozienri opened this issue Oct 29, 2023 · 1 comment

Comments

@chigozienri
Copy link
Contributor

A second file can be uploaded, but Llava and Salmonn keep referring to the previously uploaded file. I believe this is because they get sent the messageHistory, and this is prioritised over the file.

To replicate:

  1. Upload an image or audio file.
  2. Ask "What's in this [image/audio file]?" and receive description of file 1.
  3. Upload a second image or audio file.
  4. Ask "What's in this [image/audio file]?" and receive description of file 1 again (or even "In the audio file, there is a person speaking about the [contents of image 1]" if you switched between an image and an audio file).

A simple fix would be to (warn the user and) remove all previous message history when a new file is uploaded.

@chigozienri
Copy link
Contributor Author

@cbh123

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

1 participant