|
2 | 2 |
|
3 | 3 | If you are using DocArray v<0.30.0, you will be familiar with its [dataclass API](https://docarray.jina.ai/fundamentals/dataclass/). |
4 | 4 |
|
5 | | -_DocArray v2 is that idea, taken seriously._ Every document is created through a dataclass-like interface, |
| 5 | +_DocArray >=0.30 is that idea, taken seriously._ Every document is created through a dataclass-like interface, |
6 | 6 | courtesy of [Pydantic](https://pydantic-docs.helpmanual.io/usage/models/). |
7 | 7 |
|
8 | 8 | This gives the following advantages: |
@@ -33,7 +33,7 @@ and additional `chunks` and `matches`. |
33 | 33 | - In v2 we have the [`LegacyDocument`][docarray.documents.legacy.LegacyDocument] class, |
34 | 34 | which extends `BaseDoc` while following the same schema as v1's `Document`. |
35 | 35 | The `LegacyDocument` can be useful to start migrating your codebase from v1 to v2. |
36 | | - Nevertheless, the API is not fully compatible with DocArray v1 `Document`. |
| 36 | + Nevertheless, the API is not fully compatible with DocArray <=0.21 `Document`. |
37 | 37 | Indeed, none of the methods associated with `Document` are present. |
38 | 38 | Only the schema of the data is similar. |
39 | 39 |
|
@@ -100,7 +100,7 @@ book_titles = docs.title # returns a list[str] |
100 | 100 | ## Changes to Document Store |
101 | 101 |
|
102 | 102 | In v2 the `Document Store` has been renamed to [`DocIndex`](user_guide/storing/docindex.md) and can be used for fast retrieval using vector similarity. |
103 | | -DocArray v2 `DocIndex` supports: |
| 103 | +DocArray >=0.30 `DocIndex` supports: |
104 | 104 |
|
105 | 105 | - [Weaviate](https://weaviate.io/) |
106 | 106 | - [Qdrant](https://qdrant.tech/) |
|
0 commit comments