mirror of https://github.com/hwchase17/langchain
docs: `providers` update 2 (#18407)
Formatted pages into a consistent form. Added descriptions and links when needed.pull/18949/head
parent
239f0a615e
commit
fad308a764
@ -1,16 +1,33 @@
|
|||||||
# Baichuan
|
# Baichuan
|
||||||
|
|
||||||
>[Baichuan Inc.](https://www.baichuan-ai.com/) is a Chinese startup in the era of AGI, dedicated to addressing fundamental human needs: Efficiency, Health, and Happiness.
|
>[Baichuan Inc.](https://www.baichuan-ai.com/) is a Chinese startup in the era of AGI,
|
||||||
|
> dedicated to addressing fundamental human needs: Efficiency, Health, and Happiness.
|
||||||
|
|
||||||
## Visit Us
|
|
||||||
Visit us at https://www.baichuan-ai.com/.
|
|
||||||
Register and get an API key if you are trying out our APIs.
|
|
||||||
|
|
||||||
## Baichuan LLM Endpoint
|
## Installation and Setup
|
||||||
An example is available at [example](/docs/integrations/llms/baichuan)
|
|
||||||
|
|
||||||
## Baichuan Chat Model
|
Register and get an API key [here](https://platform.baichuan-ai.com/).
|
||||||
An example is available at [example](/docs/integrations/chat/baichuan).
|
|
||||||
|
|
||||||
## Baichuan Text Embedding Model
|
## LLMs
|
||||||
An example is available at [example](/docs/integrations/text_embedding/baichuan)
|
|
||||||
|
See a [usage example](/docs/integrations/llms/baichuan).
|
||||||
|
|
||||||
|
```python
|
||||||
|
from langchain_community.llms import BaichuanLLM
|
||||||
|
```
|
||||||
|
|
||||||
|
## Chat models
|
||||||
|
|
||||||
|
See a [usage example](/docs/integrations/chat/baichuan).
|
||||||
|
|
||||||
|
```python
|
||||||
|
from langchain_community.chat_models import ChatBaichuan
|
||||||
|
```
|
||||||
|
|
||||||
|
## Embedding models
|
||||||
|
|
||||||
|
See a [usage example](/docs/integrations/text_embedding/baichuan).
|
||||||
|
|
||||||
|
```python
|
||||||
|
from langchain_community.embeddings import BaichuanTextEmbeddings
|
||||||
|
```
|
||||||
|
@ -1,24 +1,16 @@
|
|||||||
# BREEBS (Open Knowledge)
|
# Breebs (Open Knowledge)
|
||||||
|
|
||||||
[BREEBS](https://www.breebs.com/) is an open collaborative knowledge platform.
|
>[Breebs](https://www.breebs.com/) is an open collaborative knowledge platform.
|
||||||
Anybody can create a Breeb, a knowledge capsule based on PDFs stored on a Google Drive folder.
|
>Anybody can create a `Breeb`, a knowledge capsule based on PDFs stored on a Google Drive folder.
|
||||||
A breeb can be used by any LLM/chatbot to improve its expertise, reduce hallucinations and give access to sources.
|
>A `Breeb` can be used by any LLM/chatbot to improve its expertise, reduce hallucinations and give access to sources.
|
||||||
Behind the scenes, Breebs implements several Retrieval Augmented Generation (RAG) models to seamlessly provide useful context at each iteration.
|
>Behind the scenes, `Breebs` implements several `Retrieval Augmented Generation (RAG)` models
|
||||||
|
> to seamlessly provide useful context at each iteration.
|
||||||
|
|
||||||
## List of available Breebs
|
|
||||||
|
|
||||||
To get the full list of Breebs, including their key (breeb_key) and description :
|
|
||||||
https://breebs.promptbreeders.com/web/listbreebs.
|
|
||||||
Dozens of Breebs have already been created by the community and are freely available for use. They cover a wide range of expertise, from organic chemistry to mythology, as well as tips on seduction and decentralized finance.
|
|
||||||
|
|
||||||
## Creating a new Breeb
|
|
||||||
|
|
||||||
To generate a new Breeb, simply compile PDF files in a publicly shared Google Drive folder and initiate the creation process on the [BREEBS website](https://www.breebs.com/) by clicking the "Create Breeb" button. You can currently include up to 120 files, with a total character limit of 15 million.
|
|
||||||
|
|
||||||
## Retriever
|
## Retriever
|
||||||
|
|
||||||
```python
|
```python
|
||||||
from langchain.retrievers import BreebsRetriever
|
from langchain.retrievers import BreebsRetriever
|
||||||
```
|
```
|
||||||
|
|
||||||
# Example
|
[See a usage example (Retrieval & ConversationalRetrievalChain)](/docs/integrations/retrievers/breebs)
|
||||||
[See usage example (Retrieval & ConversationalRetrievalChain)](https://python.langchain.com/docs/integrations/retrievers/breebs)
|
|
@ -1,17 +1,26 @@
|
|||||||
# CerebriumAI
|
# CerebriumAI
|
||||||
|
|
||||||
This page covers how to use the CerebriumAI ecosystem within LangChain.
|
>[Cerebrium](https://docs.cerebrium.ai/cerebrium/getting-started/introduction) is a serverless GPU infrastructure provider.
|
||||||
It is broken into two parts: installation and setup, and then references to specific CerebriumAI wrappers.
|
> It provides API access to several LLM models.
|
||||||
|
|
||||||
|
See the examples in the [CerebriumAI documentation](https://docs.cerebrium.ai/examples/langchain).
|
||||||
|
|
||||||
## Installation and Setup
|
## Installation and Setup
|
||||||
- Install with `pip install cerebrium`
|
|
||||||
- Get an CerebriumAI api key and set it as an environment variable (`CEREBRIUMAI_API_KEY`)
|
|
||||||
|
|
||||||
## Wrappers
|
- Install a python package:
|
||||||
|
```bash
|
||||||
|
pip install cerebrium
|
||||||
|
```
|
||||||
|
|
||||||
|
- [Get an CerebriumAI api key](https://docs.cerebrium.ai/cerebrium/getting-started/installation) and set
|
||||||
|
it as an environment variable (`CEREBRIUMAI_API_KEY`)
|
||||||
|
|
||||||
|
|
||||||
|
## LLMs
|
||||||
|
|
||||||
|
See a [usage example](/docs/integrations/llms/cerebriumai).
|
||||||
|
|
||||||
### LLM
|
|
||||||
|
|
||||||
There exists an CerebriumAI LLM wrapper, which you can access with
|
|
||||||
```python
|
```python
|
||||||
from langchain_community.llms import CerebriumAI
|
from langchain_community.llms import CerebriumAI
|
||||||
```
|
```
|
Loading…
Reference in New Issue