Kevin Hu
commited on
Commit
·
0bb19dd
1
Parent(s):
ad4b91a
Fix TogetherAIEmbed. (#4623)
Browse files### What problem does this PR solve?
#4567
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
rag/llm/embedding_model.py
CHANGED
@@ -627,7 +627,7 @@ class CoHereEmbed(Base):
|
|
627 |
)
|
628 |
|
629 |
|
630 |
-
class TogetherAIEmbed(
|
631 |
def __init__(self, key, model_name, base_url="https://api.together.xyz/v1"):
|
632 |
if not base_url:
|
633 |
base_url = "https://api.together.xyz/v1"
|
|
|
627 |
)
|
628 |
|
629 |
|
630 |
+
class TogetherAIEmbed(OpenAIEmbed):
|
631 |
def __init__(self, key, model_name, base_url="https://api.together.xyz/v1"):
|
632 |
if not base_url:
|
633 |
base_url = "https://api.together.xyz/v1"
|