Class FileSearchToolResource
java.lang.Object
com.azure.ai.openai.assistants.models.FileSearchToolResource
- All Implemented Interfaces:
com.azure.json.JsonSerializable<FileSearchToolResource>
public final class FileSearchToolResource
extends Object
implements com.azure.json.JsonSerializable<FileSearchToolResource>
A set of resources that are used by the `file_search` tool.
-
Method Summary
Modifier and TypeMethodDescriptionstatic FileSearchToolResource
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of FileSearchToolResource from the JsonReader.Get the vectorStoreIds property: The ID of the vector store attached to this assistant.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
getVectorStoreIds
Get the vectorStoreIds property: The ID of the vector store attached to this assistant. There can be a maximum of 1 vector store attached to the assistant.- Returns:
- the vectorStoreIds value.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<FileSearchToolResource>
- Throws:
IOException
-
fromJson
public static FileSearchToolResource fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of FileSearchToolResource from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of FileSearchToolResource if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException
- If an error occurs while reading the FileSearchToolResource.
-