Package com.openai.models
Class Thread.ToolResources.FileSearch.Builder
-
- All Implemented Interfaces:
public final class Thread.ToolResources.FileSearch.Builder
A builder for FileSearch.
-
-
Method Summary
Modifier and Type Method Description final Thread.ToolResources.FileSearch.Builder
vectorStoreIds(List<String> vectorStoreIds)
The vector store attached to this thread. final Thread.ToolResources.FileSearch.Builder
vectorStoreIds(JsonField<List<String>> vectorStoreIds)
The vector store attached to this thread. final Thread.ToolResources.FileSearch.Builder
addVectorStoreId(String vectorStoreId)
The vector store attached to this thread. final Thread.ToolResources.FileSearch.Builder
additionalProperties(Map<String, JsonValue> additionalProperties)
final Thread.ToolResources.FileSearch.Builder
putAdditionalProperty(String key, JsonValue value)
final Thread.ToolResources.FileSearch.Builder
putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
final Thread.ToolResources.FileSearch.Builder
removeAdditionalProperty(String key)
final Thread.ToolResources.FileSearch.Builder
removeAllAdditionalProperties(Set<String> keys)
final Thread.ToolResources.FileSearch
build()
-
-
Method Detail
-
vectorStoreIds
final Thread.ToolResources.FileSearch.Builder vectorStoreIds(List<String> vectorStoreIds)
The vector store attached to this thread. There can be a maximum of 1 vector store attached to the thread.
-
vectorStoreIds
final Thread.ToolResources.FileSearch.Builder vectorStoreIds(JsonField<List<String>> vectorStoreIds)
The vector store attached to this thread. There can be a maximum of 1 vector store attached to the thread.
-
addVectorStoreId
final Thread.ToolResources.FileSearch.Builder addVectorStoreId(String vectorStoreId)
The vector store attached to this thread. There can be a maximum of 1 vector store attached to the thread.
-
additionalProperties
final Thread.ToolResources.FileSearch.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Thread.ToolResources.FileSearch.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Thread.ToolResources.FileSearch.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Thread.ToolResources.FileSearch.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Thread.ToolResources.FileSearch.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final Thread.ToolResources.FileSearch build()
-
-
-
-