LanguageModelSession.ConditionalDynamicProfile
A dynamic profile that resolves to one of two profiles, depending on a condition.
Declaration
struct ConditionalDynamicProfile<TrueContent, FalseContent> where TrueContent : LanguageModelSession.DynamicProfile, FalseContent : LanguageModelSession.DynamicProfileSee Also
Creating a session with a dynamic profile
init(profile:history:)init(model:dynamicInstructions:history:)LanguageModelSession.DynamicProfileLanguageModelSession.DynamicProfileModifierLanguageModelSession.DynamicProfileBuilderLanguageModelSession.DynamicProfileModifierContentLanguageModelSession.ModifiedDynamicProfileLanguageModelSession.AnyDynamicProfileLanguageModelSession.Profile