Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 387f2c2

Browse files
committed
add importmemory tag
1 parent 1b7fc2a commit 387f2c2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

solutions/agent.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
# end::importtool[]
44
from langchain.agents import initialize_agent, AgentType
55
from langchain.agents import ConversationalChatAgent
6+
# tag::importmemory[]
67
from langchain.chains.conversation.memory import ConversationBufferWindowMemory
8+
# end::importmemory[]
79

810
from solutions.llm import llm
911

0 commit comments

Comments
 (0)