Single-Prompt Playground
Last updated
Last updated
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.
Access the Prompt Playground:
Navigate to the Project.
Locate and click on the "Playground" section.
Initiate a New Prompt:
Click the New Prompt
button to start creating your prompt template.
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}}
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.
Evaluate Your Prompt:
Click the Run
button to test your prompt in real-time.
Analyze the generated output to ensure it meets your expectations.
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.