Class AssistantCreateParams.ToolResources.FileSearch
-
- All Implemented Interfaces:
public final class AssistantCreateParams.ToolResources.FileSearch
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAssistantCreateParams.ToolResources.FileSearch.BuilderA builder for FileSearch.
public final classAssistantCreateParams.ToolResources.FileSearch.VectorStore
-
Method Summary
-
-
Method Detail
-
vectorStoreIds
final Optional<List<String>> vectorStoreIds()
The vector store attached to this assistant. There can be a maximum of 1 vector store attached to the assistant.
-
vectorStores
final Optional<List<AssistantCreateParams.ToolResources.FileSearch.VectorStore>> vectorStores()
A helper to create a vector store with file_ids and attach it to this assistant. There can be a maximum of 1 vector store attached to the assistant.
-
_vectorStoreIds
final JsonField<List<String>> _vectorStoreIds()
Returns the raw JSON value of vectorStoreIds.
Unlike vectorStoreIds, this method doesn't throw if the JSON field has an unexpected type.
-
_vectorStores
final JsonField<List<AssistantCreateParams.ToolResources.FileSearch.VectorStore>> _vectorStores()
Returns the raw JSON value of vectorStores.
Unlike vectorStores, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final AssistantCreateParams.ToolResources.FileSearch.Builder toBuilder()
-
validate
final AssistantCreateParams.ToolResources.FileSearch validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static AssistantCreateParams.ToolResources.FileSearch.Builder builder()
Returns a mutable builder for constructing an instance of FileSearch.
-
-
-
-