mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-23 00:41:40 +00:00
Update litellm/llms/dashscope/embed/transformation.py
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
parent
2a0563ab7a
commit
aa5969c95a
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ class DashScopeEmbeddingConfig(BaseEmbeddingConfig):
|
|||
# DashScope's compatible-mode embeddings API accepts the same params as OpenAI.
|
||||
# `dimensions` / `encoding_format` are only honored by text-embedding-v3 / v4;
|
||||
# earlier versions silently ignore them server-side.
|
||||
return ["dimensions", "encoding_format"]
|
||||
return ["dimensions", "encoding_format", "user"]
|
||||
|
||||
def map_openai_params(
|
||||
self,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue