jaredpalmer/nextjs-langchain-example
Demo of using LangChain.js with Next.js and Vercel Edge Functions (to stream the response)
This project helps developers integrate AI language models into their web applications, specifically using Next.js. It takes user input from a web interface and processes it through an AI model, then streams the AI's response back to the user's browser. It's designed for web developers building interactive, AI-powered features for their applications.
No commits in the last 6 months.
Use this if you are a web developer building a Next.js application and want to incorporate real-time, streaming AI language model responses.
Not ideal if you are looking for a pre-built AI application or do not have experience with web development and JavaScript frameworks.
Stars
40
Forks
10
Language
TypeScript
License
—
Category
Last pushed
May 08, 2023
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/jaredpalmer/nextjs-langchain-example"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
tavily-ai/tavily-chat
Conversational agent that fuses chat data with live web results through Tavily search, extract,...
zahidkhawaja/langchain-chat-nextjs
Next.js frontend for LangChain Chat.
homanp/langchain-ui
🧬 The open source chat-ai toolkit
traveler-leon/smart-customer-service-system
构建一个基于大模型的智能客服系统,可提供静态知识问答(静态数据)、动态知识问答(数据库),业务办理(api调用)等功能,同时系统具有自我学习能力。定期的反思可让系统变得更强大。
Azure-Samples/serverless-chat-langchainjs-purview
About This sample showcases how Purview API can be integrated to audit and secure AI prompts and...