docs: integrations reference updates 11 (#25598)

Added missed provider pages and links.
This commit is contained in:
Leonid Ganeline 2024-08-22 10:19:17 -07:00 committed by GitHub
parent 16fc0a866e
commit 47adc7f32b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 112 additions and 3 deletions

View File

@ -0,0 +1,25 @@
# Dria
>[Dria](https://dria.co/) is a hub of public RAG models for developers to
> both contribute and utilize a shared embedding lake.
See more details about the LangChain integration with Dria
at [this page](https://dria.co/docs/integrations/langchain).
## Installation and Setup
You have to install a python package:
```bash
pip install dria
```
You have to get an API key from Dria. You can get it by signing up at [Dria](https://dria.co/).
## Retrievers
See a [usage example](/docs/integrations/retrievers/dria_index).
```python
from langchain_community.retrievers import DriaRetriever
```

View File

@ -0,0 +1,25 @@
# DuckDuckGo Search
>[DuckDuckGo Search](https://github.com/deedy5/duckduckgo_search) is a package that
> searches for words, documents, images, videos, news, maps and text
> translation using the `DuckDuckGo.com` search engine. It is downloading files
> and images to a local hard drive.
## Installation and Setup
You have to install a python package:
```bash
pip install duckduckgo-search
```
## Tools
See a [usage example](/docs/integrations/tools/ddg).
There are two tools available:
```python
from langchain_community.tools import DuckDuckGoSearchRun
from langchain_community.tools import DuckDuckGoSearchResults
```

View File

@ -0,0 +1,20 @@
# E2B
>[E2B](https://e2b.dev/) provides open-source secure sandboxes
> for AI-generated code execution. See more [here](https://github.com/e2b-dev).
## Installation and Setup
You have to install a python package:
```bash
pip install e2b_code_interpreter
```
## Tool
See a [usage example](/docs/integrations/tools/e2b_data_analysis).
```python
from langchain_community.tools import E2BDataAnalysisTool
```

View File

@ -6,11 +6,14 @@
## Installation and Setup
### Setup Elasticsearch
There are two ways to get started with Elasticsearch:
#### Install Elasticsearch on your local machine via docker
#### Install Elasticsearch on your local machine via Docker
Example: Run a single-node Elasticsearch instance with security disabled. This is not recommended for production use.
Example: Run a single-node Elasticsearch instance with security disabled.
This is not recommended for production use.
```bash
docker run -p 9200:9200 -e "discovery.type=single-node" -e "xpack.security.enabled=false" -e "xpack.security.http.ssl.enabled=false" docker.elastic.co/elasticsearch/elasticsearch:8.9.0
@ -18,7 +21,7 @@ Example: Run a single-node Elasticsearch instance with security disabled. This i
#### Deploy Elasticsearch on Elastic Cloud
Elastic Cloud is a managed Elasticsearch service. Signup for a [free trial](https://cloud.elastic.co/registration?utm_source=langchain&utm_content=documentation).
`Elastic Cloud` is a managed Elasticsearch service. Signup for a [free trial](https://cloud.elastic.co/registration?utm_source=langchain&utm_content=documentation).
### Install Client
@ -43,7 +46,34 @@ See a [usage example](/docs/integrations/vectorstores/elasticsearch).
from langchain_elasticsearch import ElasticsearchStore
```
### Third-party integrations
#### EcloudESVectorStore
```python
from langchain_community.vectorstores.ecloud_vector_search import EcloudESVectorStore
```
## Retrievers
### ElasticsearchRetriever
The `ElasticsearchRetriever` enables flexible access to all Elasticsearch features
through the Query DSL.
See a [usage example](/docs/integrations/retrievers/elasticsearch_retriever).
```python
from langchain_elasticsearch import ElasticsearchRetriever
```
### BM25
See a [usage example](/docs/integrations/retrievers/elastic_search_bm25).
```python
from langchain_community.retrievers import ElasticSearchBM25Retriever
```
## Memory
See a [usage example](/docs/integrations/memory/elasticsearch_chat_message_history).
@ -67,3 +97,12 @@ See a [usage example](/docs/integrations/stores/elasticsearch).
```python
from langchain_elasticsearch import ElasticsearchEmbeddingsCache
```
## Chain
It is a chain for interacting with Elasticsearch Database.
```python
from langchain.chains.elasticsearch_database import ElasticsearchDatabaseChain
```