Add litellm proxy embeddings (#2291)

* add litellm proxy

* formatting

* move `api_url` to cloud provider + nits

* remove log

* typing

* quick tuyping fix

* update LiteLLM selection logic

* remove logs + validate functionality

* rename proxy var

* update path casing

* remove pricing for custom models

* functional values
This commit is contained in:
pablodanswer
2024-09-02 09:08:35 -07:00
committed by GitHub
parent 910821c723
commit 299cb5035c
28 changed files with 524 additions and 50 deletions

View File

@ -6,6 +6,7 @@ class EmbeddingProvider(str, Enum):
COHERE = "cohere"
VOYAGE = "voyage"
GOOGLE = "google"
LITELLM = "litellm"
class RerankerProvider(str, Enum):