llama-index-vector-stores-opensearch 0.0.1__tar.gz → 0.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of llama-index-vector-stores-opensearch might be problematic. Click here for more details.
- {llama_index_vector_stores_opensearch-0.0.1 → llama_index_vector_stores_opensearch-0.1.1}/PKG-INFO +2 -2
- llama_index_vector_stores_opensearch-0.1.1/llama_index/vector_stores/opensearch/BUILD +1 -0
- {llama_index_vector_stores_opensearch-0.0.1 → llama_index_vector_stores_opensearch-0.1.1}/llama_index/vector_stores/opensearch/__init__.py +0 -1
- {llama_index_vector_stores_opensearch-0.0.1 → llama_index_vector_stores_opensearch-0.1.1}/llama_index/vector_stores/opensearch/base.py +3 -4
- {llama_index_vector_stores_opensearch-0.0.1 → llama_index_vector_stores_opensearch-0.1.1}/pyproject.toml +17 -12
- {llama_index_vector_stores_opensearch-0.0.1 → llama_index_vector_stores_opensearch-0.1.1}/README.md +0 -0
{llama_index_vector_stores_opensearch-0.0.1 → llama_index_vector_stores_opensearch-0.1.1}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: llama-index-vector-stores-opensearch
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: llama-index vector_stores opensearch integration
|
|
5
5
|
License: MIT
|
|
6
6
|
Author: Your Name
|
|
@@ -11,7 +11,7 @@ Classifier: Programming Language :: Python :: 3
|
|
|
11
11
|
Classifier: Programming Language :: Python :: 3.9
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.10
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
-
Requires-Dist: llama-index-core (>=0.
|
|
14
|
+
Requires-Dist: llama-index-core (>=0.10.1,<0.11.0)
|
|
15
15
|
Requires-Dist: opensearch-py (>=2.4.2,<3.0.0)
|
|
16
16
|
Description-Content-Type: text/markdown
|
|
17
17
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
python_sources()
|
|
@@ -3,10 +3,6 @@ import json
|
|
|
3
3
|
import uuid
|
|
4
4
|
from typing import Any, Dict, Iterable, List, Optional, Union, cast
|
|
5
5
|
|
|
6
|
-
from opensearchpy import OpenSearch
|
|
7
|
-
from opensearchpy.helpers import bulk
|
|
8
|
-
from opensearchpy.exceptions import NotFoundError
|
|
9
|
-
|
|
10
6
|
from llama_index.core.schema import BaseNode, MetadataMode, TextNode
|
|
11
7
|
from llama_index.core.vector_stores.types import (
|
|
12
8
|
MetadataFilters,
|
|
@@ -19,6 +15,9 @@ from llama_index.core.vector_stores.utils import (
|
|
|
19
15
|
metadata_dict_to_node,
|
|
20
16
|
node_to_metadata_dict,
|
|
21
17
|
)
|
|
18
|
+
from opensearchpy import OpenSearch
|
|
19
|
+
from opensearchpy.exceptions import NotFoundError
|
|
20
|
+
from opensearchpy.helpers import bulk
|
|
22
21
|
|
|
23
22
|
IMPORT_OPENSEARCH_PY_ERROR = (
|
|
24
23
|
"Could not import OpenSearch. Please install it with `pip install opensearch-py`."
|
|
@@ -1,38 +1,32 @@
|
|
|
1
1
|
[build-system]
|
|
2
|
-
requires = ["poetry-core"]
|
|
3
2
|
build-backend = "poetry.core.masonry.api"
|
|
3
|
+
requires = ["poetry-core"]
|
|
4
4
|
|
|
5
5
|
[tool.codespell]
|
|
6
6
|
check-filenames = true
|
|
7
7
|
check-hidden = true
|
|
8
|
-
# Feel free to un-skip examples, and experimental, you will just need to
|
|
9
|
-
# work through many typos (--write-changes and --interactive will help)
|
|
10
8
|
skip = "*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb"
|
|
11
9
|
|
|
12
10
|
[tool.mypy]
|
|
13
11
|
disallow_untyped_defs = true
|
|
14
|
-
# Remove venv skip when integrated with pre-commit
|
|
15
12
|
exclude = ["_static", "build", "examples", "notebooks", "venv"]
|
|
16
13
|
ignore_missing_imports = true
|
|
17
14
|
python_version = "3.8"
|
|
18
15
|
|
|
19
16
|
[tool.poetry]
|
|
20
|
-
name = "llama-index-vector-stores-opensearch"
|
|
21
|
-
version = "0.0.1"
|
|
22
|
-
description = "llama-index vector_stores opensearch integration"
|
|
23
17
|
authors = ["Your Name <you@example.com>"]
|
|
18
|
+
description = "llama-index vector_stores opensearch integration"
|
|
24
19
|
license = "MIT"
|
|
20
|
+
name = "llama-index-vector-stores-opensearch"
|
|
25
21
|
readme = "README.md"
|
|
26
|
-
|
|
22
|
+
version = "0.1.1"
|
|
27
23
|
|
|
28
24
|
[tool.poetry.dependencies]
|
|
29
25
|
python = ">=3.8.1,<3.12"
|
|
30
|
-
llama-index-core = "^0.
|
|
26
|
+
llama-index-core = "^0.10.1"
|
|
31
27
|
opensearch-py = "^2.4.2"
|
|
32
28
|
|
|
33
29
|
[tool.poetry.group.dev.dependencies]
|
|
34
|
-
black = {extras = ["jupyter"], version = "<=23.9.1,>=23.7.0"}
|
|
35
|
-
codespell = {extras = ["toml"], version = ">=v2.2.6"}
|
|
36
30
|
ipython = "8.10.0"
|
|
37
31
|
jupyter = "^1.0.0"
|
|
38
32
|
mypy = "0.991"
|
|
@@ -46,5 +40,16 @@ types-Deprecated = ">=0.1.0"
|
|
|
46
40
|
types-PyYAML = "^6.0.12.12"
|
|
47
41
|
types-protobuf = "^4.24.0.4"
|
|
48
42
|
types-redis = "4.5.5.0"
|
|
49
|
-
types-requests = "2.28.11.8"
|
|
43
|
+
types-requests = "2.28.11.8"
|
|
50
44
|
types-setuptools = "67.1.0.0"
|
|
45
|
+
|
|
46
|
+
[tool.poetry.group.dev.dependencies.black]
|
|
47
|
+
extras = ["jupyter"]
|
|
48
|
+
version = "<=23.9.1,>=23.7.0"
|
|
49
|
+
|
|
50
|
+
[tool.poetry.group.dev.dependencies.codespell]
|
|
51
|
+
extras = ["toml"]
|
|
52
|
+
version = ">=v2.2.6"
|
|
53
|
+
|
|
54
|
+
[[tool.poetry.packages]]
|
|
55
|
+
include = "llama_index/"
|
{llama_index_vector_stores_opensearch-0.0.1 → llama_index_vector_stores_opensearch-0.1.1}/README.md
RENAMED
|
File without changes
|