Learn how to use episodes to manage sequences of inferences that share a common outcome.
/inference
endpoint accepts an optional episode_id
field.
When you make the first inference request, you don’t have to provide an episode_id
.
The gateway will create a new episode for you and return the episode_id
in the response.
When you make the second inference request, you must provide the episode_id
you received in the first response.
The gateway will use the episode_id
to associate the two inference requests together.
Full Configuration
episode_id
in the first inference request, so the gateway will generate a new one for us.
We’ll then use that value in our second inference request.
Sample Output