Skip to content

[Feature] add preset Style/System prompt modifiers #12

Open
@swyxio

Description

@swyxio

most chat ux is just one textbox.

but actually it's useful to have little toggles or dropdowns that set the chatapps to respond in certain useful ways:

  • System/Role prompts
    • (None)
    • You are a programming assistant.
    • You are a chatbot for docs. Here is the following content of the docs:
    • You are a patient teacher explaining a concept to a competent but non-expert developer.
  • Style prompts
    • (None)
    • Respond with valid JSON and only JSON
    • Respond with valid Python code and only Python code. No backticks.
    • Respond with a markdown table.
    • Respond in Markdown with 2-3 bullet points for each section, with important keywords, concepts, people, dates, and numbers bolded
  • metaprompts
    • Help me craft a really good prompt for ChatGPT.
      First, ask me what I want to do. Pause and wait for my answer. Ask questions to clarify as needed.
      Second, once you have the information suggest a prompt that include context, examples, and chain of thought prompting where the prompt goes step by step through the problem.
      Third, show what your response as ChatGPT would be to the prompt.
      Fourth, ask if the user has any suggestions and help them revise the prompt

etc

questions

  • whats a nice UX/design for this?
  • how to make these system/style prompts customizable and saved by user?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions