mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +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`
|
Translates from OpenAI's `/v1/embeddings` to BitdeerAI's `/v1/embeddings`
|
||||||
"""
|
"""
|
||||||
|
from typing import Optional
|
||||||
|
|
||||||
class BitdeerAIEmbeddingConfig:
|
class BitdeerAIEmbeddingConfig:
|
||||||
@classmethod
|
@classmethod
|
||||||
|
@ -14,6 +14,6 @@ class BitdeerAIEmbeddingConfig:
|
||||||
non_default_params: dict,
|
non_default_params: dict,
|
||||||
optional_params: dict,
|
optional_params: dict,
|
||||||
model: str,
|
model: str,
|
||||||
drop_params: dict = None,
|
drop_params: Optional[dict] = None,
|
||||||
) -> dict:
|
) -> dict:
|
||||||
return optional_params
|
return optional_params
|
Loading…
Add table
Add a link
Reference in a new issue