mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-10-07 03:00:27 +00:00
fix(embedding): disable dimensions parameter by default
This commit is contained in:
parent
652ae29464
commit
ab4dbd6220
2 changed files with 2 additions and 1 deletions
|
|
@ -21,6 +21,7 @@ embedding_models:
|
|||
model_name: text-embedding-v4
|
||||
dimensions: 1024
|
||||
enable_cache: true
|
||||
use_dimensions: false
|
||||
|
||||
file_stores:
|
||||
default:
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ class BaseEmbeddingModel(ABC):
|
|||
base_url: str | None = None,
|
||||
model_name: str = "",
|
||||
dimensions: int | None = 1024,
|
||||
use_dimensions: bool = True,
|
||||
use_dimensions: bool = False,
|
||||
max_batch_size: int = 10,
|
||||
max_retries: int = 3,
|
||||
raise_exception: bool = True,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue