Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.
Go agentagenticaichatbotdsh-pluginembeddingsevaluationgenerative-aigolangknowledge-basellmmulti-tenantollamaopenaiquestion-answeringragrerankingsemantic-searchvector-searchwiki
fix(knowledge): wrap locale code with LanguageLocaleName in wiki ingest prompts
jackson.jiac8645843c37d
diff --git a/internal/application/service/wiki_ingest_batch.go b/internal/application/service/wiki_ingest_batch.goindex a12723e1c..4f1530f86 100644--- a/internal/application/service/wiki_ingest_batch.go+++ b/internal/application/service/wiki_ingest_batch.go@@ -425,7 +425,7 @@ func (s *wikiIngestService) ProcessWikiIngest(ctx context.Context, t *asynq.TaskRetractDocContent: op.DocSummary,DocTitle: op.DocTitle,KnowledgeID: op.KnowledgeID,- Language: op.Language,+ Language: types.LanguageLocaleName(op.Language),})}mapMu.Unlock()@@ -770,7 +770,7 @@ func (s *wikiIngestService) mapOneDocument() (*docIngestResult, []SlugUpdate, error) {docStartedAt := time.Now()knowledgeID := op.KnowledgeID- lang := op.Language+ lang := types.LanguageLocaleName(op.Language)// Open a postprocess.wiki subspan under the parent attempt's// postprocess stage so the actual per-doc work (LLM extraction +