Skip to main content
Loading navigation
Back to prompt library

Initial Setup and Character Design

Linked challenge: Build a Moderated Conversational AI Character for Teens

Prompt source

planning|implementation1 lines1 sectionsNo variables0 checklist items
Set up your Vercel AI SDK project using Next.js/React or SvelteKit. Define the initial system prompt for your AI character, outlining its persona, target audience (teens), and core interaction guidelines. Consider a friendly, supportive, and knowledgeable persona. Implement the basic chat interface and connect it to a Qwen2.5-72B model endpoint through the AI SDK's `useChat` hook. Demonstrate a simple text-based conversation.