mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-06-25 17:12:16 +00:00
FEATURE: New setting to control model for translations (#1333)
This commit is contained in:
parent
1573e6a694
commit
67587367ab
@ -391,3 +391,13 @@ discourse_ai:
|
|||||||
default: true
|
default: true
|
||||||
client: true
|
client: true
|
||||||
|
|
||||||
|
ai_translation_enabled:
|
||||||
|
default: false
|
||||||
|
client: true
|
||||||
|
validator: "DiscourseAi::Configuration::LlmDependencyValidator"
|
||||||
|
ai_translation_model:
|
||||||
|
default: ""
|
||||||
|
type: enum
|
||||||
|
allow_any: false
|
||||||
|
enum: "DiscourseAi::Configuration::LlmEnumerator"
|
||||||
|
validator: "DiscourseAi::Configuration::LlmValidator"
|
||||||
|
@ -71,6 +71,7 @@ module DiscourseAi
|
|||||||
ai_embeddings_semantic_search_enabled: :ai_embeddings_semantic_search_hyde_model,
|
ai_embeddings_semantic_search_enabled: :ai_embeddings_semantic_search_hyde_model,
|
||||||
ai_helper_enabled: :ai_helper_model,
|
ai_helper_enabled: :ai_helper_model,
|
||||||
ai_summarization_enabled: :ai_summarization_model,
|
ai_summarization_enabled: :ai_summarization_model,
|
||||||
|
ai_translation_enabled: :ai_translation_model,
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user