⛓️ Chain (LangChain)

= a combination of multiple 🔗 LangChain modules, used to create complex workflows

Types

  • sequential

📖 Example:

A more complex chain could look like this:

  1. user asks question
  2. choose a correct prompt template via agent
  3. fill the prompt template
  4. send prompt to LLM (e.g. GPT-3)
  5. get answer & reply

🔗 Links

LangChain - chains