🏴☠️ Chat
🧱 Structured Output
🦜 Agents
🐶 Retrieval
🤖 Retrieval Agents
🌊 LangChain x AI SDK
✨ Generative UI
🏴☠️ Patchy the Chatty Pirate
▲ Next.js + LangChain.js + Sent.dm 🦜🔗
🤝
This template showcases a simple chatbot using
LangChain.js
and the Sent
Messaging API
in a
Next.js
project.
💻
You can find the prompt and model logic for this use-case in
app/api/chat/route.ts
.
🏴☠️
By default, the bot is pretending to be a pirate, but you can change the prompt to whatever you want!
🎨
The main frontend logic is found in
app/page.tsx
.
🐙
This template is open source - you can see the source code and deploy your own version
from Sent.dm SMS template library.
!
👇
Try asking e.g.
What is it like to be a pirate?
below!
Loading...
Send