From 8533b3d3909c583b2f9565e868cc92878c863ca8 Mon Sep 17 00:00:00 2001 From: Aries-ckt <916701291@qq.com> Date: Thu, 30 May 2024 09:51:15 +0800 Subject: [PATCH] fix:cannot connect other vector store (#1579) --- dbgpt/app/knowledge/service.py | 2 ++ dbgpt/app/static/404.html | 2 +- dbgpt/app/static/404/index.html | 2 +- .../_buildManifest.js | 2 +- .../_ssgManifest.js | 0 .../{_app-9004512aa620d772.js => _app-7876cf4a861cac03.js} | 6 +++--- .../_next/static/chunks/pages/knowledge-244aee7ebbad3668.js | 1 + .../_next/static/chunks/pages/knowledge-8c97044c36508d2d.js | 1 - dbgpt/app/static/agent/index.html | 2 +- dbgpt/app/static/app/index.html | 2 +- dbgpt/app/static/chat/index.html | 2 +- dbgpt/app/static/database/index.html | 2 +- dbgpt/app/static/flow/canvas/index.html | 2 +- dbgpt/app/static/flow/index.html | 2 +- dbgpt/app/static/index.html | 2 +- dbgpt/app/static/knowledge/chunk/index.html | 2 +- dbgpt/app/static/knowledge/graph/index.html | 2 +- dbgpt/app/static/knowledge/index.html | 2 +- dbgpt/app/static/models/index.html | 2 +- dbgpt/app/static/prompt/index.html | 2 +- web/components/knowledge/space-form.tsx | 2 +- 21 files changed, 22 insertions(+), 20 deletions(-) rename dbgpt/app/static/_next/static/{5f10l8SOlP5m7nvq3pY8z => 8e7nQm3nKO3WF7o-A_evd}/_buildManifest.js (72%) rename dbgpt/app/static/_next/static/{5f10l8SOlP5m7nvq3pY8z => 8e7nQm3nKO3WF7o-A_evd}/_ssgManifest.js (100%) rename dbgpt/app/static/_next/static/chunks/pages/{_app-9004512aa620d772.js => _app-7876cf4a861cac03.js} (80%) create mode 100644 dbgpt/app/static/_next/static/chunks/pages/knowledge-244aee7ebbad3668.js delete mode 100644 dbgpt/app/static/_next/static/chunks/pages/knowledge-8c97044c36508d2d.js diff --git a/dbgpt/app/knowledge/service.py b/dbgpt/app/knowledge/service.py index 91b4eb7a7..266e8405d 100644 --- a/dbgpt/app/knowledge/service.py +++ b/dbgpt/app/knowledge/service.py @@ -79,6 +79,8 @@ class KnowledgeService: query = KnowledgeSpaceEntity( name=request.name, ) + if request.vector_type == "VectorStore": + request.vector_type = CFG.VECTOR_STORE_TYPE spaces = knowledge_space_dao.get_knowledge_space(query) if len(spaces) > 0: raise Exception(f"space name:{request.name} have already named") diff --git a/dbgpt/app/static/404.html b/dbgpt/app/static/404.html index ed105a928..5758947d7 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.
A strongly consistent, ACID-compliant, SQL data warehouse, built for the scale and complexity of today’s data-driven world.
Unified engine for large-scale data analytics.
A distributed fault-tolerant data warehouse system.
knowledge analytics.
TuGraph is a high-performance graph database jointly developed by Ant Group and Tsinghua University.
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.
Vertica is a strongly consistent, ACID-compliant, SQL data warehouse, built for the scale and complexity of today’s data-driven world.
Unified engine for large-scale data analytics.
A distributed fault-tolerant data warehouse system.
knowledge analytics.
TuGraph is a high-performance graph database jointly developed by Ant Group and Tsinghua University.
No data |
No data |