Flask-Langchain
Flask-Langchain copied to clipboard
How do i include this in my project?
Hi, Apologize for the too novice question. I'm very new to Python. Couldn't that is because I can't include this extension in my project.
I installed the extension in my Flask project as this:
pip install -e git+https://github.com/username/repo.git#egg=package_name
from langchainmemory import LangchainFlaskMemory, ConversationFlaskMemory
I keep receiving error: Module not found.
I tried other manual importing, but keep receiving error:
from .flask_langchain import *
ImportError: attempted relative import with no known parent package
Any help would be highly appreciated.