Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: correct the parent class of CacheEmbedding (#2578)
Bowen Liang29ab244de601
diff --git a/api/core/embedding/cached_embedding.py b/api/core/embedding/cached_embedding.pyindex a86afd817aa..7498a075594 100644--- a/api/core/embedding/cached_embedding.py+++ b/api/core/embedding/cached_embedding.py@@ -3,12 +3,12 @@ import loggingfrom typing import Optional, castimport numpy as np-from langchain.embeddings.base import Embeddingsfrom sqlalchemy.exc import IntegrityErrorfrom core.model_manager import ModelInstancefrom core.model_runtime.entities.model_entities import ModelPropertyKeyfrom core.model_runtime.model_providers.__base.text_embedding_model import TextEmbeddingModel+from core.rag.datasource.entity.embedding import Embeddingsfrom extensions.ext_database import dbfrom extensions.ext_redis import redis_clientfrom libs import helper