You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As well as adding some context on naming conventions we are using, as remembered by @lgabs:
I'd like to take the opportunity here to point something important: the taxonomy we use when speaking about LLM Applications is important for our communication. There are many confusing terms and many recent concepts, so I just want to help us to use the same names for the same things:
LLM (Large Language Models): this is the model per-se, not the chains, not an agent. We sometimes use llm to denote a chain that calls an llm (even langchain's example call instances of chains by llm in this case), but it's important to us to keep this in mind.
LangChain Expression Language, or LCEL, is a declarative way to easily compose chains together. It's the a way to build chains, so we could avoid calling chains by this name.
Runnables: the new protocol used by most of langchain components, making it easier to compose chains like runnable1 | runnable2. It's kind of okay to call a chain by runnable since it is its subclass, but the name makes it easier to understand that chains are compositions, and runnables are components. For example, langchain's prompt templates, memory components (like RunnableWithMessageHistory) and retrievers (like PGVector) are also runnables.
RAG: RAG is a technique for augmenting LLM knowledge with additional data. It's just the technique, so it'd not be good to call chains or runnables by RAG. A chain uses RAG technique to enhance it's performance and knowledge of the world.
LLM Applications: BTW this is a better name for what dialog project produces: an application that uses LLM to power its capability. It's not only a LLM, but a whole infrastructure around it.
As we spoke on #175, we are altering a little bit our path of the project. In order to do this, we need to update our docs with more details:
The text was updated successfully, but these errors were encountered: