Ans: LangChain provides three types of models
- LLMs: Large language models that take a text string as input and return a text string as output
- Chat Models: Models that are usually backed by a language model, but their APIs are more structured
- Text Embedding Models: Models that take text as input and return a list of floats (embeddings)
As of writing this post, LangChain has integrations with 26 LLMs. Here’s a breakdown.
| LLM | DESCRIPTION |
|---|---|
| AI21 | A platform for building AI applications that comprehend and generate natural language, powered by Jurassic-1 language models |
| Aleph Alpha | A company that develops large-scale language models for the European market |
| Azure OpenAI | A cloud service that provides access to OpenAI’s GPT-3 language model |
| Banana | A platform that helps you build web applications using natural language commands and templates |
| CerebriumAI | A platform that enables data scientists and developers to build and deploy AI solutions faster and easier |
| Cohere | A platform that provides natural language understanding APIs powered by large-scale neural networks |
| DeepInfra | A platform that simplifies the deployment and management of deep learning models on cloud infrastructure |
| ForefrontAI | A platform that helps businesses leverage AI to optimize their operations and customer experiences |
| GooseAI | A platform that provides natural language generation APIs for various domains and use cases |
| GPT4All | A platform that allows anyone to interact with GPT-3 and other language models without coding or API keys |
| Hugging Face Hub | A platform that hosts thousands of pretrained models for natural language processing tasks |
| Hugging Face Local Pipelines | A tool that allows you to run Hugging Face pipelines locally on your machine or server |
| Llama-cpp | A library that provides fast and easy-to-use data structures and algorithms for C++ developers |
| Manifest | A platform that helps you create engaging and interactive content using natural language generation and computer vision |
| Modal | A platform that helps you build conversational AI applications using natural language understanding and dialog management |
| NLP Cloud | A platform that provides high-performance NLP APIs for various tasks such as sentiment analysis, named entity recognition, summarization, etc. |
| OpenAI | A research organization that aims to ensure that artificial intelligence is aligned with humanity’s values and can be widely and safely used by everyone |
| Petals | Petals runs 100B+ language models at home, BitTorrent-style. |
| PipelineAI | A platform that helps you build, train, deploy, and monitor machine learning models at scale on any cloud or edge device |
| PredictionGuard | A platform that helps you monitor and improve the performance of your machine learning models in production |
| PromptLayer OpenAI | A tool that helps you craft effective prompts for OpenAI’s GPT-3 language model using best practices and examples |
| Replicate | A tool that helps you version, package, and share your machine learning experiments with your team or the world |
| Runhouse | A platform that helps you run your machine learning models on any device with a web browser using WebAssembly technology |
| SageMakerEndpoint | A tool that helps you deploy your machine learning models on AWS SageMaker with a few lines of code |
| StochasticAI | A platform that helps you optimize your machine learning workflows using probabilistic programming and Bayesian inference techniques |
| Writer | A platform that helps you create consistent and effective content using generative AI and brand guidelines |
Credit: Introduction to LangChain: A Framework for LLM Powered Applications As of writing this post, LangChain has integrations with 26 LLMs. Here’s a breakdown.