pub struct CreateVectorStoreFileBatchRequest {
pub file_ids: Vec<String>,
pub chunking_strategy: Option<ChunkingStrategyRequestParam>,
pub attributes: Option<VectorStoreFileAttributes>,
}
Fields§
§file_ids: Vec<String>
A list of File IDs that the vector store should use. Useful for tools like file_search
that can access files.
chunking_strategy: Option<ChunkingStrategyRequestParam>
§attributes: Option<VectorStoreFileAttributes>
Implementations§
Source§impl CreateVectorStoreFileBatchRequest
impl CreateVectorStoreFileBatchRequest
Sourcepub fn builder() -> CreateVectorStoreFileBatchRequestBuilder<((), (), ())>
pub fn builder() -> CreateVectorStoreFileBatchRequestBuilder<((), (), ())>
Create a builder for building CreateVectorStoreFileBatchRequest
.
On the builder, call .file_ids(...)
, .chunking_strategy(...)
(optional), .attributes(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of CreateVectorStoreFileBatchRequest
.
Trait Implementations§
Source§impl Clone for CreateVectorStoreFileBatchRequest
impl Clone for CreateVectorStoreFileBatchRequest
Source§fn clone(&self) -> CreateVectorStoreFileBatchRequest
fn clone(&self) -> CreateVectorStoreFileBatchRequest
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 moreSource§impl<'de> Deserialize<'de> for CreateVectorStoreFileBatchRequest
impl<'de> Deserialize<'de> for CreateVectorStoreFileBatchRequest
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CreateVectorStoreFileBatchRequest
impl PartialEq for CreateVectorStoreFileBatchRequest
Source§fn eq(&self, other: &CreateVectorStoreFileBatchRequest) -> bool
fn eq(&self, other: &CreateVectorStoreFileBatchRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateVectorStoreFileBatchRequest
Auto Trait Implementations§
impl Freeze for CreateVectorStoreFileBatchRequest
impl RefUnwindSafe for CreateVectorStoreFileBatchRequest
impl Send for CreateVectorStoreFileBatchRequest
impl Sync for CreateVectorStoreFileBatchRequest
impl Unpin for CreateVectorStoreFileBatchRequest
impl UnwindSafe for CreateVectorStoreFileBatchRequest
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