pub struct DatasetConfig {
pub id: String,
pub name: String,
pub description: String,
pub store: Option<String>,
pub embedder: Option<String>,
pub reranker: Option<String>,
pub retriever: Option<Value>,
pub chunking: Option<ChunkerConfig>,
}Expand description
One dataset entry.
Fields§
§id: String§name: String§description: String§store: Option<String>Key of stores (store-backed datasets).
embedder: Option<String>Key of embedders (store-backed datasets).
reranker: Option<String>Key of rerankers.
retriever: Option<Value>External retriever definition (instead of store + embedder).
chunking: Option<ChunkerConfig>Chunking of ingested documents, e.g. { max_chars: 400, parent_max_chars: 1500 }
for parent-child retrieval (store-backed datasets).
Trait Implementations§
Source§impl Clone for DatasetConfig
impl Clone for DatasetConfig
Source§impl Debug for DatasetConfig
impl Debug for DatasetConfig
Source§impl Default for DatasetConfig
impl Default for DatasetConfig
Source§impl<'de> Deserialize<'de> for DatasetConfig
impl<'de> Deserialize<'de> for DatasetConfig
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 DatasetConfig
impl PartialEq for DatasetConfig
Source§impl Serialize for DatasetConfig
impl Serialize for DatasetConfig
impl StructuralPartialEq for DatasetConfig
Auto Trait Implementations§
impl Forget for DatasetConfig
impl Freeze for DatasetConfig
impl Move for DatasetConfig
impl RefUnwindSafe for DatasetConfig
impl Send for DatasetConfig
impl Sync for DatasetConfig
impl Unpin for DatasetConfig
impl UnsafeUnpin for DatasetConfig
impl UnwindSafe for DatasetConfig
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