pub struct RememberArgs {Show 22 fields
pub name: String,
pub type: MemoryType,
pub description: String,
pub body: Option<String>,
pub body_file: Option<PathBuf>,
pub body_stdin: bool,
pub entities_file: Option<PathBuf>,
pub relationships_file: Option<PathBuf>,
pub graph_stdin: bool,
pub namespace: Option<String>,
pub metadata: Option<String>,
pub metadata_file: Option<PathBuf>,
pub force_merge: bool,
pub expected_updated_at: Option<i64>,
pub enable_ner: bool,
pub gliner_variant: String,
pub skip_extraction: bool,
pub session_id: Option<String>,
pub format: JsonOutputFormat,
pub json: bool,
pub db: Option<String>,
pub max_rss_mb: u64,
}Fields§
§name: StringMemory name in kebab-case (lowercase letters, digits, hyphens). Acts as unique key within the namespace; collisions trigger merge or rejection.
type: MemoryType§description: StringShort description (≤500 chars) summarizing the memory for use in list and recall snippets.
body: Option<String>Inline body content. Mutually exclusive with –body-file, –body-stdin, –graph-stdin. Maximum 512000 bytes; rejected if empty without an external graph.
body_file: Option<PathBuf>§body_stdin: boolRead body from stdin until EOF. Useful in pipes (echo “…” | sqlite-graphrag remember …). Mutually exclusive with –body, –body-file, –graph-stdin.
entities_file: Option<PathBuf>§relationships_file: Option<PathBuf>§graph_stdin: bool§namespace: Option<String>§metadata: Option<String>Inline JSON object with arbitrary metadata key-value pairs. Mutually exclusive with –metadata-file.
metadata_file: Option<PathBuf>§force_merge: bool§expected_updated_at: Option<i64>§enable_ner: bool§gliner_variant: String§skip_extraction: bool§session_id: Option<String>Optional opaque session identifier for tracing memory provenance across multi-agent runs.
format: JsonOutputFormat§json: bool§db: Option<String>§max_rss_mb: u64Maximum process RSS in MiB; abort if exceeded during embedding.
Trait Implementations§
Source§impl Args for RememberArgs
impl Args for RememberArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl FromArgMatches for RememberArgs
impl FromArgMatches for RememberArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Auto Trait Implementations§
impl Freeze for RememberArgs
impl RefUnwindSafe for RememberArgs
impl Send for RememberArgs
impl Sync for RememberArgs
impl Unpin for RememberArgs
impl UnsafeUnpin for RememberArgs
impl UnwindSafe for RememberArgs
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more