Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions sdk/ai/azure-ai-agents/_meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"commit": "3dd9eb300c152900aeb6036bb73da30889fb851c",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"typespec_src": "specification/ai/Azure.AI.Agents",
"@azure-tools/typespec-python": "0.44.2"
}
983 changes: 7 additions & 976 deletions sdk/ai/azure-ai-agents/azure/ai/agents/_patch.py

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion sdk/ai/azure-ai-agents/azure/ai/agents/_types.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# pylint: disable=line-too-long,useless-suppression
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# pylint: disable=line-too-long,useless-suppression,too-many-lines
# pylint: disable=too-many-lines
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
Expand Down
985 changes: 7 additions & 978 deletions sdk/ai/azure-ai-agents/azure/ai/agents/aio/_patch.py

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
build_vector_stores_list_request,
build_vector_stores_modify_request,
)
from ...servicepatterns import models as _servicepatterns_models1
from ...servicepatterns import models as _servicepatterns_models3
from .._configuration import AgentsClientConfiguration

if TYPE_CHECKING:
Expand Down
2,279 changes: 7 additions & 2,272 deletions sdk/ai/azure-ai-agents/azure/ai/agents/aio/operations/_patch.py

Large diffs are not rendered by default.

20 changes: 12 additions & 8 deletions sdk/ai/azure-ai-agents/azure/ai/agents/models/_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,9 +380,8 @@ class AISearchIndexResource(_Model):
"""A AI Search Index resource.

:ivar index_connection_id: An index connection id in an IndexResource attached to this agent.
Required.
:vartype index_connection_id: str
:ivar index_name: The name of an index in an IndexResource attached to this agent. Required.
:ivar index_name: The name of an index in an IndexResource attached to this agent.
:vartype index_name: str
:ivar query_type: Type of query in an AIIndexResource attached to this agent. Known values are:
"simple", "semantic", "vector", "vector_simple_hybrid", and "vector_semantic_hybrid".
Expand All @@ -391,12 +390,14 @@ class AISearchIndexResource(_Model):
:vartype top_k: int
:ivar filter: filter string for search resource.
:vartype filter: str
:ivar index_asset_id: Index asset id for search resource.
:vartype index_asset_id: str
"""

index_connection_id: str = rest_field(visibility=["read", "create", "update", "delete", "query"])
"""An index connection id in an IndexResource attached to this agent. Required."""
index_name: str = rest_field(visibility=["read", "create", "update", "delete", "query"])
"""The name of an index in an IndexResource attached to this agent. Required."""
index_connection_id: Optional[str] = rest_field(visibility=["read", "create", "update", "delete", "query"])
"""An index connection id in an IndexResource attached to this agent."""
index_name: Optional[str] = rest_field(visibility=["read", "create", "update", "delete", "query"])
"""The name of an index in an IndexResource attached to this agent."""
query_type: Optional[Union[str, "_models.AzureAISearchQueryType"]] = rest_field(
visibility=["read", "create", "update", "delete", "query"]
)
Expand All @@ -406,16 +407,19 @@ class AISearchIndexResource(_Model):
"""Number of documents to retrieve from search and present to the model."""
filter: Optional[str] = rest_field(visibility=["read", "create", "update", "delete", "query"])
"""filter string for search resource."""
index_asset_id: Optional[str] = rest_field(visibility=["read", "create", "update", "delete", "query"])
"""Index asset id for search resource."""

@overload
def __init__(
self,
*,
index_connection_id: str,
index_name: str,
index_connection_id: Optional[str] = None,
index_name: Optional[str] = None,
query_type: Optional[Union[str, "_models.AzureAISearchQueryType"]] = None,
top_k: Optional[int] = None,
filter: Optional[str] = None, # pylint: disable=redefined-builtin
index_asset_id: Optional[str] = None,
) -> None: ...

@overload
Expand Down
Loading