|
53 | 53 | from .types.embedding_create_response import EmbeddingCreateResponse |
54 | 54 |
|
55 | 55 | if TYPE_CHECKING: |
56 | | - from .resources import chat, files, stores, parsing, api_keys, embeddings, extractions, data_sources, vector_stores |
| 56 | + from .resources import chat, files, stores, parsing, api_keys, embeddings, extractions, data_sources |
57 | 57 | from .resources.chat import ChatResource, AsyncChatResource |
58 | 58 | from .resources.files import FilesResource, AsyncFilesResource |
59 | 59 | from .resources.api_keys import APIKeysResource, AsyncAPIKeysResource |
|
62 | 62 | from .resources.parsing.parsing import ParsingResource, AsyncParsingResource |
63 | 63 | from .resources.extractions.extractions import ExtractionsResource, AsyncExtractionsResource |
64 | 64 | from .resources.data_sources.data_sources import DataSourcesResource, AsyncDataSourcesResource |
65 | | - from .resources.vector_stores.vector_stores import VectorStoresResource, AsyncVectorStoresResource |
66 | 65 |
|
67 | 66 | __all__ = [ |
68 | 67 | "ENVIRONMENTS", |
@@ -162,12 +161,6 @@ def __init__( |
162 | 161 | _strict_response_validation=_strict_response_validation, |
163 | 162 | ) |
164 | 163 |
|
165 | | - @cached_property |
166 | | - def vector_stores(self) -> VectorStoresResource: |
167 | | - from .resources.vector_stores import VectorStoresResource |
168 | | - |
169 | | - return VectorStoresResource(self) |
170 | | - |
171 | 164 | @cached_property |
172 | 165 | def stores(self) -> StoresResource: |
173 | 166 | from .resources.stores import StoresResource |
@@ -565,12 +558,6 @@ def __init__( |
565 | 558 | _strict_response_validation=_strict_response_validation, |
566 | 559 | ) |
567 | 560 |
|
568 | | - @cached_property |
569 | | - def vector_stores(self) -> AsyncVectorStoresResource: |
570 | | - from .resources.vector_stores import AsyncVectorStoresResource |
571 | | - |
572 | | - return AsyncVectorStoresResource(self) |
573 | | - |
574 | 561 | @cached_property |
575 | 562 | def stores(self) -> AsyncStoresResource: |
576 | 563 | from .resources.stores import AsyncStoresResource |
@@ -905,12 +892,6 @@ def __init__(self, client: Mixedbread) -> None: |
905 | 892 | client.rerank, |
906 | 893 | ) |
907 | 894 |
|
908 | | - @cached_property |
909 | | - def vector_stores(self) -> vector_stores.VectorStoresResourceWithRawResponse: |
910 | | - from .resources.vector_stores import VectorStoresResourceWithRawResponse |
911 | | - |
912 | | - return VectorStoresResourceWithRawResponse(self._client.vector_stores) |
913 | | - |
914 | 895 | @cached_property |
915 | 896 | def stores(self) -> stores.StoresResourceWithRawResponse: |
916 | 897 | from .resources.stores import StoresResourceWithRawResponse |
@@ -976,12 +957,6 @@ def __init__(self, client: AsyncMixedbread) -> None: |
976 | 957 | client.rerank, |
977 | 958 | ) |
978 | 959 |
|
979 | | - @cached_property |
980 | | - def vector_stores(self) -> vector_stores.AsyncVectorStoresResourceWithRawResponse: |
981 | | - from .resources.vector_stores import AsyncVectorStoresResourceWithRawResponse |
982 | | - |
983 | | - return AsyncVectorStoresResourceWithRawResponse(self._client.vector_stores) |
984 | | - |
985 | 960 | @cached_property |
986 | 961 | def stores(self) -> stores.AsyncStoresResourceWithRawResponse: |
987 | 962 | from .resources.stores import AsyncStoresResourceWithRawResponse |
@@ -1047,12 +1022,6 @@ def __init__(self, client: Mixedbread) -> None: |
1047 | 1022 | client.rerank, |
1048 | 1023 | ) |
1049 | 1024 |
|
1050 | | - @cached_property |
1051 | | - def vector_stores(self) -> vector_stores.VectorStoresResourceWithStreamingResponse: |
1052 | | - from .resources.vector_stores import VectorStoresResourceWithStreamingResponse |
1053 | | - |
1054 | | - return VectorStoresResourceWithStreamingResponse(self._client.vector_stores) |
1055 | | - |
1056 | 1025 | @cached_property |
1057 | 1026 | def stores(self) -> stores.StoresResourceWithStreamingResponse: |
1058 | 1027 | from .resources.stores import StoresResourceWithStreamingResponse |
@@ -1118,12 +1087,6 @@ def __init__(self, client: AsyncMixedbread) -> None: |
1118 | 1087 | client.rerank, |
1119 | 1088 | ) |
1120 | 1089 |
|
1121 | | - @cached_property |
1122 | | - def vector_stores(self) -> vector_stores.AsyncVectorStoresResourceWithStreamingResponse: |
1123 | | - from .resources.vector_stores import AsyncVectorStoresResourceWithStreamingResponse |
1124 | | - |
1125 | | - return AsyncVectorStoresResourceWithStreamingResponse(self._client.vector_stores) |
1126 | | - |
1127 | 1090 | @cached_property |
1128 | 1091 | def stores(self) -> stores.AsyncStoresResourceWithStreamingResponse: |
1129 | 1092 | from .resources.stores import AsyncStoresResourceWithStreamingResponse |
|
0 commit comments