Skip to main content

1. Configure your Environment

Configure environment variables and create your freeplay session

2. Create a Freeplay Session

Create a Freeplay Session that we will use to tie together all completions in the Chain

3. Run the first Completion

  • Fetch and format the first prompt
  • Call your LLM
  • Extract the needed results

4. Record the first Completion to Freeplay

  • Record to Freeplay

5. Run second Completion

  • Fetch and format second prompt using output from the first
  • Call your LLM provider
  • Record to Freeplay

Examples