| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Signed-off-by: Johannes Messner <messnerjo@gmail.com>
Signed-off-by: Johannes Messner <messnerjo@gmail.com>
Signed-off-by: Johannes Messner <messnerjo@gmail.com>
Signed-off-by: Johannes Messner <messnerjo@gmail.com>
Signed-off-by: Johannes Messner <messnerjo@gmail.com>
Signed-off-by: Johannes Messner <messnerjo@gmail.com>
Signed-off-by: Johannes Messner <messnerjo@gmail.com>
Signed-off-by: Johannes Messner <messnerjo@gmail.com>
Signed-off-by: Johannes Messner <messnerjo@gmail.com>
Signed-off-by: Johannes Messner <messnerjo@gmail.com>
Signed-off-by: Johannes Messner <messnerjo@gmail.com>
Signed-off-by: Johannes Messner <messnerjo@gmail.com>
Signed-off-by: Johannes Messner <messnerjo@gmail.com>
Signed-off-by: Johannes Messner <messnerjo@gmail.com>
Signed-off-by: Johannes Messner <messnerjo@gmail.com>
Signed-off-by: Johannes Messner <messnerjo@gmail.com>
Signed-off-by: Johannes Messner <messnerjo@gmail.com>
Signed-off-by: Johannes Messner <messnerjo@gmail.com>
Signed-off-by: Johannes Messner <messnerjo@gmail.com>
Signed-off-by: Johannes Messner <messnerjo@gmail.com>
Signed-off-by: Johannes Messner <messnerjo@gmail.com>
Signed-off-by: Johannes Messner <messnerjo@gmail.com>
Signed-off-by: Johannes Messner <messnerjo@gmail.com>
Signed-off-by: Johannes Messner <messnerjo@gmail.com>
Signed-off-by: Johannes Messner <messnerjo@gmail.com>
Signed-off-by: Johannes Messner <messnerjo@gmail.com>
Co-authored-by: Anne Yang <evangeline-lun@foxmail.com> Signed-off-by: Johannes Messner <44071807+JohannesMessner@users.noreply.github.com>
|
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
Sorry, something went wrong.
| default_column_config: Dict[Type, Dict[str, Any]] = field( | ||
| default_factory=lambda: { | ||
| np.ndarray: { | ||
| 'dim': 128, |
There was a problem hiding this comment.
do we need to keep this dim here when class _Column has n_dim?
Sorry, something went wrong.
There was a problem hiding this comment.
good point, let me double check this
Sorry, something went wrong.
There was a problem hiding this comment.
Ok to clarify: The n_dim in the _Column is taken from the type parameter, e.g. NdArray[512], then n_dim will be 512. The dim here is just a parameter that people can pass to Field(). So in the _Column it could be that n_dim is empty while dim isn't, or vice versa, or both are empty, etc.
We cannot combine these automatically, because what is called dim here could have other names for other backends.
I will clarify the guidance on this in the doc, thanks for pointing out!
Sorry, something went wrong.
Signed-off-by: Johannes Messner <messnerjo@gmail.com>
Signed-off-by: Johannes Messner <messnerjo@gmail.com>
Signed-off-by: Johannes Messner <messnerjo@gmail.com>
Signed-off-by: Johannes Messner <messnerjo@gmail.com>
Signed-off-by: Johannes Messner <messnerjo@gmail.com>
Signed-off-by: Johannes Messner <messnerjo@gmail.com>
Signed-off-by: Johannes Messner <messnerjo@gmail.com>
|
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
Sorry, something went wrong.
There was a problem hiding this comment.
can we mark all of the test as "slow" and "docstore" related ?
Sorry, something went wrong.
yep makes sense |
Sorry, something went wrong.
Signed-off-by: Johannes Messner <messnerjo@gmail.com>
|
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
Sorry, something went wrong.
|
📝 Docs are deployed on https://ft-feat-doc-store--jina-docs.netlify.app 🎉 |
Sorry, something went wrong.
| from docarray.doc_index.backends.hnswlib_doc_index import HnswDocumentIndex | ||
| from docarray.typing import NdArray | ||
|
|
||
| pytestmark = [pytest.mark.slow, pytest.mark.doc_index] |
There was a problem hiding this comment.
oh did not know you could do this interesting
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Goals:
First implementation of a Document Store.
Design doc: https://lightning-scent-57a.notion.site/Document-Stores-v2-design-doc-f11d6fe6ecee43f49ef88e0f1bf80b7f
Usage Example:
ToDo:
- [ ] nested access syntax: change __ to .
Note: unchecked boxes above have been moved to separate PR