Package com.openai.models.beta.threads
Class Thread.ToolResources.FileSearch.Builder
-
- All Implemented Interfaces:
public final class Thread.ToolResources.FileSearch.Builder
A builder for FileSearch.
-
-
Method Summary
-
-
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)
Sets Builder.vectorStoreIds to an arbitrary JSON value.
You should usually call Builder.vectorStoreIds with a well-typed
List<String>
value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addVectorStoreId
final Thread.ToolResources.FileSearch.Builder addVectorStoreId(String vectorStoreId)
Adds a single String to vectorStoreIds.
-
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()
Returns an immutable instance of FileSearch.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-