feat(i18n): add optional embedding model descriptions for multiple locales
Enhance the internationalization support by adding optional descriptions for the embedding model in English, Korean, Russian, and Chinese. Update the UI to reflect these changes, ensuring users are informed about the optional nature of the embedding model when configuring knowledge base settings.
This commit is contained in:
@@ -132,7 +132,10 @@ func (s *wikiIngestService) selectRelevantFolders(
|
||||
}
|
||||
}
|
||||
|
||||
if !kb.NeedsEmbeddingModel() || strings.TrimSpace(kb.EmbeddingModelID) == "" || len(deeper) == 0 {
|
||||
// Gate purely on whether an embedding model is configured — NOT on
|
||||
// NeedsEmbeddingModel(), which is false for wiki-only KBs that may still
|
||||
// opt into an embedding model purely for directory/taxonomy similarity.
|
||||
if strings.TrimSpace(kb.EmbeddingModelID) == "" || len(deeper) == 0 {
|
||||
return capFolders(pool, wikiTaxonomyPromptMaxPaths)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user