langchain-ai / langchain-postgres

LangChain abstractions backed by Postgres Backend
MIT License
133 stars 48 forks source link

Feature Request: `ConversationBufferWindowMemory` #45

Open theinhumaneme opened 6 months ago

theinhumaneme commented 6 months ago

It would be great if we have this implementation to reduce the API costs while passing the Conversation to the LLM while passing only the relevant history.

35sui-com commented 6 months ago

Greate!

theinhumaneme commented 3 weeks ago

will this feature be worked upon? as sending the entire chat history which could possibly be a a few hundred messages be a very expensive undertaking