mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-02 03:15:11 +00:00
memory docs (#1501)
This commit is contained in:
parent
d0062c7a9a
commit
4f41e20f09
@ -1,10 +1,23 @@
|
|||||||
How-To Guides
|
How-To Guides
|
||||||
=============
|
=============
|
||||||
|
|
||||||
|
Types
|
||||||
|
-----
|
||||||
|
|
||||||
The first set of examples all highlight different types of memory.
|
The first set of examples all highlight different types of memory.
|
||||||
|
|
||||||
|
`Buffer <./types/buffer.html>`_: How to use a type of memory that just keeps previous messages in a buffer.
|
||||||
|
|
||||||
|
`Buffer Window <./types/buffer_window.html>`_: How to use a type of memory that keeps previous messages in a buffer but only uses the previous `k` of them.
|
||||||
|
|
||||||
|
`Summary <./types/summary.html>`_: How to use a type of memory that summarizes previous messages.
|
||||||
|
|
||||||
|
`Summary Buffer <./types/summary_buffer.html>`_: How to use a type of memory that keeps a buffer of messages up to a point, and then summarizes them.
|
||||||
|
|
||||||
`Entity Memory <./types/entity_summary_memory.html>`_: How to use a type of memory that organizes information by entity.
|
`Entity Memory <./types/entity_summary_memory.html>`_: How to use a type of memory that organizes information by entity.
|
||||||
|
|
||||||
|
`Knowledge Graph Memory <./types/kg.html>`_: How to use a type of memory that extracts and organizes information in a knowledge graph
|
||||||
|
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 1
|
:maxdepth: 1
|
||||||
@ -13,6 +26,10 @@ The first set of examples all highlight different types of memory.
|
|||||||
|
|
||||||
./types/*
|
./types/*
|
||||||
|
|
||||||
|
|
||||||
|
Usage
|
||||||
|
-----
|
||||||
|
|
||||||
The examples here all highlight how to use memory in different ways.
|
The examples here all highlight how to use memory in different ways.
|
||||||
|
|
||||||
`Adding Memory <./examples/adding_memory.html>`_: How to add a memory component to any single input chain.
|
`Adding Memory <./examples/adding_memory.html>`_: How to add a memory component to any single input chain.
|
||||||
|
Loading…
Reference in New Issue
Block a user