AiAssistantSettings

plugins/ai-assistant.AiAssistantSettings

aiAssistantCallback

Optional aiAssistantCallback: (prompt: string, htmlFragment: string) => Promise<string>

Callback function for AI assistant to process and return the result

Type declaration

(prompt, htmlFragment): Promise<string>

Parameters
Name Type
prompt string
htmlFragment string
Returns

Promise<string>

Defined in

src/plugins/ai-assistant/config.ts#20


aiCommonPrefixPrompt

aiCommonPrefixPrompt: string

Prompt for common prefix

Defined in

src/plugins/ai-assistant/config.ts#26


aiCommonSuffixPrompt

aiCommonSuffixPrompt: string

Prompt for common suffix

Defined in

src/plugins/ai-assistant/config.ts#29


aiImproveWritingPrompt

aiImproveWritingPrompt: string

Prompt for improving writing quality

Defined in

src/plugins/ai-assistant/config.ts#32


aiMakeShorterPrompt

aiMakeShorterPrompt: string

Prompt for making text shorter

Defined in

src/plugins/ai-assistant/config.ts#35


aiMakeLongerPrompt

aiMakeLongerPrompt: string

Prompt for making text longer

Defined in

src/plugins/ai-assistant/config.ts#38


aiSimplifyLanguagePrompt

aiSimplifyLanguagePrompt: string

Prompt for simplifying language

Defined in

src/plugins/ai-assistant/config.ts#41


aiSummarizePrompt

aiSummarizePrompt: string

Prompt for summarizing text

Defined in

src/plugins/ai-assistant/config.ts#44


aiContinuePrompt

aiContinuePrompt: string

Prompt for continuing text

Defined in

src/plugins/ai-assistant/config.ts#47


aiChangeToneProfessionalPrompt

aiChangeToneProfessionalPrompt: string

Prompt for changing tone to professional

Defined in

src/plugins/ai-assistant/config.ts#50


aiChangeToneFriendlyPrompt

aiChangeToneFriendlyPrompt: string

Prompt for changing tone to friendly

Defined in

src/plugins/ai-assistant/config.ts#53


aiChangeToneFormalPrompt

aiChangeToneFormalPrompt: string

Prompt for changing tone to formal

Defined in

src/plugins/ai-assistant/config.ts#56


aiChangeToneCasualPrompt

aiChangeToneCasualPrompt: string

Prompt for changing tone to casual

Defined in

src/plugins/ai-assistant/config.ts#59


aiChangeToneDirectPrompt

aiChangeToneDirectPrompt: string

Prompt for changing tone to direct

Defined in

src/plugins/ai-assistant/config.ts#62


aiChangeToneConfidentPrompt

aiChangeToneConfidentPrompt: string

Prompt for changing tone to confident

Defined in

src/plugins/ai-assistant/config.ts#65


aiChangeStyleBusinessPrompt

aiChangeStyleBusinessPrompt: string

Prompt for changing style to business

Defined in

src/plugins/ai-assistant/config.ts#68


aiChangeStyleLegalPrompt

aiChangeStyleLegalPrompt: string

Prompt for changing style to legal

Defined in

src/plugins/ai-assistant/config.ts#71


aiChangeStyleJournalismPrompt

aiChangeStyleJournalismPrompt: string

Prompt for changing style to journalism

Defined in

src/plugins/ai-assistant/config.ts#74


aiChangeStylePoeticPrompt

aiChangeStylePoeticPrompt: string

Prompt for changing style to poetic

Defined in

src/plugins/ai-assistant/config.ts#77


aiTranslateToSpanishPrompt

aiTranslateToSpanishPrompt: string

Prompt for translating text to Spanish

Defined in

src/plugins/ai-assistant/config.ts#80


aiTranslateToFrenchPrompt

aiTranslateToFrenchPrompt: string

Prompt for translating text to French

Defined in

src/plugins/ai-assistant/config.ts#83


aiTranslateToGermanPrompt

aiTranslateToGermanPrompt: string

Prompt for translating text to German

Defined in

src/plugins/ai-assistant/config.ts#86


aiTranslateToItalianPrompt

aiTranslateToItalianPrompt: string

Prompt for translating text to Italian

Defined in

src/plugins/ai-assistant/config.ts#89


aiTranslateToPortuguesePrompt

aiTranslateToPortuguesePrompt: string

Prompt for translating text to Portuguese

Defined in

src/plugins/ai-assistant/config.ts#92


aiTranslateToEnglishPrompt

aiTranslateToEnglishPrompt: string

Prompt for translating text to English

Defined in

src/plugins/ai-assistant/config.ts#95


aiTranslateToChinesePrompt

aiTranslateToChinesePrompt: string

Prompt for translating text to Chinese

Defined in

src/plugins/ai-assistant/config.ts#98


aiTranslateToJapanesePrompt

aiTranslateToJapanesePrompt: string

Prompt for translating text to Japanese

Defined in

src/plugins/ai-assistant/config.ts#101


aiTranslateToKoreanPrompt

aiTranslateToKoreanPrompt: string

Prompt for translating text to Korean

Defined in

src/plugins/ai-assistant/config.ts#104


aiTranslateToRussianPrompt

aiTranslateToRussianPrompt: string

Prompt for translating text to Russian

Defined in

src/plugins/ai-assistant/config.ts#107


aiTranslateToArabicPrompt

aiTranslateToArabicPrompt: string

Prompt for translating text to Arabic

Defined in

jodit/src/plugins/ai-assistant/config.ts:110