Toggle Menu
Prev Up Next

# `langchain_ai21` 0.1.4

## `langchain_ai21.ai21_base`

### Classes

`ai21_base.AI21Base` | Create a new model by parsing and validating input data from keyword arguments.

## `langchain_ai21.chat`

### Classes

`chat.chat_adapter.ChatAdapter`() | Provides a common interface for the different Chat models available in AI21.
`chat.chat_adapter.J2ChatAdapter`() |
`chat.chat_adapter.JambaChatCompletionsAdapter`() |

### Functions

`chat.chat_factory.create_chat_adapter`(model) |

## `langchain_ai21.chat_models`

### Classes

`chat_models.ChatAI21` | ChatAI21 chat model.

## `langchain_ai21.contextual_answers`

### Classes

`contextual_answers.AI21ContextualAnswers` | Create a new model by parsing and validating input data from keyword arguments.
`contextual_answers.ContextualAnswerInput` |

## `langchain_ai21.embeddings`

### Classes

`embeddings.AI21Embeddings` | AI21 Embeddings embedding model.

## `langchain_ai21.llms`

### Classes

`llms.AI21LLM` | AI21LLM large language models.

## `langchain_ai21.semantic_text_splitter`

### Classes

`semantic_text_splitter.AI21SemanticTextSplitter`([...]) | Splitting text into coherent and readable units, based on distinct topics and lines