LangFlow 调试日记
weaviate 报错

问题如下
weaviate sdk 已经升级到 v4 了但是默认代码还是 v3
> Python client v3 `weaviate.Client(...)` has been removed.
Upgrade your code to use Python client v4 `weaviate.WeaviateClient` connections and methods.
- For Python Client v4 usage, see: https://weaviate.io/developers/weaviate/client-libraries/python
- For code migration, see: https://weaviate.io/developers/weaviate/client-libraries/python/v3_v4_migration
If you have to use v3 code, install the v3 client and pin the v3 dependency in your requirements file: `weaviate-client>=3.26.7;<4.0.0`
调整代码 weaviate.Client -> weaviate.WeaviateClient