mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-14 12:07:12 +00:00
Enhancement (beta): add direct LLM language setting (#12906)
This commit is contained in:
1 parent
47a6fcfc39
commit
1663ed170c
10 files changed
+100
-4
No files matched your search
@@ -352,6 +352,14 @@ export const PaperlessConfigOptions: ConfigOption[] = [
|
||||
config_key: 'PAPERLESS_AI_LLM_ENDPOINT',
|
||||
category: ConfigCategory.AI,
|
||||
},
|
||||
{
|
||||
key: 'llm_output_language',
|
||||
title: $localize`LLM Output Language`,
|
||||
type: ConfigOptionType.String,
|
||||
config_key: 'PAPERLESS_AI_LLM_OUTPUT_LANGUAGE',
|
||||
category: ConfigCategory.AI,
|
||||
note: $localize`Language to use for generated AI suggestions. When unset, AI suggestions use the user's display language if explicitly set.`,
|
||||
},
|
||||
]
|
||||
|
||||
export interface PaperlessConfig extends ObjectWithId {
|
||||
@@ -392,4 +400,5 @@ export interface PaperlessConfig extends ObjectWithId {
|
||||
llm_model: string
|
||||
llm_api_key: string
|
||||
llm_endpoint: string
|
||||
llm_output_language: string
|
||||
}
|
||||
Reference in new issue
Block a user