▲ Next.js + LangChain.js Structured Output 🦜🔗

  • 🧱This template showcases how to output structured responses with a LangChain.js chain and the Vercel AI SDK in a Next.js project.
  • ☎️The chain formats the input schema and passes it into an OpenAI Functions model, then parses the output.
  • 🐙This template is open source - you can see the source code and deploy your own version from the GitHub repo!
  • 👇Try typing e.g. What a beautiful day! below!