Skip to content

Commit

Permalink
docs: update ai21 docs
Browse files Browse the repository at this point in the history
  • Loading branch information
miri-bar committed Nov 11, 2024
1 parent 922b6b0 commit 5f1b5aa
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 533 deletions.
221 changes: 0 additions & 221 deletions docs/docs/integrations/llms/ai21.ipynb

This file was deleted.

43 changes: 1 addition & 42 deletions docs/docs/integrations/providers/ai21.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,6 @@ This page covers how to use the `AI21` ecosystem within `LangChain`.
pip install langchain-ai21
```

## LLMs

See a [usage example](/docs/integrations/llms/ai21).

### AI21 LLM

```python
from langchain_ai21 import AI21LLM
```

### AI21 Contextual Answer

You can use AI21’s contextual answers model to receive text or document,
serving as a context, and a question and return an answer based entirely on this context.

```python
from langchain_ai21 import AI21ContextualAnswers
```


## Chat models

### AI21 Chat
Expand All @@ -43,25 +23,4 @@ See a [usage example](/docs/integrations/chat/ai21).

```python
from langchain_ai21 import ChatAI21
```

## Embedding models

### AI21 Embeddings

See a [usage example](/docs/integrations/text_embedding/ai21).

```python
from langchain_ai21 import AI21Embeddings
```

## Text splitters

### AI21 Semantic Text Splitter

See a [usage example](/docs/integrations/document_transformers/ai21_semantic_text_splitter).

```python
from langchain_ai21 import AI21SemanticTextSplitter
```

```
Loading

0 comments on commit 5f1b5aa

Please # to comment.