Add TogetherAI support (#1485)

This commit is contained in:
Dev Khant
2024-07-17 01:49:18 +05:30
committed by GitHub
parent 03f787d5cb
commit b620f8fae3
7 changed files with 883 additions and 14 deletions

View File

@@ -11,7 +11,8 @@ class LlmFactory:
provider_to_class = {
"ollama": "mem0.llms.ollama.py.OllamaLLM",
"openai": "mem0.llms.openai.OpenAILLM",
"groq": "mem0.llms.groq.GroqLLM"
"groq": "mem0.llms.groq.GroqLLM",
"together": "mem0.llms.together.TogetherLLM"
}
@classmethod