AI template

AI Chatbot

AI chatbot with conversation history, a typing indicator while it answers, and a persona selector.

Checked before it goes live
AI Chatbot template preview built with PromptUI

Who it is for

Teams adding a conversational interface without building the chat plumbing.

What it does

  • Answer questions conversationally
  • Give an assistant a context panel
  • Prototype an AI product surface

Common in

SaaSTechnology

The brief we build from

This is the exact instruction PromptUI starts with. You can change every word of it before or after the first build.

Build an AI chatbot app. Use the PromptUI AI Proxy at /api/v1/chat/completions (already available — no API key needed from the user). Include a chat interface with message bubbles, a typing indicator while the answer loads, a persona selector dropdown (Helpful Assistant, Code Expert, Creative Writer), conversation history in a sidebar, and a "New Chat" button. The app should call the AI proxy with fetch() using the format: { model: "gpt-5.4-nano", messages: [...] } and show the whole answer when it arrives.

Other ai templates

Start from this template

PromptUI builds it, checks that it actually runs, and helps you put it online. Free to start.