mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 18:24:20 +00:00
Update embed/transformation.py
This commit is contained in:
parent
586e2d992b
commit
aebfce3eb3
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
"""
|
||||
Translates from OpenAI's `/v1/embeddings` to BitdeerAI's `/v1/embeddings`
|
||||
"""
|
||||
|
||||
from typing import Optional
|
||||
|
||||
class BitdeerAIEmbeddingConfig:
|
||||
@classmethod
|
||||
|
@ -14,6 +14,6 @@ class BitdeerAIEmbeddingConfig:
|
|||
non_default_params: dict,
|
||||
optional_params: dict,
|
||||
model: str,
|
||||
drop_params: dict = None,
|
||||
drop_params: Optional[dict] = None,
|
||||
) -> dict:
|
||||
return optional_params
|
||||
return optional_params
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue