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/modules
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
..
agents Tedma4/twilio tool (#5136) 1 year ago
callbacks add more color to callbacks docs (#3856) 1 year ago
chains Harrison/neo4j (#5078) 1 year ago
indexes Add SKLearnVectorStore (#5305) 1 year ago
memory Sample Notebook for DynamoDB Chat Message History (#5351) 1 year ago
models docs: improve flow of llm caching notebook (#5309) 1 year ago
prompts add enum output parser (#5165) 1 year ago
utils/examples Pass parsed inputs through to tool _run (#4309) 1 year ago
agents.rst DOC: Misspelling in agents.rst documentation (#5038) 1 year ago
chains.rst big docs refactor (#1978) 1 year ago
indexes.rst Correct typo in documentation for word 'therefore' (#2529) 1 year ago
memory.rst big docs refactor (#1978) 1 year ago
models.rst Harrison/standard llm interface (#4615) 1 year ago
paul_graham_essay.txt Fix notebook example (#3142) 1 year ago
prompts.rst Harrison/prompt constructor methods (#4616) 1 year ago
state_of_the_union.txt Docs refactor (#480) 2 years ago