feat: add hnsw params to storage backends#272
Conversation
Codecov Report
@@ Coverage Diff @@
## main #272 +/- ##
=======================================
Coverage 86.04% 86.05%
=======================================
Files 134 134
Lines 6235 6253 +18
=======================================
+ Hits 5365 5381 +16
- Misses 870 872 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
| index_name: Optional[str] = None | ||
| es_config: Dict[str, Any] = field(default_factory=dict) | ||
| batch_size: int = 64 | ||
| ef_construction: Optional[int] = None |
There was a problem hiding this comment.
why don't we put directly the defaults here?
There was a problem hiding this comment.
please follow up on this thread:
https://jinaai.slack.com/archives/C02AC4T8Y5T/p1649754663487439
Me and the team are with option 1 for the mentioned arguments, lmk your opinion
| port: Optional[int] = field(default=6333) | ||
| serialize_config: Dict = field(default_factory=dict) | ||
| scroll_batch_size: int = 64 | ||
| ef_construct: Optional[int] = None |
81294ed to
df00736
Compare
|
📝 Docs are deployed on https://ft-feat-backends-hnsw-params--jina-docs.netlify.app 🎉 |
feat: add hnsw params to storage backends