33 lines
944 B
TypeScript
33 lines
944 B
TypeScript
|
|
import { VisionProviderConfig, TTSProviderConfig } from '../interfaces';
|
||
|
|
export interface Config {
|
||
|
|
captureIntervalSeconds: number;
|
||
|
|
contextWindowSize: number;
|
||
|
|
defaultPrompt: string;
|
||
|
|
changePrompt: string;
|
||
|
|
batchPrompt: string;
|
||
|
|
visionProvider: string;
|
||
|
|
visionModel: string;
|
||
|
|
visionProviders: {
|
||
|
|
[key: string]: VisionProviderConfig;
|
||
|
|
};
|
||
|
|
ttsProvider: string;
|
||
|
|
ttsVoice: string;
|
||
|
|
ttsSpeedFactor: number;
|
||
|
|
ttsInstructions?: string;
|
||
|
|
ttsProviders: {
|
||
|
|
[key: string]: TTSProviderConfig;
|
||
|
|
};
|
||
|
|
outputDir: string;
|
||
|
|
tempDir: string;
|
||
|
|
batchTimeMode: boolean;
|
||
|
|
batchWindowDuration: number;
|
||
|
|
framesInBatch: number;
|
||
|
|
}
|
||
|
|
/**
|
||
|
|
* Get default configuration options.
|
||
|
|
* Uses a function so that process.env is read at call time
|
||
|
|
* (after dotenv has been loaded), not at module import time.
|
||
|
|
*/
|
||
|
|
export declare function getDefaultConfig(): Config;
|
||
|
|
export declare const defaultConfig: Config;
|