chatluna-plugin-livingmemory 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AACrC,OAAO,MAAM,MAAM,aAAa,CAAA;AAQhC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAA;AAElE,eAAO,MAAM,IAAI,iBAAiB,CAAA;AAElC;;;;GAIG;AACH,eAAO,MAAM,MAAM,YACf,UAAU,EACV,SAAS,EACT,SAAS,EACT,UAAU,EACV,OAAO,EACP,IAAI,EACJ,OAAO,EACP,SAAS,EACT,eAAe,EACf,QAAQ,EACR,MAAM,EACN,eAAe,CACT,CAAA;AAEV,MAAM,MAAM,MAAM,GAAG,kBAAkB,CAAA;AAKvC;;;GAGG;AACH,eAAO,MAAM,MAAM,EAAE,MAAM,CAAC,MAAM,CAuGhC,CAAA;AAEF,wBAAsB,KAAK,CAAC,GAAG,EAAE,OAAO,EAAE,MAAM,GAAE,MAAuB,iBAKxE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AAErC,OAAO,MAAM,MAAM,aAAa,CAAA;AAQhC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAA;AAElE,eAAO,MAAM,IAAI,iBAAiB,CAAA;AAElC;;;;GAIG;AACH,eAAO,MAAM,MAAM,YACf,UAAU,EACV,SAAS,EACT,SAAS,EACT,UAAU,EACV,OAAO,EACP,IAAI,EACJ,OAAO,EACP,SAAS,EACT,eAAe,EACf,QAAQ,EACR,MAAM,EACN,eAAe,CACT,CAAA;AAEV,MAAM,MAAM,MAAM,GAAG,kBAAkB,CAAA;AAKvC;;;GAGG;AACH,eAAO,MAAM,MAAM,EAAE,MAAM,CAAC,MAAM,CAuGhC,CAAA;AAEF,wBAAsB,KAAK,CAAC,GAAG,EAAE,OAAO,EAAE,MAAM,GAAE,MAAuB,iBAKxE"}
package/lib/index.js CHANGED
@@ -8622,8 +8622,8 @@ const Config = Schema.intersect([
8622
8622
  Schema.object({
8623
8623
  mainModel: modelField("主 LLM 模型,用于提取记忆、Dream 与用户画像。", "chat").label("主模型"),
8624
8624
  subModel: modelField("子 LLM 模型,用于召回记忆。", "chat").label("召回模型"),
8625
- embeddingModel: modelField("将记忆和查询文本转换为向量,供检索和 Dream 比较语义相似度。", "embeddings").label("嵌入模型"),
8626
- rerankModel: modelField("可选。按候选记忆与查询的相关性重新排列检索结果。", "reranker").label("重排序模型")
8625
+ embeddingModel: modelField("将记忆和查询文本转换为向量,供检索和 Dream 比较语义相似度。", "embed").label("嵌入模型"),
8626
+ rerankModel: modelField("可选。按候选记忆与查询的相关性重新排列检索结果。", "rerank").label("重排序模型")
8627
8627
  }).description("模型配置"),
8628
8628
  Schema.object({
8629
8629
  memorySearchToolMaxResults: Schema.number().label("单次检索条数上限").min(1).max(60).step(1).description("每次记忆检索最多返回的记忆条数,召回与 living_memory_search 共用。").default(DEFAULT_CONFIG.memorySearchToolMaxResults),