111 lines
3.7 KiB
JSON
111 lines
3.7 KiB
JSON
{
|
|
"version": "0.7.52",
|
|
"endpoint": "https://api.openai.com/v1",
|
|
"models": [],
|
|
"api_key": "",
|
|
"encrypt_keys": false,
|
|
"selectedProvider": "OpenAI Chat (Langchain)",
|
|
"max_tokens": 5000,
|
|
"temperature": 0.7,
|
|
"frequency_penalty": 0.5,
|
|
"showStatusBar": true,
|
|
"outputToBlockQuote": false,
|
|
"freeCursorOnStreaming": false,
|
|
"allowJavascriptRun": false,
|
|
"experiment": false,
|
|
"promptsPath": "textgenerator/templates",
|
|
"textGenPath": "textgenerator/",
|
|
"prefix": "\n\n",
|
|
"tgSelectionLimiter": "^\\*\\*\\*",
|
|
"stream": true,
|
|
"context": {
|
|
"customInstructEnabled": true,
|
|
"includeClipboard": true,
|
|
"customInstruct": "Title: {{title}}\n \nStarred Blocks: {{starredBlocks}}\n\t \n{{tg_selection}}",
|
|
"contextTemplate": "Title: {{title}}\n\t\nStarred Blocks: {{starredBlocks}}\n\t \n{{tg_selection}}"
|
|
},
|
|
"requestTimeout": 300000,
|
|
"options": {
|
|
"generate-text": true,
|
|
"generate-text-with-metadata": true,
|
|
"insert-generated-text-From-template": true,
|
|
"create-generated-text-From-template": false,
|
|
"search-results-batch-generate-from-template": true,
|
|
"insert-text-From-template": false,
|
|
"create-text-From-template": false,
|
|
"show-modal-From-template": true,
|
|
"open-template-as-tool": true,
|
|
"open-playground": true,
|
|
"set_max_tokens": true,
|
|
"set-llm": true,
|
|
"set-model": true,
|
|
"packageManager": true,
|
|
"create-template": false,
|
|
"get-title": true,
|
|
"generated-text-to-clipboard-From-template": false,
|
|
"calculate-tokens": true,
|
|
"calculate-tokens-for-template": true,
|
|
"text-extractor-tool": true,
|
|
"stop-stream": true,
|
|
"custom-instruct": true,
|
|
"generate-in-right-click-menu": false,
|
|
"batch-generate-in-right-click-files-menu": true,
|
|
"tg-block-processor": true,
|
|
"reload": true,
|
|
"disable-ribbon-icons": false,
|
|
"overlay-toolbar": false,
|
|
"log-slowest-operations": false
|
|
},
|
|
"advancedOptions": {
|
|
"generateTitleInstructEnabled": false,
|
|
"generateTitleInstruct": "Generate a title for the current document (do not use * \" \\ / < > : | ? .):\n{{substring content 0 255}}",
|
|
"includeAttachmentsInRequest": false
|
|
},
|
|
"autoSuggestOptions": {
|
|
"customInstructEnabled": true,
|
|
"customInstruct": "Continue the follwing text:\nTitle: {{title}}\n{{query}}",
|
|
"systemPrompt": "",
|
|
"isEnabled": false,
|
|
"allowInNewLine": false,
|
|
"delay": 300,
|
|
"numberOfSuggestions": 5,
|
|
"triggerPhrase": " ",
|
|
"stop": ".",
|
|
"showStatus": true,
|
|
"customProvider": false,
|
|
"inlineSuggestions": false,
|
|
"overrideTrigger": " "
|
|
},
|
|
"slashSuggestOptions": {
|
|
"isEnabled": false,
|
|
"triggerPhrase": "/"
|
|
},
|
|
"extractorsOptions": {
|
|
"PDFExtractor": true,
|
|
"WebPageExtractor": true,
|
|
"YoutubeExtractor": true,
|
|
"AudioExtractor": false,
|
|
"ImageExtractorEmbded": true,
|
|
"ImageExtractor": true
|
|
},
|
|
"displayErrorInEditor": false,
|
|
"LLMProviderProfiles": {},
|
|
"LLMProviderOptions": {
|
|
"whisper": {
|
|
"base_path": "https://api.openai.com/v1",
|
|
"model": "whisper-1",
|
|
"api_key": "",
|
|
"api_version": ""
|
|
},
|
|
"OpenAI Chat (Langchain)": {
|
|
"basePath": "https://api.openai.com/v1",
|
|
"api_key": "",
|
|
"model": "gpt-4.1-2025-04-14"
|
|
}
|
|
},
|
|
"LLMProviderOptionsKeysHashed": {
|
|
"whisper.api_key": "__@#key_prefix#@__",
|
|
"OpenAI Chat (Langchain).api_key": "__@#key_prefix#@__sk-proj-oWU0tlGiv5ukuqLfedNl7PPMotGeEKY7J0KBZCvPj83AUlIzS8Iy5vO0l1I4EsYeRy8p6QS__dT3BlbkFJ05HU-1BGDxeC34A5ELUWDdlpx8YyONSQ51jdBs5F3FdLMORwGls1FNGcRq6-eL98Xh9-qXzHkA"
|
|
},
|
|
"api_key_encrypted": "__@#key_prefix#@__sk-proj-oWU0tlGiv5ukuqLfedNl7PPMotGeEKY7J0KBZCvPj83AUlIzS8Iy5vO0l1I4EsYeRy8p6QS__dT3BlbkFJ05HU-1BGDxeC34A5ELUWDdlpx8YyONSQ51jdBs5F3FdLMORwGls1FNGcRq6-eL98Xh9-qXzHkA"
|
|
} |