1use serde::Deserialize;
2use std::path::PathBuf;
3
4#[derive(Clone, Debug, Deserialize)]
5pub struct JSONConfig {
6 pub api_key_cohere: Option<String>,
7 pub api_key_openai: Option<String>,
8 pub api_key_eleven_labs: Option<String>
9}
10
11#[derive(Clone, Debug, Default)]
12pub struct Config {
13 pub api_key_cohere: Option<String>,
14 pub api_key_openai: Option<String>,
15 pub api_key_eleven_labs: Option<String>,
16 pub dir: PathBuf
17}
18
19pub const DEFAULT_CONFIG_FILE: &str = r#"{
20 "api_key": "",
21 "api_key_cohere": "",
22 "api_key_openai": ""
23}"#;