You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/docs
Janos Tolgyesi 5f4552391f
Add SKLearnVectorStore (#5305)
# Add SKLearnVectorStore

This PR adds SKLearnVectorStore, a simply vector store based on
NearestNeighbors implementations in the scikit-learn package. This
provides a simple drop-in vector store implementation with minimal
dependencies (scikit-learn is typically installed in a data scientist /
ml engineer environment). The vector store can be persisted and loaded
from json, bson and parquet format.

SKLearnVectorStore has soft (dynamic) dependency on the scikit-learn,
numpy and pandas packages. Persisting to bson requires the bson package,
persisting to parquet requires the pyarrow package.

## Before submitting

Integration tests are provided under
`tests/integration_tests/vectorstores/test_sklearn.py`

Sample usage notebook is provided under
`docs/modules/indexes/vectorstores/examples/sklear.ipynb`

Co-authored-by: Dev 2049 <dev.dev2049@gmail.com>
1 year ago
..
_static docs: Big Mendable Improvements (#4964) 1 year ago
additional_resources docs: `Deployments` page moved into `Ecosystem/` (#4949) 1 year ago
ecosystem Add Chainlit to deployment options (#5314) 1 year ago
getting_started docs: added link to LangChain Handbook (#5311) 1 year ago
integrations Add SKLearnVectorStore (#5305) 1 year ago
modules Add SKLearnVectorStore (#5305) 1 year ago
reference docs: compound ecosystem and integrations (#4870) 1 year ago
tracing Some notebook and client fixes (add retries, clean up docs, etc) (#4820) 1 year ago
use_cases Fixed typo: 'ouput' to 'output' in all documentation (#5272) 1 year ago
Makefile Feature: linkcheck-action (#534) (#542) 2 years ago
conf.py docs: Mendable Search integration (#2803) 1 year ago
dependents.md docs: added `ecosystem/dependents` page (#4941) 1 year ago
index.rst docs: `Deployments` page moved into `Ecosystem/` (#4949) 1 year ago
integrations.rst docs: `Deployments` page moved into `Ecosystem/` (#4949) 1 year ago
make.bat initial commit 2 years ago
reference.rst docs: `Deployments` page moved into `Ecosystem/` (#4949) 1 year ago
requirements.txt Harrison/docs reqs (#2199) 1 year ago