Create a seperate providers/db2.mdx for the check.

This commit is contained in:
YIWEI-HE 2025-04-24 18:26:18 -07:00
parent dce8d08e1d
commit 98851d9905
3 changed files with 20 additions and 18 deletions

View File

@ -0,0 +1,18 @@
# IBM DB2
## Vector stores
### IBM DB2 Vector Store and Vector Search
The IBM DB2 relational database v12.1.2 and above offers the abilities of vector store and vector search. Installation of `langchain-db2` package will give Langchain users the support of DB2 vector store and vector search.
See detailed usage example in Jupyter Notebook [/docs/integrations/vectorstores/db2.ipynb](/docs/integrations/vectorstores/db2.ipynb).
Installation: This is a seperate package for vector store feature only and can be run without the `langchain-ibm` package.
```python
pip install langchain-db2
```
Usage:
```
from langchain_db2 import db2vs
from langchain_db2.db2vs import DB2VS
```

View File

@ -77,20 +77,3 @@ See a [usage example](/docs/integrations/tools/ibm_watsonx).
```python
from langchain_ibm import WatsonxToolkit
```
## Vector stores
### IBM DB2 Vector Store and Vector Search
The IBM DB2 relational database v12.1.2+ offer the
See detailed usage example in Jupyter Notebook [/docs/integrations/vectorstores/db2.ipynb](/docs/integrations/vectorstores/db2.ipynb).
Installation: This is a seperate package for vector store feature only and can be run without the `langchain-ibm` package.
```python
pip install langchain-db2
```
Usage:
```
from langchain_db2 import db2vs
from langchain_db2.db2vs import DB2VS
```

View File

@ -14,7 +14,8 @@
"id": "452c4bd6",
"metadata": {},
"source": [
"LangChain's DB2 integration (langchain-db2) provides vector store and vector search capabilities for working with IBM relational database DB2 version v12.1.2 and above, distributed under the MIT license. Users can use the provided implementations as-is or customize them for specific needs.\n",
"LangChain's DB2 integration (langchain-db2) provides vector store and vector search capabilities from IBM relational database DB2 version v12.1.2 and above. It is distributed under the MIT license, users can use the provided implementations as-is or customize them for specific needs.\n",
" \n",
" Key features include:\n",
"\n",
" * Vector storage with metadata\n",