Getting Started β€” πŸ¦œπŸ”— LangChain 0.0.113 thumbnail
Getting Started β€” πŸ¦œπŸ”— LangChain 0.0.113
langchain.readthedocs.io
In this tutorial, we will cover: Using a simple LLM chain Creating sequential chains Creating a custom chain Chains allow us to combine multiple components together to create a single, coherent application. The LLMChain is a simple chain that takes in a prompt template, formats it with the user i
2 Users
0 Comments
6 Highlights
6 Notes

Top Highlights

  • In this tutorial, we will cover: Using a simple LLM chain Creating sequential chains Creating a custom chain
  • Chains allow us to combine multiple components together to create a single, coherent application.
  • The LLMChain is a simple chain that takes in a prompt template, formats it with the user input and returns the response from an LLM.
  • We can do this using sequential chains, which are chains that execute their links in a predefined order.
  • from langchain.chains import SimpleSequentialChain overall_chain = SimpleSequentialChain(chains=[chain, chain_two], verbose=True)

Ready to highlight and find good content?

Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.