pub struct CreateVectorStoreFileBatchRequestBuilder { /* private fields */ }
Expand description
Builder for CreateVectorStoreFileBatchRequest
.
Implementations§
Source§impl CreateVectorStoreFileBatchRequestBuilder
impl CreateVectorStoreFileBatchRequestBuilder
Sourcepub fn file_ids<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self
pub fn file_ids<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self
A list of File IDs that the vector store should use. Useful for tools like file_search
that can access files.
pub fn chunking_strategy<VALUE: Into<VectorStoreChunkingStrategy>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn build(&self) -> Result<CreateVectorStoreFileBatchRequest, OpenAIError>
pub fn build(&self) -> Result<CreateVectorStoreFileBatchRequest, OpenAIError>
Builds a new CreateVectorStoreFileBatchRequest
.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for CreateVectorStoreFileBatchRequestBuilder
impl Clone for CreateVectorStoreFileBatchRequestBuilder
Source§fn clone(&self) -> CreateVectorStoreFileBatchRequestBuilder
fn clone(&self) -> CreateVectorStoreFileBatchRequestBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for CreateVectorStoreFileBatchRequestBuilder
impl RefUnwindSafe for CreateVectorStoreFileBatchRequestBuilder
impl Send for CreateVectorStoreFileBatchRequestBuilder
impl Sync for CreateVectorStoreFileBatchRequestBuilder
impl Unpin for CreateVectorStoreFileBatchRequestBuilder
impl UnwindSafe for CreateVectorStoreFileBatchRequestBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more