Hi everyone! I’m planning to build a full-featured AI chatbot application using Next.js, the Vercel AI SDK, and maybe LangChain or custom model integration. I’d love to hear from folks who’ve done this before.
Questions
- What architecture works best for chatbots on Vercel (
Serverless FunctionsvsEdge)? - Performance-optimization tips for streaming responses?
- How do you handle conversation history and persistence?
- Suggestions for reducing API costs?
Thanks in advance!