Open VincyZhang opened 7 months ago
@NeuralChatBot
The error message "Chatbot instance has not been set." suggests that the chatbot instance is not being properly initialized. This could be due to a variety of reasons, such as the model not being loaded correctly, the chatbot not being properly configured, or the server not being properly started.
Here are some steps you can take to troubleshoot this issue:
Check the model path: Ensure that the model path specified in the configuration file is correct. You can try downloading the model manually and specifying the local path in the configuration file.
Check the server configuration: Make sure that the server is properly configured to use the specified model. This includes checking the configuration file and ensuring that the model name or path is correctly specified.
Check the server startup: Ensure that the server is starting without errors. You can check the server logs for any error messages that might give clues as to what is going wrong.
Check the chatbot instance: The error message "Chatbot instance has not been set." suggests that the chatbot instance is not being properly initialized. This could be due to a variety of reasons, such as the model not being loaded correctly, the chatbot not being properly configured, or the server not being properly started. You can try to initialize the chatbot instance manually in your code and see if that resolves the issue.
Check the server code: The error might be in the server code. You can try to debug the server code to see if it is correctly initializing the chatbot instance. You can also try to reproduce the issue in a simpler environment to isolate the problem.
If you are still unable to resolve the issue, you might want to consider reaching out to the maintainers of the neuralchat project for further help. They might be able to provide more specific guidance based on the details of your setup and the error message.
Hello,
I started a neuralchat server with following config with command
neuralchat_server start --config_file ./server/config/neuralchat.yaml
Config
and server starts up after downloading model from HF but produces following error while calling
http://<ip>:<port>/v1/chat/completions
Error traceback
Here is the example cURL:
cURL call