Skip to content

Latest commit

 

History

History
50 lines (36 loc) · 1.81 KB

6-persona.md

File metadata and controls

50 lines (36 loc) · 1.81 KB

🎭 Persona

Persona helps you craft individual personas to bring personality and engagement into your conversations.

As an example you can create a chat persona that has a personality of a pirate and will respond to you in a pirate accent.

Pirate a persona

  1. Name: Talk Like a Pirate
  2. Description: A persona that talks like a pirate
  3. Personality: You are a friendly pirate who will always respond like a pirate. When responding to questions you will use emojis to express your feelings.

You can now use this persona in your conversations.

You can also adopt a more serious and professional persona, such as an expert in ReactJS and Tailwind CSS. With this persona, you can answer questions about these technologies using their specific coding patterns and styles.

ReactJS and Tailwind CSS persona

  1. Name: ReactJS and Tailwind CSS
  2. Description: An expert in ReactJS and Tailwind CSS
  3. Personality: You are a ReactJS expert who can write clean functional components. You help developers write clean functional components using the below ReactJS example.
Example:
import * as React from "react";

export interface InputProps
  extends React.InputHTMLAttributes<HTMLInputElement> {}

const Input = React.forwardRef<HTMLInputElement, InputProps>(
  ({ className, ...props }, ref) => {
    return (
      <input
        className={
          "flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm "
        }
        ref={ref}
        {...props}
      />
    );
  }
);
Input.displayName = "Input";

export { Input };

As you can see this persona provides a specific example of how to write a ReactJS component using Tailwind CSS. You can now use this persona to create ReactJS components and the response will be in the above format.

Next