Skip to main content

store

Method
This is a method of the Knowledge class in the knowledge module.
Store a memory.

Signature

Parameters

Any
required
No description available.
Any
No description available.
Any
No description available.
Any
No description available.
Any
No description available.
Any
default:"False"
When True, content is treated as literal text and the file-path heuristic is skipped. Callers that have already read a file’s contents (e.g. chunks from _process_single_input) must set this so a chunk ending in .txt/.pdf/.doc/.docx is not mistaken for a path and re-dispatched to add().

Returns

Any
The result of the operation.

Uses

  • add
  • logger.error

Used By

Source

View on GitHub

praisonaiagents/knowledge/knowledge.py at line 359