Update Hologres vector store: use hologres-vector (#13767)

Hi,
I made some code changes on the Hologres vector store to improve the
data insertion performance.
Also, this version of the code uses `hologres-vector` library. This
library is more convenient for us to update, and more efficient in
performance.
The code has passed the format/lint/spell check. I have run the unit
test for Hologres connecting to my own database.
Please check this PR again and tell me if anything needs to change.

Best,
Changgeng,
Developer @ Alibaba Cloud

Co-authored-by: Changgeng Zhao <zhaochanggeng.zcg@alibaba-inc.com>
Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
This commit is contained in:
Changgeng Zhao
2023-12-04 03:50:45 +08:00
committed by GitHub
parent 0de7cf898d
commit 9b59bde93d
5 changed files with 72 additions and 130 deletions

View File

@@ -11,7 +11,7 @@
Click [here](https://www.alibabacloud.com/zh/product/hologres) to fast deploy a Hologres cloud instance.
```bash
pip install psycopg2
pip install hologres-vector
```
## Vector Store

View File

@@ -22,7 +22,7 @@
"metadata": {},
"outputs": [],
"source": [
"#!pip install psycopg2"
"!pip install hologres-vector"
]
},
{