Experiment in the Prompt playground
Create, refine, experiment and deploy your prompts via the playground. Organize of your prompts using folders and versions, experimenting with the real world cases by linking tools and context, and deploying based on custom logic.
Prompts in Maxim provide a powerful way to experiment with prompt structures, models and configurations. Maxim’s playground allows you to iterate over prompts, test their effectiveness, and ensure they work well before integrating them into more complex workflows for your application.
Selecting a model
Maxim supports a wide range of models, including:
- Open-source models
- Closed models
- Custom models
Easily experiment across models by configuring models and selecting the relevant model from the dropdown at the top of the prompt playground.
Adding system and user prompts
In the prompt editor, add your system and user prompts. The system prompt sets the context or instructions for the AI, while the user prompt represents the input you want the AI to respond to. Use the Add message
button to append messages in the conversations before running it. Mimic assistant responses for debugging using the assistant
type message.
Configuring parameters
Each prompt has a set of parameters that you can configure to control the behavior of the model. Find details about the different parameters for each model in the model’s documentation. Here are some examples of common parameters:
- Temperature
- Max tokens
- topP
- Logit bias
- Prompt tools (for function calls)
- Custom stop sequences
Using variables
Maxim allows you to include variables in your prompts using double curly braces {{ }}
. You can use this to reference dynamic data and add the values within the variable section on the right side.
Variable values can be static or dynamic where its connected to a context source.
Next steps
- For RAG applications using retrieved context, learn about attaching context to your prompt.
- For agentic systems in which you want to test out correct tool usage by your prompt, learn about running a prompt with tool calls.
- For better collaborative management of your prompts, learn about versioning prompts.