Skip to content

Commit

Permalink
Merge branch 'main' into TuanaCelik-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
masci authored Sep 13, 2023
2 parents aa2b91a + 7c1108e commit ee298f8
Show file tree
Hide file tree
Showing 9 changed files with 1,320 additions and 551 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/stores_milvus_document_store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

env:
PYTHON_VERSION: "3.8"
MILVUS_VERSION: "v2.2.8"
MILVUS_VERSION: "v2.2.10"

jobs:

Expand Down
2 changes: 1 addition & 1 deletion nodes/text2speech/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ dependencies = [
"torch",
"pydantic",
"soundfile",
"pyworld<=0.2.12",
"pyworld>=0.3.1",
"espnet",
"typeguard==2.13.3",
"espnet-model-zoo",
Expand Down
11 changes: 11 additions & 0 deletions stores/milvus-documentstore/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@
```console
pip install -e "git+https://github.com/deepset-ai/haystack-extras.git#egg=milvus_documentstore&subdirectory=stores/milvus-documentstore"
```
## Usage
You can find the package in your code as `milvus_documentstore`. Then, you can add a document like this:

```py
from haystack import Document
from milvus_documentstore import MilvusDocumentStore

ds = MilvusDocumentStore()
ds.write_documents([Document("Some Content")])
ds.get_all_documents() # prints [<Document: {'content': 'foo', 'content_type': 'text', ...>]
```

## License

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2023-present deepset GmbH <[email protected]>
#
# SPDX-License-Identifier: Apache-2.0
__version__ = '0.0.1'
__version__ = "0.0.1"
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2023-present deepset GmbH <[email protected]>
#
# SPDX-License-Identifier: Apache-2.0
from .milvus import MilvusDocumentStore
from .milvus import MilvusDocumentStore
Loading

0 comments on commit ee298f8

Please sign in to comment.