langchain_ai21 0.1.3

langchain_ai21.ai21_base

Classes

ai21_base.AI21Base

Create a new model by parsing and validating input data from keyword arguments.

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