pub struct CreateThreadRequestToolResourcesFileSearch {
pub vector_store_ids: Option<Vec<String>>,
pub vector_stores: Option<Vec<CreateAssistantRequestToolResourcesFileSearchVectorStores>>,
}
Fields§
§vector_store_ids: Option<Vec<String>>
The vector store attached to this thread. There can be a maximum of 1 vector store attached to the thread.
vector_stores: Option<Vec<CreateAssistantRequestToolResourcesFileSearchVectorStores>>
A helper to create a vector store with file_ids and attach it to this thread. There can be a maximum of 1 vector store attached to the thread.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CreateThreadRequestToolResourcesFileSearch
impl<'de> Deserialize<'de> for CreateThreadRequestToolResourcesFileSearch
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
Auto Trait Implementations§
impl Freeze for CreateThreadRequestToolResourcesFileSearch
impl RefUnwindSafe for CreateThreadRequestToolResourcesFileSearch
impl Send for CreateThreadRequestToolResourcesFileSearch
impl Sync for CreateThreadRequestToolResourcesFileSearch
impl Unpin for CreateThreadRequestToolResourcesFileSearch
impl UnwindSafe for CreateThreadRequestToolResourcesFileSearch
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