Roles

What are roles in Chibi AI?

Roles are pre-defined instructions and AI settings assigned to an AI model. Another way to think of them are as "AI personas" where you set how the AI should react to prompts.

This is what a role looks like:

Role Settings

Your Model

When you create a role you first choose the AI model. This will be from one of the models you have added to your account already.

The model you choose is the one that will generate content when the role is used. For example, if you create a 'creative writer' role that uses OpenAI's GPT-3.5, then any feature in Chibi that uses the 'creative writer' role will use GPT-3.5.

This refers to things like using the 'write' button (at the left of the editor), or many of the edge tools (at the right of the editor). Things like actions, rework, and chat have the ability to use roles.

Instructions

Instructions is where you intruct the AI how to act. For example:

"You are an expert copywriter. Your task is to take product briefs and turn them into actionable materials for a sales team. Follow given instructions and write in a professional style."

Note: this is a very basic example to showcase roles. But instructions is where you get to experiment and try things to achieve your perfect results.

AI Controls

These are the underlying settings for common AI parameters like temperature, max tokens (max length here), top P, and penalties.

Check out our guide on understanding AI controls to learn how these affect how your role will perform.

Example Instructions

Below are two examples of instructions that would make effective 'creative writer' roles. Keep in mind, these are examples only. You may use them, but we recommend making adjustments to your preferences.

Basic

As a renowned fantasy story writer, your signature style weaves fast-paced, dialogue-driven narratives within intricately designed worlds. Your stories feature rich settings, diverse and dynamic characters, and complex plots filled with twists, magic, and ancient lore.

Expanded

As a renowned fantasy story writer, your signature style weaves fast-paced, dialogue-driven narratives within intricately designed worlds. Your stories feature rich settings, diverse and dynamic characters, and complex plots filled with twists, magic, and ancient lore.

Key Instructions:

  • World-Building: Create vivid, detailed worlds with unique elements like mythical creatures and enchanted landscapes. Use descriptive language to immerse readers.

  • Character Development: Develop relatable, multi-dimensional characters with distinct voices. Use dialogue for personality and story progression.

  • Plot Complexity: Craft layered stories with multiple subplots and revelations. Maintain coherence and build towards a satisfying conclusion.

  • Pacing and Dialogue: Keep the story moving quickly, relying on sharp, purposeful dialogue to reveal the world and character interactions.

  • Themes: Incorporate universal themes that prompt reflection, woven naturally into the narrative.

  • Innovation: Experiment with fantasy elements and narrative structures for fresh takes on classic tropes.

  • Emotional Depth: Elicit a range of emotions, making readers invested in the characters' journeys.

Objective: Engage readers with captivating tales that transport them to fantastical realms, leaving a lasting impact and a desire for more.

Things to Consider in Instructions

  1. Purpose and Clarity: Clearly define the role's purpose and the type of content it should generate. This includes things like the genre, style, and any unique characteristics or constraints. Clarity helps the AI understand and stay within your goals.

  2. Audience Understanding: Consider the target audience for the role. Understanding the audience helps tailor the AI's voice, complexity, and content type to meet the audience's expectations and interests.

  3. Examples: Provide examples to guide the AI's output. This can include examples of tone, pacing, character development, or world-building techniques.

  4. Balance Between Guidance and Flexibility: While it's important to provide clear guidance, it's equally important to allow for flexibility and creativity in the AI's responses. Avoid over-constraining the AI, which can stifle creativity and result in repetitive or formulaic content.

  5. Efficiency and Token Economy: Balance the comprehensiveness of the instruction with the need for efficiency. Aim for roles that are succinct yet effective in guiding the AI, maximizing quality without unnecessary token expenditure.

  6. Innovation and Uniqueness: Strive for roles that encourage innovative and unique content specific for your needs. Inspire the AI to explore creative avenues that delight and surprise your readers.

A fallback model is one that Chibi will use when the primary model on your role fails.

Fallback Model

Sometimes the AI model provider (OpenAI, Anthropic, Together AI, etc.), or the network between you and them, may have a temporary issue responding.

A fallback model is optional in your role. Use it when you want a more reliable experience. In the event your primary model doesn't work the fallback will kick in.

This doesn't guarantee reliability.

The fallback model will help when the cause of the issue is the primary model provider. But if OpenRouter itself is having challenges, it could interrupt AI services in Chibi as a whole.

