memory 1

 there are two types of memory

- short term memory

- only accessible within a thread only, agent manages this memory via state

- so it goes in llm directly from state

- long term memory

- accessible in any thread, stored in databases, usually vector db

- it first store the memory then goes to llm from stored db

memory have three types

- semantic memory- remembers the facts

- episodic memory - remembers the previous steps, and decision history

- procedural memory  - remembers the system instructions

Comments