Single-Prompt Playground

RagaAI Catalyst's Prompt Playground offers a powerful and intuitive interface for creating, testing, and managing prompt templates. This feature is designed to streamline your prompt engineering process and enhance the quality of your LLM interactions.

Step-by-Step Guide to Creating a Prompt in RagaAI Catalyst Playground

  1. Access the Prompt Playground:

    • Navigate to the Project.

    • Locate and click on the "Playground" section.

  2. Initiate a New Prompt:

    • Click the New Prompt button to start creating your prompt template.

  3. Craft Your Prompt:

    • Use the built-in editor to write your prompt.

    • Incorporate variables and conditional logic if needed for dynamic prompt generation. Variables can be created by writing the variable name within doubly curly braces, for e.g, {{var}}

  4. Test Multiple Model Configurations:

    • Run prompts across different models to explore various configurations.

    • In case you have configured a custom gateway (details here), the value of the "model" key provided by you should also populate in the model dropdown, and can be used for inferencing here.

    • Fine-tune your approach by experimenting with different settings for optimal performance.

  5. Evaluate Your Prompt:

  • Click the Run button to test your prompt in real-time.

  • Analyze the generated output to ensure it meets your expectations.

  1. Save and Version Your Prompt:

  • Once satisfied with your prompt, click the Commit button.

  • Enter a commit message describing the changes or purpose of this version.

  • This action saves a new version of your prompt in the RagaAI Catalyst system.

Until you commit your prompt, it will not be saved in the playground. You can commit your prompt at any time by clicking the Commit button.

Last updated