pub struct VectorStoreFileContentChunk {
pub id: Option<String>,
pub object: Option<String>,
pub text: Option<String>,
pub tokens: Option<u64>,
pub attributes: Option<Value>,
}Expand description
A parsed text chunk of a vector store file.
Fields§
§id: Option<String>The chunk ID, e.g. chunk_....
object: Option<String>The object type (vector_store.file_content.chunk).
text: Option<String>The parsed text of the chunk.
tokens: Option<u64>The token count of the chunk.
attributes: Option<Value>The attributes of the chunk, as raw JSON.
Trait Implementations§
Source§impl Clone for VectorStoreFileContentChunk
impl Clone for VectorStoreFileContentChunk
Source§fn clone(&self) -> VectorStoreFileContentChunk
fn clone(&self) -> VectorStoreFileContentChunk
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VectorStoreFileContentChunk
impl Debug for VectorStoreFileContentChunk
Source§impl<'de> Deserialize<'de> for VectorStoreFileContentChunk
impl<'de> Deserialize<'de> for VectorStoreFileContentChunk
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 VectorStoreFileContentChunk
impl RefUnwindSafe for VectorStoreFileContentChunk
impl Send for VectorStoreFileContentChunk
impl Sync for VectorStoreFileContentChunk
impl Unpin for VectorStoreFileContentChunk
impl UnsafeUnpin for VectorStoreFileContentChunk
impl UnwindSafe for VectorStoreFileContentChunk
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