pub struct FileSearchToolCallResults {
pub attributes: Option<VectorStoreFileAttributes>,
pub file_id: Option<String>,
pub filename: Option<String>,
pub score: Option<f32>,
pub text: Option<String>,
}
Fields§
§attributes: Option<VectorStoreFileAttributes>
§file_id: Option<String>
The unique ID of the file.
filename: Option<String>
The name of the file.
score: Option<f32>
The relevance score of the file - a value between 0 and 1.
text: Option<String>
The text that was retrieved from the file.
Trait Implementations§
Source§impl Debug for FileSearchToolCallResults
impl Debug for FileSearchToolCallResults
Source§impl<'de> Deserialize<'de> for FileSearchToolCallResults
impl<'de> Deserialize<'de> for FileSearchToolCallResults
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 FileSearchToolCallResults
impl RefUnwindSafe for FileSearchToolCallResults
impl Send for FileSearchToolCallResults
impl Sync for FileSearchToolCallResults
impl Unpin for FileSearchToolCallResults
impl UnwindSafe for FileSearchToolCallResults
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