ComfyUI > Nodes > Bjornulf_custom_nodes > 🦙 Ollama Persona Selector 👇

ComfyUI Node: 🦙 Ollama Persona Selector 👇

Class Name

Bjornulf_OllamaSystemPersonaSelector

Category
ollama
Author
justUmen (Account age: 3046days)
Extension
Bjornulf_custom_nodes
Latest Updated
2025-02-28
Github Stars
0.2K

How to Install Bjornulf_custom_nodes

Install this extension via the ComfyUI Manager by searching for Bjornulf_custom_nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Bjornulf_custom_nodes in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

🦙 Ollama Persona Selector 👇 Description

Enhance creative projects with predefined personas for AI artists to customize narrative voice and character traits dynamically.

🦙 Ollama Persona Selector 👇:

The Bjornulf_OllamaSystemPersonaSelector node is designed to enhance your creative projects by allowing you to select from a variety of predefined personas, each with its unique voice and style. This node is particularly useful for AI artists who want to infuse their work with distinct character traits and personalities, making interactions more engaging and dynamic. By providing a selection of personas, such as a "Drama Queen" or a "Gothic Poet," this node enables you to tailor the tone and mood of your AI's responses, adding depth and variety to your projects. The main goal of this node is to offer a simple yet powerful way to customize the narrative voice of your AI, making it an invaluable tool for storytelling, character development, and creative expression.

🦙 Ollama Persona Selector 👇 Input Parameters:

selected_prompt

The selected_prompt parameter allows you to choose from a list of predefined personas, each offering a unique style and tone. This parameter is crucial as it determines the character traits and voice that your AI will adopt. The available options include personas like "Drama Queen," "Hyperactive Child," "Sassy Teenager," and many more, each with a distinct narrative style. The default value is "Default Assistant," which provides a neutral and helpful AI persona. Selecting a different persona will significantly impact the AI's responses, making them more aligned with the chosen character's attributes.

custom_prompt_prefix

The custom_prompt_prefix parameter provides you with the flexibility to add a personalized touch to the selected persona's prompt. This optional parameter allows you to prepend a custom string to the predefined persona's description, enabling you to further customize the AI's voice and style. The input for this parameter is a string, which can be multiline, and it defaults to an empty string. This feature is particularly useful if you want to add specific context or instructions to the persona's behavior, enhancing the overall interaction and making it more tailored to your needs.

🦙 Ollama Persona Selector 👇 Output Parameters:

OLLAMA_PERSONA

The OLLAMA_PERSONA output parameter provides a structured representation of the selected persona, encapsulating the character's unique traits and style. This output is essential for integrating the persona into your AI system, ensuring that the AI's responses are consistent with the chosen character's attributes. It serves as a key component in defining the AI's narrative voice, making it a vital element for projects that require character-driven interactions.

prompt_text

The prompt_text output parameter delivers the complete prompt text, combining the selected persona's description with any custom prefix you have added. This output is crucial for generating the final narrative style that your AI will use in its interactions. It provides a clear and concise representation of the persona's voice, ready to be utilized in your creative projects. The prompt_text ensures that the AI's responses are aligned with the desired tone and style, making it an indispensable tool for storytelling and character development.

🦙 Ollama Persona Selector 👇 Usage Tips:

  • Experiment with different personas to find the one that best fits the tone and style of your project. Each persona offers a unique voice, so try out several to see which one resonates most with your creative vision.
  • Use the custom_prompt_prefix to add specific context or instructions to the persona's behavior. This can help tailor the AI's responses to better suit your project's needs, providing a more personalized interaction.

🦙 Ollama Persona Selector 👇 Common Errors and Solutions:

Persona Not Found

  • Explanation: This error occurs when the selected persona is not available in the predefined list.
  • Solution: Ensure that the selected_prompt parameter is set to one of the available personas listed in the node's documentation.

Empty Custom Prompt

  • Explanation: This error might occur if the custom_prompt_prefix is expected but not provided.
  • Solution: If a custom prompt is required, make sure to provide a valid string in the custom_prompt_prefix parameter. If not needed, ensure that the parameter is set to an empty string.

🦙 Ollama Persona Selector 👇 Related Nodes

Go back to the extension to check out more related nodes.
Bjornulf_custom_nodes
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.