mirror of
https://github.com/hwchase17/langchain
synced 2024-11-08 07:10:35 +00:00
e2d7677526
# Docs: compound ecosystem and integrations **Problem statement:** We have a big overlap between the References/Integrations and Ecosystem/LongChain Ecosystem pages. It confuses users. It creates a situation when new integration is added only on one of these pages, which creates even more confusion. - removed References/Integrations page (but move all its information into the individual integration pages - in the next PR). - renamed Ecosystem/LongChain Ecosystem into Integrations/Integrations. I like the Ecosystem term. It is more generic and semantically richer than the Integration term. But it mentally overloads users. The `integration` term is more concrete. UPDATE: after discussion, the Ecosystem is the term. Ecosystem/Integrations is the page (in place of Ecosystem/LongChain Ecosystem). As a result, a user gets a single place to start with the individual integration.
34 lines
2.0 KiB
Markdown
34 lines
2.0 KiB
Markdown
# Weaviate
|
||
|
||
This page covers how to use the Weaviate ecosystem within LangChain.
|
||
|
||
What is Weaviate?
|
||
|
||
**Weaviate in a nutshell:**
|
||
- Weaviate is an open-source database of the type vector search engine.
|
||
- Weaviate allows you to store JSON documents in a class property-like fashion while attaching machine learning vectors to these documents to represent them in vector space.
|
||
- Weaviate can be used stand-alone (aka bring your vectors) or with a variety of modules that can do the vectorization for you and extend the core capabilities.
|
||
- Weaviate has a GraphQL-API to access your data easily.
|
||
- We aim to bring your vector search set up to production to query in mere milliseconds (check our [open source benchmarks](https://weaviate.io/developers/weaviate/current/benchmarks/) to see if Weaviate fits your use case).
|
||
- Get to know Weaviate in the [basics getting started guide](https://weaviate.io/developers/weaviate/current/core-knowledge/basics.html) in under five minutes.
|
||
|
||
**Weaviate in detail:**
|
||
|
||
Weaviate is a low-latency vector search engine with out-of-the-box support for different media types (text, images, etc.). It offers Semantic Search, Question-Answer Extraction, Classification, Customizable Models (PyTorch/TensorFlow/Keras), etc. Built from scratch in Go, Weaviate stores both objects and vectors, allowing for combining vector search with structured filtering and the fault tolerance of a cloud-native database. It is all accessible through GraphQL, REST, and various client-side programming languages.
|
||
|
||
## Installation and Setup
|
||
- Install the Python SDK with `pip install weaviate-client`
|
||
## Wrappers
|
||
|
||
### VectorStore
|
||
|
||
There exists a wrapper around Weaviate indexes, allowing you to use it as a vectorstore,
|
||
whether for semantic search or example selection.
|
||
|
||
To import this vectorstore:
|
||
```python
|
||
from langchain.vectorstores import Weaviate
|
||
```
|
||
|
||
For a more detailed walkthrough of the Weaviate wrapper, see [this notebook](../modules/indexes/vectorstores/examples/weaviate.ipynb)
|