The roles panel is where you create and manage your roles. Roles are "AI personas" that instruct the AI how to react to your prompts. And in Chibi you set the models you want to use within the role.

Roles are organized into groups and you need at least one group to start creating roles.

Introducing Roles

This is the video you saw in the panel when you first opened it (in case you wish to review it again).

What does "activating" a role do?

When you click the checkbox at the top of the role editor, or in the list of your roles (within each group), it becomes the active role for the document you're in.

This means when you use tools such as write, finish, inline prompts, and Ask Cheebs, the role (and the model within it) are used.

This gives you the ability to quickly swap between roles for different purposes.

Role Settings

Your Model

When you create a role you first choose the AI model. This will be from one of the models you have added to your account already.

The model you choose is the one that will generate content when the role is used. For example, if you create a 'creative writer' role that uses OpenAI's GPT-4o Mini, then any feature in Chibi that uses the 'creative writer' role will use GPT-4o Mini.

This refers to things like using the 'write' button (at the left of the editor), or many of the edge tools (at the right of the editor). Things like Ask Cheebs, actions, rework, and chat have the ability to use roles.

Fallback Model

The model that can be used in the event the provider of your primary model fails.

Instructions

Instructions is where you instruct the AI how to act. For example:

"You are an expert copywriter. Your task is to take product briefs and turn them into actionable materials for a sales team. Follow given instructions and write in a professional style."

Note: this is a very basic example to showcase roles. But instructions is where you get to experiment and try things to achieve your perfect results.

AI Controls

These are the underlying settings for common AI parameters like temperature, max tokens (max length here), top P, and penalties.

Check out our guide on understanding AI controls to learn how these affect how your role will perform.

Example Instructions

Below are two examples of instructions that would make effective 'creative writer' roles. Keep in mind, these are examples only. You may use them, but we recommend making adjustments to your preferences.

Basic

As a renowned fantasy story writer, your signature style weaves fast-paced, dialogue-driven narratives within intricately designed worlds. Your stories feature rich settings, diverse and dynamic characters, and complex plots filled with twists, magic, and ancient lore.

Expanded

As a renowned fantasy story writer, your signature style weaves fast-paced, dialogue-driven narratives within intricately designed worlds. Your stories feature rich settings, diverse and dynamic characters, and complex plots filled with twists, magic, and ancient lore.

Key Instructions:

  • World-Building: Create vivid, detailed worlds with unique elements like mythical creatures and enchanted landscapes. Use descriptive language to immerse readers.

  • Character Development: Develop relatable, multi-dimensional characters with distinct voices. Use dialogue for personality and story progression.

  • Plot Complexity: Craft layered stories with multiple subplots and revelations. Maintain coherence and build towards a satisfying conclusion.

  • Pacing and Dialogue: Keep the story moving quickly, relying on sharp, purposeful dialogue to reveal the world and character interactions.

  • Themes: Incorporate universal themes that prompt reflection, woven naturally into the narrative.

  • Innovation: Experiment with fantasy elements and narrative structures for fresh takes on classic tropes.

  • Emotional Depth: Elicit a range of emotions, making readers invested in the characters' journeys.

Objective: Engage readers with captivating tales that transport them to fantastical realms, leaving a lasting impact and a desire for more.

Things to Consider in Instructions

  1. Purpose and Clarity: Clearly define the role's purpose and the type of content it should generate. This includes things like the genre, style, and any unique characteristics or constraints. Clarity helps the AI understand and stay within your goals.

  2. Audience Understanding: Consider the target audience for the role. Understanding the audience helps tailor the AI's voice, complexity, and content type to meet the audience's expectations and interests.

  3. Examples: Provide examples to guide the AI's output. This can include examples of tone, pacing, character development, or world-building techniques.

  4. Balance Between Guidance and Flexibility: While it's important to provide clear guidance, it's equally important to allow for flexibility and creativity in the AI's responses. Avoid over-constraining the AI, which can stifle creativity and result in repetitive or formulaic content.

  5. Efficiency and Token Economy: Balance the comprehensiveness of the instruction with the need for efficiency. Aim for roles that are succinct yet effective in guiding the AI, maximizing quality without unnecessary token expenditure.

  6. Innovation and Uniqueness: Strive for roles that encourage innovative and unique content specific for your needs. Inspire the AI to explore creative avenues that delight and surprise your readers.

Was this helpful?