Prompt Playground
The Opik prompt playground is current in public preview, if you have any feedback or suggestions, please let us know.
When working with LLMs, there are time when you want to quickly try out different prompts and see how they perform. Opik's prompt playground is a great way to do just that.
Configuring the prompt playground
In order to use the prompt playground, you will need to first configure the LLM provider you want to use. You can do this by clicking on the Configuration
tab in the sidebar and navigating to the AI providers
tab. From there, you can select the provider you want to use and enter your API key.
Currently only OpenAI is supported but we are working on adding support for other LLM providers.
Using the prompt playground
The prompt playground is a simple interface that allows you to enter prompts and see the output of the LLM. It allows you to enter system, user and assistant messages and see the output of the LLM in real time.
You can also easily evaluate how different models impact the prompt by duplicating a prompt and changing either the model or the model parameters.
All of the conversations from the playground are logged to the playground
project so that you can easily refer back to them later: