1. Scenario Knowledge Center
  2. Advanced Image Creation Tools
  3. Unlock The Power And Control of Our Advanced Tools

Model Prompt Embedding

Add custom prompt to your model to beter guide output for users

What is Prompt Embedding?

Prompt embedding is a technique used in generative AI to enhance the input prompts by embedding additional context or instructions directly into the prompt. This helps the AI model to better understand the user’s intent and produce more accurate and relevant results.

There are two main types of prompt embedding:

  1. Positive Prompt Embedding: Adds helpful context or instructions that guide the AI towards the desired output.
  2. Negative Prompt Embedding: Specifies what the AI should avoid or exclude in its response.

Why Use Prompt Embedding?

  • Enhanced Accuracy: By providing additional context, the AI can generate more precise and contextually appropriate outputs.
  • Consistency: Ensures the AI adheres to specific guidelines or standards consistently across all outputs.
  • Customization: Tailors the AI’s responses to better fit specific use cases or user preferences.

Configuring Prompt Embedding on Scenario

To configure prompt embedding on our platform, follow these steps:

  1. Navigate to Your Model Page

    • Go to the model page where you want to configure prompt embedding.
  2. Access the Details Tab

    • Click on the Details tab to find the configuration settings.
  3. Configure Prompt Embedding

    • You will see options to configure both prompt embedding and negative prompt embedding.

Positive Prompt Embedding

  • Definition: Embeds additional context or instructions into the user prompt.
  • Usage: Enter the contextual information or guidelines that you want to be consistently included in the prompt. You can typically add keywords regarding good quality or a specific style you want to apply to your model.

Negative Prompt Embedding

  • Definition: Specifies elements to avoid or exclude in the AI's output.
  • Usage: Enter the constraints or exclusions that you want the AI to adhere to. You can typically add keywords regarding bad quality or a specific style you want to avoid.

How It Works

When you configure prompt embedding, these embeddings do not appear in the prompts during model generation. Instead, they are seamlessly added to the user's input prompt behind the scenes. This ensures that the AI model always receives the full context without the user needing to manually enter it every time.

Ownership Requirement

It's important to note that configuring prompt embedding is only available if you own the model. This ensures that only authorized users can modify the fundamental behavior of the proposed model.

Conclusion

Prompt embedding is a powerful tool to enhance the performance and customization of generative AI models. By embedding additional context or constraints directly into the prompts, you can achieve more accurate, consistent, and tailored outputs. On our platform, configuring prompt embedding is straightforward and can significantly improve your AI model's effectiveness.