tidb-vector-python
tidb-vector-python copied to clipboard
[Crash] use TiDB Vector Store in LlamaIndex, tidb_vector throw exception
Exception ignored in: <function TiDBVectorClient.__del__ at 0x1693e63e0>
Traceback (most recent call last):
File "/Users/justwph/Library/Caches/pypoetry/virtualenvs/concave-KQBUMHDg-py3.11/lib/python3.11/site-packages/tidb_vector/integrations/vector_client.py", line 177, in __del__
AttributeError: 'NoneType' object has no attribute 'Connection'
might help info
my tidb_connect_url
TIDB_PASSWORD = os.environ.get("TIDB_PASSWORD", "")
TIDB_USER = os.environ.get("TIDB_USER", "")
TIDB_DATABASE_URL = f"mysql+pymysql://{TIDB_USER}.root:{TIDB_PASSWORD}@gateway01.us-west-2.prod.aws.tidbcloud.com:4000/test?ssl_ca=/etc/ssl/cert.pem&ssl_verify_cert=false&ssl_verify_identity=false"