Gen-AI Developer Classroom notes 03/Sep/2026

Long term memory

  • Refer Here for longterm memory
  • Longterm memory spans across converstaions (sessions)
  • Langchain uses store
  • Lets play with InMemoryStore (ideally longterm ends in persistent store)
  • MemoryStore is a Key Value Storage which is namespaced
  • key is string and value is dictionary

  • Longterm memory by types

    • episodic
    • semantic
    • procedural
  • Refer Here for sample code

Tools

  • Tool is an action that can be performed
  • Tools can be developed in two ways
    • Framework dependent
    • Framework indepedent (MCP)

Building tools according to langchain

  • Refer Here for documentation

  • A tool is a simple python function

    • with a decorator
    • type hints
    • docstrings
  • Refer Here

By continuous learner

enthusiastic technology learner

Leave a Reply

Discover more from Direct AI Powered By Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading