AzureAISearchToolResource Class
- java.
lang. Object - com.
azure. ai. agents. persistent. models. AzureAISearchToolResource
- com.
Implements
public final class AzureAISearchToolResource
implements JsonSerializable<AzureAISearchToolResource>
A set of index resources used by the `azure_ai_search` tool.
Constructor Summary
| Constructor | Description |
|---|---|
| AzureAISearchToolResource() |
Creates an instance of Azure |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Azure |
fromJson(JsonReader jsonReader)
Reads an instance of Azure |
|
List<AISearch |
getIndexList()
Get the index |
|
Azure |
setIndexList(List<AISearchIndexResource> indexList)
Set the index |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
AzureAISearchToolResource
public AzureAISearchToolResource()
Creates an instance of AzureAISearchToolResource class.
Method Details
fromJson
public static AzureAISearchToolResource fromJson(JsonReader jsonReader)
Reads an instance of AzureAISearchToolResource from the JsonReader.
Parameters:
Returns:
Throws:
getIndexList
public List<AISearchIndexResource> getIndexList()
Get the indexList property: The indices attached to this agent. There can be a maximum of 1 index resource attached to the agent.
Returns:
setIndexList
public AzureAISearchToolResource setIndexList(List<AISearchIndexResource> indexList)
Set the indexList property: The indices attached to this agent. There can be a maximum of 1 index resource attached to the agent.
Parameters:
Returns: