Support Ollama models (#1596)

This commit is contained in:
Dev Khant
2024-08-02 23:45:45 +05:30
committed by GitHub
parent 3eff82082e
commit 44aa16a0f8
8 changed files with 188 additions and 30 deletions

View File

@@ -17,6 +17,7 @@ class LlmFactory:
"together": "mem0.llms.together.TogetherLLM",
"aws_bedrock": "mem0.llms.aws_bedrock.AWSBedrockLLM",
"litellm": "mem0.llms.litellm.LiteLLM",
"ollama": "mem0.llms.ollama.OllamaLLM",
}
@classmethod