Explorar el Código

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 hace 9 meses
padre
commit
f1d9f4290e
No account linked to committer's email address
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      rag/llm/embedding_model.py

+ 1
- 1
rag/llm/embedding_model.py Ver fichero

@@ -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"

Cargando…
Cancelar
Guardar