a16z-infra / ai-getting-started

A Javascript AI getting started stack for weekend projects, including image/text models, vector stores, auth, and deployment configs
https://ai-getting-started.com/
MIT License
3.95k stars 637 forks source link

Add Memory Management #29

Open softboyjimbo opened 1 year ago

softboyjimbo commented 1 year ago

It could be nice to hook up a memory component so that q+a context context can persist between messages. At Metal we use Motorhead, which we maintain open-source to manage this. Motorhead has an integration with langchain's memory module: https://js.langchain.com/docs/modules/memory/examples/motorhead_memory