pub struct ScriptFileBootstrapConfig {
pub file_paths: Vec<String>,
}Expand description
Script file bootstrap provider configuration
This provider reads bootstrap data from JSONL (JSON Lines) files containing structured data. Files are processed in the order specified. Each file should contain one JSON record per line with record types: Header (required first), Node, Relation, Comment (filtered), Label (checkpoint), and Finish (optional end).
§Example
bootstrap_provider:
type: scriptfile
file_paths:
- "/data/initial_nodes.jsonl"
- "/data/initial_relations.jsonl"Fields§
§file_paths: Vec<String>List of JSONL files to read (in order)
Trait Implementations§
Source§impl Clone for ScriptFileBootstrapConfig
impl Clone for ScriptFileBootstrapConfig
Source§fn clone(&self) -> ScriptFileBootstrapConfig
fn clone(&self) -> ScriptFileBootstrapConfig
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 Debug for ScriptFileBootstrapConfig
impl Debug for ScriptFileBootstrapConfig
Source§impl<'de> Deserialize<'de> for ScriptFileBootstrapConfig
impl<'de> Deserialize<'de> for ScriptFileBootstrapConfig
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ScriptFileBootstrapConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ScriptFileBootstrapConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ScriptFileBootstrapConfig
impl Serialize for ScriptFileBootstrapConfig
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ScriptFileBootstrapConfig
Auto Trait Implementations§
impl Freeze for ScriptFileBootstrapConfig
impl RefUnwindSafe for ScriptFileBootstrapConfig
impl Send for ScriptFileBootstrapConfig
impl Sync for ScriptFileBootstrapConfig
impl Unpin for ScriptFileBootstrapConfig
impl UnsafeUnpin for ScriptFileBootstrapConfig
impl UnwindSafe for ScriptFileBootstrapConfig
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