-
Notifications
You must be signed in to change notification settings - Fork 24
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
/answer
does not return Document
metadata
#353
Comments
ragna/ragna/deploy/_api/core.py Lines 258 to 264 in 4a667f9
returns a ragna/ragna/deploy/_api/schemas.py Lines 54 to 61 in 4a667f9
So, directly, no document is returned here at all. The document is part of the ragna/ragna/deploy/_api/schemas.py Lines 35 to 41 in 4a667f9
Finally we arrive at the ragna/ragna/deploy/_api/schemas.py Lines 18 to 20 in 4a667f9
Since we do have the metadata in the DB already, it shouldn't be too hard to link it back to the |
I've played around with it for a bit and I think this is more a feature request than a bug. That being said, I think the change is for the better. I started a branch in #355. However, this includes breaking changes. I'd rather wait after the |
Bug description
(I'm not sure if this is a bug or just user error, or deliberately intended.)
When I store
Document
metadata in the database, it's not returned when I make a request to/answer
. This is unfortunate as the metadata contains lots of useful information about the data source that I would like to display.How to reproduce the bug?
Upload a single document with metadata.
Make a request to
/answer
and inspect the response.Versions and dependencies used
All
Anything else?
No response
The text was updated successfully, but these errors were encountered: