You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's great to see that you've identified the issue and even provided a suggested fix for the problem. Your detailed explanation and proposed changes will be very helpful for the Langchain-Chatchat project.
I encourage you to go ahead and create a pull request with your proposed changes. The maintainers will review it and decide if the changes should be merged into the codebase.
Thank you for your contribution to Langchain-Chatchat!
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
If you want to continue the conversation, start your reply with @dosu-bot.
'PGVector' object has no attribute 'connect'
进行初始化pg数据库时,报出'PGVector' object has no attribute 'connect'
执行python init_database.py --recreate-vs 后,报出'PGVector' object has no attribute 'connect'
如图
环境信息 / Environment Information
原因
langchain的版本更新后,PGVector类的connect函数已替换为_create_engine
修改建议
对报错内代码进行修改后
完成初始化及数据导入
The text was updated successfully, but these errors were encountered: