Contents

init(profile:history:)

Create a session with a profile.

Declaration

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

Mentioned in

Discussion

  • Parameters

    • profile: The profile to use for this session.

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

See Also

Creating a session with a dynamic profile