62 lines
1.4 KiB
TypeScript
62 lines
1.4 KiB
TypeScript
export interface AIConfig {
|
|
baseUrl: string;
|
|
apiKey: string;
|
|
defaultModel: string;
|
|
defaultTTSModel: string;
|
|
temperature: number;
|
|
maxTokens: number;
|
|
timeout: number;
|
|
farsiPrompts: FarsiPrompts;
|
|
}
|
|
|
|
export interface FarsiPrompts {
|
|
summarization: {
|
|
systemPrompt: string;
|
|
promptTemplate: {
|
|
intro: string;
|
|
subjectLabel: string;
|
|
fromLabel: string;
|
|
toLabel: string;
|
|
dateLabel: string;
|
|
contentLabel: string;
|
|
attachmentsLabel: string;
|
|
analysisRequirements: string;
|
|
summaryLengthLabel: string;
|
|
toneLabel: string;
|
|
};
|
|
};
|
|
writingAssistance: {
|
|
systemPrompt: string;
|
|
promptTemplate: {
|
|
intro: string;
|
|
mainMessageLabel: string;
|
|
emailDetailsLabel: string;
|
|
purposeLabel: string;
|
|
toneLabel: string;
|
|
lengthLabel: string;
|
|
keyPointsLabel: string;
|
|
contextLabel: string;
|
|
originalSubjectLabel: string;
|
|
originalSenderLabel: string;
|
|
originalContentLabel: string;
|
|
additionalInstructionsLabel: string;
|
|
};
|
|
};
|
|
templateGeneration: {
|
|
systemPrompt: string;
|
|
promptTemplate: {
|
|
intro: string;
|
|
descriptionLabel: string;
|
|
themeLabel: string;
|
|
styleLabel: string;
|
|
purposeLabel: string;
|
|
colorsLabel: string;
|
|
templateNameLabel: string;
|
|
requirementsLabel: string;
|
|
structureRequirements: string;
|
|
htmlRequirements: string;
|
|
designRequirements: string;
|
|
};
|
|
};
|
|
}
|