Skip to content

Commit

Permalink
chore:v0.5.8 tag (#1632)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aries-ckt authored Jun 13, 2024
1 parent 0541d14 commit 57f7b6d
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
Binary file modified assets/wechat.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dbgpt/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = "0.5.7"
version = "0.5.8"
2 changes: 1 addition & 1 deletion dbgpt/rag/embedding/embeddings.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def __init__(self, **kwargs: Any):
kwargs["client"] = sentence_transformers.SentenceTransformer(
kwargs.get("model_name"),
cache_folder=kwargs.get("cache_folder"),
**kwargs.get("model_kwargs"),
**(kwargs.get("model_kwargs") or {}),
)

super().__init__(**kwargs)
Expand Down
2 changes: 1 addition & 1 deletion dbgpt/rag/embedding/rerank.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class CrossEncoderRerankEmbeddings(BaseModel, RerankEmbeddings):

client: Any #: :meta private:
model_name: str = "BAAI/bge-reranker-base"
max_length: int
max_length: int = None # type: ignore
"""Max length for input sequences. Longer sequences will be truncated. If None, max
length of the model will be used"""
"""Model name to use."""
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
IS_DEV_MODE = os.getenv("IS_DEV_MODE", "true").lower() == "true"
# If you modify the version, please modify the version in the following files:
# dbgpt/_version.py
DB_GPT_VERSION = os.getenv("DB_GPT_VERSION", "0.5.7")
DB_GPT_VERSION = os.getenv("DB_GPT_VERSION", "0.5.8")

BUILD_NO_CACHE = os.getenv("BUILD_NO_CACHE", "true").lower() == "true"
LLAMA_CPP_GPU_ACCELERATION = (
Expand Down

0 comments on commit 57f7b6d

Please sign in to comment.