diff --git a/dbgpt/app/knowledge/service.py b/dbgpt/app/knowledge/service.py index 7fd1c0378..ca348e07c 100644 --- a/dbgpt/app/knowledge/service.py +++ b/dbgpt/app/knowledge/service.py @@ -7,7 +7,7 @@ from dbgpt.rag.chunk import Chunk from dbgpt.rag.chunk_manager import ChunkParameters from dbgpt.rag.embedding.embedding_factory import EmbeddingFactory -from dbgpt.rag.knowledge.base import KnowledgeType +from dbgpt.rag.knowledge.base import KnowledgeType, ChunkStrategy from dbgpt.rag.knowledge.factory import KnowledgeFactory from dbgpt.rag.text_splitter.text_splitter import ( RecursiveCharacterTextSplitter, @@ -234,7 +234,7 @@ def batch_document_sync( f" doc:{doc.doc_name} status is {doc.status}, can not sync" ) chunk_parameters = sync_request.chunk_parameters - if "Automatic" == chunk_parameters.chunk_strategy: + if chunk_parameters.chunk_strategy != ChunkStrategy.CHUNK_BY_SIZE.name: space_context = self.get_space_context(space_name) chunk_parameters.chunk_size = ( CFG.KNOWLEDGE_CHUNK_SIZE diff --git a/dbgpt/app/static/404.html b/dbgpt/app/static/404.html index 50ddbdb05..d15edd35a 100644 --- a/dbgpt/app/static/404.html +++ b/dbgpt/app/static/404.html @@ -1 +1 @@ -
Fast, reliable, scalable open-source relational database management system.
Powerful, scalable, secure relational database system by Microsoft.
In-memory analytical database with efficient query processing.
Lightweight embedded relational database with simplicity and portability.
Columnar database for high-performance analytics and real-time queries.
Robust, scalable, secure relational database widely used in enterprises.
Easy-to-use relational database for small-scale applications by Microsoft.
Flexible, scalable NoSQL document database for web and mobile apps.
A new-generation open-source real-time data warehouse.
An Open-Source, High-Performance Analytical Database.
Scalable, secure relational database system developed by IBM.
Distributed, scalable NoSQL database for large structured/semi-structured data.
Fast, versatile in-memory data structure store as cache, DB, or broker.
Scalable, fault-tolerant distributed NoSQL database for large data.
High-performance NoSQL document database with distributed architecture.
Powerful open-source relational database with extensibility and SQL standards.
Unified engine for large-scale data analytics.
knowledge analytics.
Fast, reliable, scalable open-source relational database management system.
Powerful, scalable, secure relational database system by Microsoft.
In-memory analytical database with efficient query processing.
Lightweight embedded relational database with simplicity and portability.
Columnar database for high-performance analytics and real-time queries.
Robust, scalable, secure relational database widely used in enterprises.
Easy-to-use relational database for small-scale applications by Microsoft.
Flexible, scalable NoSQL document database for web and mobile apps.
A new-generation open-source real-time data warehouse.
An Open-Source, High-Performance Analytical Database.
Scalable, secure relational database system developed by IBM.
Distributed, scalable NoSQL database for large structured/semi-structured data.
Fast, versatile in-memory data structure store as cache, DB, or broker.
Scalable, fault-tolerant distributed NoSQL database for large data.
High-performance NoSQL document database with distributed architecture.
Powerful open-source relational database with extensibility and SQL standards.
Unified engine for large-scale data analytics.
knowledge analytics.
No data |
No data |