-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
weaviate[minor]: Add Document className as metadata #7486
base: main
Are you sure you want to change the base?
weaviate[minor]: Add Document className as metadata #7486
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
metadata: rest, | ||
metadata: { | ||
...rest, | ||
className: this.indexName |
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.
Should we just call it indexName
instead of className
?
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.
We could but the idea is to export the className
metadata field from weaviate
. Since we are exporting this field in the Document
interface metadata
field, I would think is even safer to use className
to avoid any field name collision.
PD: Thanks for the fast feedback!
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.
In their docs I see:
https://weaviate.io/developers/weaviate/manage-data/collections
Newer Weaviate documentation discuses "collections." Older Weaviate documentation refers to "classes" instead. Expect to see both terms throughout the documentation.
Maybe collectionName
is more appropriate?
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.
yeah, that makes sense. I will push an update, thanks!
Description
className
as part of Document metadata.Why
EnsembleRetriever
, we don't know where the docs are coming from.