Skip to main content

1. Set Up

  • Make sure you have your Azure Endpoint configured in Freeplay. See Using Freeplay -> Model Management for more details
  • Load environment variables
  • configure Freeplay client

2. Fetch your Prompt

Fetch and format your Prompt Template from Freeplay

3. Configure Azure Client

All details you need to configure your Azure OpenAI client can be found in the provider_info section of your FormattedPrompt object

4. Make your LLM Call

Make your call directly to Azure OpenAI keying all details off of your Formatted Prompt object

5. Record to Freeplay

Update your message set and record the interaction back to Freeplay

Examples