瀏覽代碼

Fix TogetherAIEmbed. (#4623)

### What problem does this PR solve?

#4567

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
tags/v0.16.0
Kevin Hu 9 月之前
父節點
當前提交
f1d9f4290e
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      rag/llm/embedding_model.py

+ 1
- 1
rag/llm/embedding_model.py 查看文件

@@ -627,7 +627,7 @@ class CoHereEmbed(Base):
)


class TogetherAIEmbed(OllamaEmbed):
class TogetherAIEmbed(OpenAIEmbed):
def __init__(self, key, model_name, base_url="https://api.together.xyz/v1"):
if not base_url:
base_url = "https://api.together.xyz/v1"

Loading…
取消
儲存