mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-10 05:19:44 +00:00
ci(SDK): Add 0.7.0 workflow (#2493)
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
def hello() -> str:
|
||||
return "Hello from dbgpt-integration!"
|
||||
from ._version import version as __version__ # noqa: F401
|
||||
|
||||
__ALL__ = ["__version__"]
|
||||
|
1
packages/dbgpt-ext/src/dbgpt_ext/_version.py
Normal file
1
packages/dbgpt-ext/src/dbgpt_ext/_version.py
Normal file
@@ -0,0 +1 @@
|
||||
version = "0.7.0"
|
@@ -82,12 +82,10 @@ def _import_openspg() -> Tuple[Type, Type]:
|
||||
|
||||
|
||||
def _import_full_text() -> Tuple[Type, Type]:
|
||||
from dbgpt_ext.storage.full_text.elasticsearch import (
|
||||
ElasticDocumentConfig,
|
||||
ElasticDocumentStore,
|
||||
)
|
||||
from dbgpt_ext.storage.full_text.elasticsearch import ElasticDocumentStore
|
||||
from dbgpt_ext.storage.vector_store.elastic_store import ElasticsearchStoreConfig
|
||||
|
||||
return ElasticDocumentStore, ElasticDocumentConfig
|
||||
return ElasticDocumentStore, ElasticsearchStoreConfig
|
||||
|
||||
|
||||
def _select_rag_storage(name: str) -> Tuple[Type, Type]:
|
||||
|
Reference in New Issue
Block a user