Contents

init(profile:history:)

Creates a session with a profile.

Declaration

convenience init(profile: sending some LanguageModelSession.DynamicProfile, history: some Collection<Transcript.Entry> = [])

Parameters

  • profile:

    The profile to use for this session.

  • history:

    Transcript entries without the initial instructions, since that’s defined by the profile.

Mentioned in

See Also

Creating a session with a dynamic profile