Skip to main content

1. Create the Freeplay Client

2. Fetch the prompt from Freeplay

Freeplay will handle conversion of the messages to the right format for you

3. Call the LLM via LiteLLM

Route the LLM call through LiteLLM

4. Record to Freeplay

Record the interaction back to Freeplay

Examples