insert method

Future<void> insert({
  1. required AiModelName modelName,
  2. dynamic isPublic = false,
})

Adds a new profile to the assistant. This will result in an error if a profile already exists with the same id.

Implementation

Future<void> insert({required AiModelName modelName, isPublic = false}) =>
    _client.mutate(AiAssistantMutateRequest.profileInsert(
        profileId: _profileId,
        integrationId: _integrationId,
        isPublic: isPublic,
        modelName: modelName,
        strictContext: false));