LLM - Experimenting LangChain - Part 1
Intro For those unfamiliar with it, LangChain is a framework for developing applications that make use of LLMs. As the name suggests, LangChain is based on the concept of LLM Chain, which combines 3 elements: Prompt Templates: they refer to a reproducible way to generate a prompt. Contains a text string (“the model”), which can accept a series of parameters from the end user and generates the definitive prompt which is passed as input to the model The language model (LLM): LangChain integrates with the most important providers (OpenAI, Cohere, Hugging Face, etc) Output Parsers: allow to extract structure data form from the answers returned by the linguistic model The framework has 2 very interesting features:...