Next.js, Vercel AI SDK & Ollama chatbot starter example
MIT License
This starter example shows how to use Next.js, the Vercel AI SDK, Ollama and the Ollama AI Provider to create a ChatGPT-like AI-powered streaming chat bot.
ollama pull llama3
(reference)git clone https://github.com/lgrammel/ollama-nextjs-chatbot.git
npm install
npm run dev
app/api/chat/route.ts
and app/page.tsx