Skip to main content
The Freeplay SDKs are organized into a set of core nouns which make up namespaces off of the core client object.

Sessions

Sessions are a collection of 1 or more completions enabling you to tie completions together in whatever logical grouping makes sense for your application. All methods are accessible from the client.prompts namespace

Methods Overview

Method NameParametersDescription
createcustom_metadata dict (optional) Metadata to associate with the sessionGenerate a SessionInfo object that will be used to log completions
deleteproject_id: str session_id: UUIDDelete a Session