▲ Next.js + LangChain.js Retrieval Chain 🦜🔗

  • 🐶By default, the agent is pretending to be a talking puppy, but you can change the prompt to whatever you want!
  • 🎨The main frontend logic is found in app/retrieval/page.tsx.
  • 🐙This template is open source - you can see the source code and deploy your own version from the GitHub repo!
  • 👇Upload some text, then try asking e.g. What are some ways of doing retrieval in LangChain? below!