Озвучивание ответов (Google Chirp 3 HD): режим и голос на чат, миграция 007, загрузка аудио в Slack; docs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -37,6 +37,15 @@ export const driveSchema = z.object({
|
||||
inboxScanSeconds: z.number().default(10),
|
||||
});
|
||||
|
||||
export const ttsSchema = z.object({
|
||||
/** Ключ API Google Cloud Text-to-Speech (Chirp 3 HD). Без ключа аудиоответы отключены (всегда только текст). */
|
||||
apiKey: z.string().min(1),
|
||||
languageCode: z.string().default("en-US"),
|
||||
/** Голос по умолчанию, если у чата не задан свой (короткое имя Chirp 3 HD). */
|
||||
defaultVoice: z.string().default("Aoede"),
|
||||
speakingRate: z.number().min(0.25).max(2).optional(),
|
||||
});
|
||||
|
||||
export const assistantPrepSchema = z.object({
|
||||
http: z.object({ host: z.string().default("127.0.0.1"), port: z.number(), token: z.string().min(1) }),
|
||||
lookaheadWorkDays: z.number().default(10),
|
||||
@@ -46,5 +55,6 @@ export const assistantPrepSchema = z.object({
|
||||
agent: agentSchema.default({}),
|
||||
slack: slackSchema.optional(),
|
||||
drive: driveSchema.optional(),
|
||||
tts: ttsSchema.optional(),
|
||||
});
|
||||
export type AssistantPrepSettings = z.infer<typeof assistantPrepSchema>;
|
||||
|
||||
Reference in New Issue
Block a user