You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I excute the test.py ,I get some errors of Unsupported LLM provider and Unsupported embedding provider.By the way,I add chatglm to oneapi,and passed the test in oneapi.So,I have a openai-like api.And When I call the api in fastgpt,it works well.So it is clear that the api is fine and can be called normally.
My original codes is blow:
({xxx} represent my privacy information)
Configuration validation error: 2 validation errors for MemoryConfig
llm.config
Value error, Unsupported LLM provider: openai-like [type=value_error, input_value={'model': 'glm-4-plus', '...0.2, 'max_tokens': 2500}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.8/v/value_error
embedder.config
Value error, Unsupported embedding provider: openai-like [type=value_error, input_value={'model': 'embedding-3'}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.8/v/value_error
Traceback (most recent call last):
File "/root/mem0test1.py", line 34, in <module>
m = Memory.from_config(config)
File "/usr/local/lib/python3.9/dist-packages/mem0/memory/main.py", line 55, in from_config
config = MemoryConfig(**config_dict)
File "/usr/local/lib/python3.9/dist-packages/pydantic/main.py", line 193, in __init__
self.__pydantic_validator__.validate_python(data, self_instance=self)
pydantic_core._pydantic_core.ValidationError: 2 validation errors for MemoryConfig
llm.config
Value error, Unsupported LLM provider: openai-like [type=value_error, input_value={'model': 'glm-4-plus', '...0.2, 'max_tokens': 2500}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.8/v/value_error
embedder.config
Value error, Unsupported embedding provider: openai-like [type=value_error, input_value={'model': 'embedding-3'}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.8/v/value_error
The text was updated successfully, but these errors were encountered:
🐛 Describe the bug
when I excute the test.py ,I get some errors of Unsupported LLM provider and Unsupported embedding provider.By the way,I add chatglm to oneapi,and passed the test in oneapi.So,I have a openai-like api.And When I call the api in fastgpt,it works well.So it is clear that the api is fine and can be called normally.
My original codes is blow:
({xxx} represent my privacy information)
Errors I got :
The text was updated successfully, but these errors were encountered: