-
Notifications
You must be signed in to change notification settings - Fork 65
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
Unable to add Metadata to index #15
Comments
Hey
It should be yes, this is my mistake. The docstring is about the ideal scenario, which I had to rollback to not hold back the release because of slight metadata issues. Currently it only works with a list of |
Hi @NMVRodrigues, @bclavie
As a workaround for now sending each metadata as a list worked for me. So originally my metadata looked something like this:
I changed to:
Notice how I converted each metadata to a dictionary inside a list. It worked for me. Obviously, this is a work around and expectation would be the ideal situation as in the docs. Let me know if you think there is something wrong with this. |
Curious on the status for this. I noticed there was a fix out but hasn't been merged yet. |
I've been out for various reasons (vacation/illness), but there'll be a byaldi release tomorrow or Monday (in the worst case) incorporating lots of tiny fixes! |
When trying to add metadata to an index, either using a list of metadata dicts or a mapping of uid to metadata dict (shown below), it always produces a key error.
Example:
This produces the following error:
Removing metadata solves this problem, however, it should be ok based on the metadata docstring from RAGMultiModalModel
The text was updated successfully, but these errors were encountered: