增加代理设置选项; 优化新版本google-generativeai 不支持 Client 类问题; 优化批量生成章节界面,使用customtkinter统一设计风格;
72 lines
2.0 KiB
JSON
72 lines
2.0 KiB
JSON
{
|
|
"last_interface_format": "OpenAI",
|
|
"last_embedding_interface_format": "OpenAI",
|
|
"llm_configs": {
|
|
"DeepSeek V3": {
|
|
"api_key": "",
|
|
"base_url": "https://api.deepseek.com/v1",
|
|
"model_name": "deepseek-chat",
|
|
"temperature": 0.7,
|
|
"max_tokens": 8192,
|
|
"timeout": 600,
|
|
"interface_format": "OpenAI"
|
|
},
|
|
"GPT 5": {
|
|
"api_key": "",
|
|
"base_url": "https://api.openai.com/v1",
|
|
"model_name": "gpt-5",
|
|
"temperature": 0.7,
|
|
"max_tokens": 32768,
|
|
"timeout": 600,
|
|
"interface_format": "OpenAI"
|
|
},
|
|
"Gemini 2.5 Pro": {
|
|
"api_key": "",
|
|
"base_url": "https://generativelanguage.googleapis.com/v1beta/openai",
|
|
"model_name": "gemini-2.5-pro",
|
|
"temperature": 0.7,
|
|
"max_tokens": 32768,
|
|
"timeout": 600,
|
|
"interface_format": "OpenAI"
|
|
}
|
|
},
|
|
"embedding_configs": {
|
|
"OpenAI": {
|
|
"api_key": "",
|
|
"base_url": "https://api.openai.com/v1",
|
|
"model_name": "text-embedding-ada-002",
|
|
"retrieval_k": 4,
|
|
"interface_format": "OpenAI"
|
|
}
|
|
},
|
|
"other_params": {
|
|
"topic": "",
|
|
"genre": "",
|
|
"num_chapters": 0,
|
|
"word_number": 0,
|
|
"filepath": "",
|
|
"chapter_num": "120",
|
|
"user_guidance": "",
|
|
"characters_involved": "",
|
|
"key_items": "",
|
|
"scene_location": "",
|
|
"time_constraint": ""
|
|
},
|
|
"choose_configs": {
|
|
"prompt_draft_llm": "DeepSeek V3",
|
|
"chapter_outline_llm": "DeepSeek V3",
|
|
"architecture_llm": "Gemini 2.5 Pro",
|
|
"final_chapter_llm": "GPT 5",
|
|
"consistency_review_llm": "DeepSeek V3"
|
|
},
|
|
"proxy_setting": {
|
|
"proxy_url": "127.0.0.1",
|
|
"proxy_port": "",
|
|
"enabled": false
|
|
},
|
|
"webdav_config": {
|
|
"webdav_url": "",
|
|
"webdav_username": "",
|
|
"webdav_password": ""
|
|
}
|
|
} |