调用dify联调客户画像

This commit is contained in:
spllzh
2025-09-20 09:45:18 +08:00
parent d321af7e7c
commit e83d803e70
42 changed files with 1029 additions and 549 deletions

View File

@@ -51,7 +51,7 @@ public class EnbedingModelConfig {
// @Primary
public EmbeddingStore embeddingStoreInMemory() {
//1 , 加载知识库文档进 内存
List<Document> documents = ClassPathDocumentLoader.loadDocuments("knowledge");
List<Document> documents =ClassPathDocumentLoader.loadDocuments("knowledge"); //暂时去掉 2025-09-20
//2 构建向量数据库操作对象
InMemoryEmbeddingStore<TextSegment> embeddingStore = new InMemoryEmbeddingStore<>();
//3 构建EmbeddingStoreIngestor 完成文本数据的切割, 向量化, 存储