VectorStoreFilesResource class

Resource for Vector Store Files operations.

Inheritance

Constructors

VectorStoreFilesResource({required OpenAIConfig config, required Client httpClient, required InterceptorChain interceptorChain, required RequestBuilder requestBuilder, void ensureNotClosed()?})
Creates a VectorStoreFilesResource.

Properties

config OpenAIConfig
Client configuration.
finalinherited
ensureNotClosed → void Function()?
Callback to check if the client has been closed.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
httpClient → Client
HTTP client for making requests.
finalinherited
interceptorChain InterceptorChain
Interceptor chain for request/response processing.
finalinherited
requestBuilder → RequestBuilder
Request builder for constructing HTTP requests.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
streamClientFactory → Client Function()?
Factory for creating dedicated HTTP clients for streaming requests.
finalinherited

Methods

create(String vectorStoreId, CreateVectorStoreFileRequest request) Future<VectorStoreFile>
Creates a vector store file.
delete(String vectorStoreId, String fileId) Future<DeleteVectorStoreFileResponse>
Deletes a vector store file.
list(String vectorStoreId, {int? limit, String? order, String? after, String? before, String? filter}) Future<VectorStoreFileList>
Lists files in a vector store.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
retrieve(String vectorStoreId, String fileId) Future<VectorStoreFile>
Retrieves a vector store file.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited