Add TogetherAI support (#1485)

This commit is contained in:
Dev Khant
2024-07-16 13:19:18 -07:00
committed by GitHub
parent 03f787d5cb
commit b620f8fae3
7 changed files with 883 additions and 14 deletions
+2 -1
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