调用dify联调客户画像
This commit is contained in:
@@ -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 , 完成文本数据的切割, 向量化, 存储
|
||||
|
||||
Reference in New Issue
Block a user