Skip to content

Commit

Permalink
fix cli check
Browse files Browse the repository at this point in the history
  • Loading branch information
fengjialin authored and fengjialin committed Mar 4, 2024
1 parent 12cd8c8 commit fe62d6d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
14 changes: 6 additions & 8 deletions docs/docs/integrations/vectorstores/baiduvectordb.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,13 @@
"metadata": {},
"outputs": [],
"source": [
"conn_params = ConnectionParams(endpoint=\"http://192.168.xx.xx:xxxx\",\n",
" account=\"root\",\n",
" api_key=\"****\")\n",
"conn_params = ConnectionParams(\n",
" endpoint=\"http://192.168.xx.xx:xxxx\", account=\"root\", api_key=\"****\"\n",
")\n",
"\n",
"vector_db = BaiduVectorDB.from_documents(\n",
" docs,\n",
" embeddings,\n",
" connection_params=conn_params,\n",
" drop=True)"
" docs, embeddings, connection_params=conn_params, drop=True\n",
")"
]
},
{
Expand Down Expand Up @@ -115,7 +113,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.2"
"version": "3.9.6"
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def __init__(
self,
embedding: Embeddings,
connection_params: ConnectionParams,
table_params: tableParams = TableParams(128),
table_params: TableParams = TableParams(128),
database_name: str = "LangChainDatabase",
table_name: str = "LangChainTable",
drop_old: Optional[bool] = False,
Expand Down

0 comments on commit fe62d6d

Please sign in to comment.