import { UseChatHelpers } from 'ai-connector/react' import { Button } from '@/components/ui/button' import { ExternalLink } from '@/components/external-link' import { IconArrowRight } from '@/components/ui/icons' const exampleMessages = [ { heading: 'Explain technical concepts', message: `What is a "serverless function"?` }, { heading: 'Summarize an article', message: 'Summarize the following article for a 2nd grader: \n' }, { heading: 'Draft an email', message: `Draft an email to my boss about the following: \n` } ] export function EmptyScreen({ setInput }: Pick) { return (

Welcome to Next.js Chatbot!

This is an open source AI chatbot app built with{' '} Next.js and{' '} Vercel KV .

You can start a conversation here or try the following examples:

{exampleMessages.map((message, index) => ( ))}
) }