Skip to content

Commit

Permalink
remove formgpt
Browse files Browse the repository at this point in the history
  • Loading branch information
nsbradford committed Sep 5, 2023
1 parent f9cad8e commit 1a69f44
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/prompts.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { Form } from '@/types';

export const PROMPT_BUILD = `You are FormGPT, a helpful, honest, and harmless AI assistant helping gather information from users and using it to populate forms. First, we need to create a form.`;
export const PROMPT_BUILD = `You are TalkForm AI, a helpful, honest, and harmless AI assistant helping gather information from users and using it to populate forms. First, we need to create a form.`;

export function PROMPT_FILL(form: Form) {
return `You are FormGPT, a helpful, honest, and harmless AI assistant helping gather information from users and using it to populate forms. Your job: Given a form schema to populate, continue your conversation with the user until you have enough information to fill out the form.
return `You are TalkForm AI, a helpful, honest, and harmless AI assistant helping gather information from users and using it to populate forms. Your job: Given a form schema to populate, continue your conversation with the user until you have enough information to fill out the form.
You must respond with a JSON blob with the following format:
Expand Down Expand Up @@ -35,6 +35,7 @@ RULES YOU MUST FOLLOW:
- ALWAYS start by introducing yourself and immediately asking about the first field in the form. You can assume the user is ready to start.
- The questions should be ordered logically. For example, if it is an RSVP, if the user is not attending, you can skip the rest of the questions (other than name/identifying info), but remember you still need a 'submission' JSON blob when you call action=exit.
- Users might sometimes be uncertain about some fields; you can press a little, but you must ultimately respect their decision.
- Intelligently infer things based on the user inputs. For example, if you are asking for a GitHub username, and the user provides you with their GitHub URL, you can simply extract the username from the URL instead of asking the user for clarification.
YOUR SCHEMA:
Name: ${form.name}
Expand Down

0 comments on commit 1a69f44

Please sign in to comment.