interface AddAiPromptRequest {
    action: Action;
    aiModelId?: string;
    aiProviderId?: number;
    config:
        | AiPromptConfigBasicPreTranslate
        | AiPromptConfigBasicAssistAction
        | AiPromptConfigAdvanced
        | AiPromptConfigExternal;
    enabledProjectIds?: number[];
    isEnabled?: boolean;
    name: string;
}

Properties

action: Action
aiModelId?: string
aiProviderId?: number
enabledProjectIds?: number[]
isEnabled?: boolean
name: string