-
Notifications
You must be signed in to change notification settings - Fork 282
[E-4] 05-Memory / 01-ConversationBufferMemory, / 02-ConversationBufferWindowMemory #15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
[Team] LangChain Open Tutorial 1-4 Team [Title] Add ConversationBufferWindowMemory and TokenBufferMemory examples [Version] initial [Language] ENG [Packages] langchain-opentutorial, langchain, langchain_core, langchain_community, langchain_text_splitters, langchain_openai Implemented two memory examples with comprehensive documentation and structure: 1. ConversationBufferWindowMemory: - Added window-based memory example with banking scenario - Implemented k=2 configuration for recent interaction retention - Included step-by-step conversation flow demonstration 2. ConversationTokenBufferMemory: - Added token-based memory management example - Implemented examples with 50 and 150 token limits - Demonstrated machine tool installation conversation scenario Common improvements: - Added proper environment setup instructions - Included author information and references - Enhanced documentation with clear section navigation - Implemented consistent tutorial structure - Added colab/academy integration badges # Related to LangChain Open Tutorial Documentation
[Team] LangChain Open Tutorial 1-4 Team [Title] Add ConversationBufferWindowMemory and TokenBufferMemory examples [Version] initial [Language] ENG [Packages] langchain-opentutorial, langchain, langchain_core, langchain_community, langchain_text_splitters, langchain_openai Implemented two memory examples with comprehensive documentation and structure: 1. ConversationBufferWindowMemory: - Added window-based memory example with banking scenario - Implemented k=2 configuration for recent interaction retention - Included step-by-step conversation flow demonstration 2. ConversationTokenBufferMemory: - Added token-based memory management example - Implemented examples with 50 and 150 token limits - Demonstrated machine tool installation conversation scenario Common improvements: - Added proper environment setup instructions - Included author information and references - Enhanced documentation with clear section navigation - Implemented consistent tutorial structure - Added colab/academy integration badges # Related to LangChain Open Tutorial Documentation
[Team] LangChain Open Tutorial 1-4 Team [Title] Add ConversationBufferWindowMemory and TokenBufferMemory examples [Version] initial [Language] ENG [Packages] langchain-opentutorial, langchain, langchain_core, langchain_community, langchain_text_splitters, langchain_openai Implemented two memory examples with comprehensive documentation and structure: 1. ConversationBufferWindowMemory: - Added window-based memory example with banking scenario - Implemented k=2 configuration for recent interaction retention - Included step-by-step conversation flow demonstration 2. ConversationTokenBufferMemory: - Added token-based memory management example - Implemented examples with 50 and 150 token limits - Demonstrated machine tool installation conversation scenario Common improvements: - Added proper environment setup instructions - Included author information and references - Enhanced documentation with clear section navigation - Implemented consistent tutorial structure - Added colab/academy integration badges # Related to LangChain Open Tutorial Documentation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수정사항을 최근 commit 에 반영해 두었습니다. 확인해 주시면 감사하겠습니다.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Windows 환경에서 전부 다 잘 작동하는 것 확인 완료되었습니다! 고생하셨습니다~!!😄
"cell_type": "code", | ||
"execution_count": 8, | ||
"metadata": {}, | ||
"outputs": [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
한 가지 의견을 제안드리자면, 마지막에 마크다운 블럭 하나 추가해서 ConversationBufferWindowMemory
를 선언할 때 k=2로 설정해 주었기 때문에 결과적으로 최근의 2개의 메세지만이 메모리에 저장된 것을 확인할 수 있다~라는 느낌의 멘트를 추가해주어 마무리를 해주면 더 완성도 높은 결과가 될 수 있지 않을까 싶습니다 :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@YellowGangneng 좋은 의견 감사합니다!
Add ConversationBufferWindowMemory and TokenBufferMemory
[Team] LangChain Open Tutorial 1-4 Team
[Title] Add ConversationBufferWindowMemory and TokenBufferMemory examples
[Version] initial
[Language] ENG
[Packages] langchain-opentutorial, langchain, langchain_core, langchain_community, langchain_text_splitters, langchain_openai
Implemented two memory examples with comprehensive documentation and structure:
Common improvements: