nebuly
nebuly copied to clipboard
generate_dataset.py Error
python generate_dateset.py [https://github.com/nebuly-ai/nebullvm/tree/main/apps/accelerate/chatllama/generate_dataset.py] ImportError: cannot import name 'ConversationalBufferWindowMemory' from 'langchain.chains.conversation.memory'
look into /root/miniconda3/lib/python3.7/site-packages/langchain/chains/conversation/memory.py, only ConversationBufferMemory /ConversationSummaryMemory func.
which python version and langchain version should be chosen?
python 3.8.8 langchain 0.0.103
ConversationalBufferWindowMemory -> ConversationBufferWindowMemory works
Fixed in #212. It should work now pulling the latest commit.