25
25
ThreadsOperations ,
26
26
VectorStoreFileBatchesOperations ,
27
27
VectorStoreFilesOperations ,
28
+ VectorStoresClientOperations ,
28
29
VectorStoresOperations ,
29
30
)
30
31
35
36
class AgentsClient (AgentsClientOperationsMixin ): # pylint: disable=too-many-instance-attributes
36
37
"""AgentsClient.
37
38
39
+ :ivar vector_stores: VectorStoresOperations operations
40
+ :vartype vector_stores: azure.ai.agents.operations.VectorStoresOperations
41
+ :ivar vector_store_files: VectorStoreFilesOperations operations
42
+ :vartype vector_store_files: azure.ai.agents.operations.VectorStoreFilesOperations
43
+ :ivar vector_store_file_batches: VectorStoreFileBatchesOperations operations
44
+ :vartype vector_store_file_batches: azure.ai.agents.operations.VectorStoreFileBatchesOperations
45
+ :ivar vector_stores_client: VectorStoresClientOperations operations
46
+ :vartype vector_stores_client: azure.ai.agents.operations.VectorStoresClientOperations
38
47
:ivar threads: ThreadsOperations operations
39
48
:vartype threads: azure.ai.agents.operations.ThreadsOperations
40
49
:ivar messages: MessagesOperations operations
@@ -45,12 +54,6 @@ class AgentsClient(AgentsClientOperationsMixin): # pylint: disable=too-many-ins
45
54
:vartype run_steps: azure.ai.agents.operations.RunStepsOperations
46
55
:ivar files: FilesOperations operations
47
56
:vartype files: azure.ai.agents.operations.FilesOperations
48
- :ivar vector_stores: VectorStoresOperations operations
49
- :vartype vector_stores: azure.ai.agents.operations.VectorStoresOperations
50
- :ivar vector_store_files: VectorStoreFilesOperations operations
51
- :vartype vector_store_files: azure.ai.agents.operations.VectorStoreFilesOperations
52
- :ivar vector_store_file_batches: VectorStoreFileBatchesOperations operations
53
- :vartype vector_store_file_batches: azure.ai.agents.operations.VectorStoreFileBatchesOperations
54
57
:param endpoint: Project endpoint in the form of:
55
58
https://<aiservices-id>.services.ai.azure.com/api/projects/<project-name>. Required.
56
59
:type endpoint: str
@@ -87,18 +90,21 @@ def __init__(self, endpoint: str, credential: "TokenCredential", **kwargs: Any)
87
90
self ._serialize = Serializer ()
88
91
self ._deserialize = Deserializer ()
89
92
self ._serialize .client_side_validation = False
90
- self .threads = ThreadsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
91
- self .messages = MessagesOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
92
- self .runs = RunsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
93
- self .run_steps = RunStepsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
94
- self .files = FilesOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
95
93
self .vector_stores = VectorStoresOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
96
94
self .vector_store_files = VectorStoreFilesOperations (
97
95
self ._client , self ._config , self ._serialize , self ._deserialize
98
96
)
99
97
self .vector_store_file_batches = VectorStoreFileBatchesOperations (
100
98
self ._client , self ._config , self ._serialize , self ._deserialize
101
99
)
100
+ self .vector_stores_client = VectorStoresClientOperations (
101
+ self ._client , self ._config , self ._serialize , self ._deserialize
102
+ )
103
+ self .threads = ThreadsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
104
+ self .messages = MessagesOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
105
+ self .runs = RunsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
106
+ self .run_steps = RunStepsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
107
+ self .files = FilesOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
102
108
103
109
def send_request (self , request : HttpRequest , * , stream : bool = False , ** kwargs : Any ) -> HttpResponse :
104
110
"""Runs the network request through the client's chained policies.
0 commit comments