-
Notifications
You must be signed in to change notification settings - Fork 406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An error occurred when using a custom model; please help me with this. #1190
Comments
@minicoco you should replace values of llm and embedder in the pipes section of config.yaml The format is <provider_name>.<model_name>. For example, litellm_llm.lm_studio/llama2 |
@cyyeh Sorry, I tried the following combinations, but I still have issues: I obtained the llama2 model through the following command:
and now my model list look like : Additionally, you mentioned that the embedder also needs to be changed to the format <provider_name>.<model_name>? I'm currently using model: nomic-embed-text, and it seems to work fine when starting up. My current configuration is as follows:
and error is the same:
|
ME TOO
type: engine
|
Could you try to follow the config.yaml examples here and adapt to your usecases first? feel free to reach out to me if there are further issues. Thank you! |
.env
config.yaml
wren-ai-service-1 show error log
ollama is running
|
@Liudon your model name is wrong, as I said in the comment. It should be |
config.yaml
i change config, but it work failed with the same error.
|
hello my friend, next is my question description, i'm try many methods, but it's still not work, give me any idea ,thank you very much.
I referred to this article: 'https://docs.getwren.ai/oss/installation/custom_llm#running-wren-ai-with-your-custom-llm-embedder-or-document-store
I am use ollama+llama2。
This is my ollama run command:
docker run -d --network wrenai_wren -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama
I am used postman to request api:
This is my config.yaml:
This is my .env file content:
This is is my wrenai-wren-ai-service-1' error log:
The text was updated successfully, but these errors were encountered: