Hello, I am attempting to run the [Chatbot Tutorial] and when I attempt to run the "Flask Create-Index" Command on the Python Back End section, I get a error message stating:
"773 ERROR langchain_elasticsearch.vectorstores: First error reason: Model [.elser_model_2] must be deployed to use. Please deploy with the start trained model deployment API."
I have configured my .env file with the correct parameters but I am still not able to connect. Can someone point me in the right direction before I try to present this to my management team?
Hi @Gordon1, Welcome to the Elastic community. It seems you have not deployed ELSER model (.elser_mode_2) in Elastic. To deploy -
Go to the kibana panel. Navigate to Menu -> Machine Learning (In Analytics section). In left menu, Click on Trained Models (In Model Management Section).
ELSER can be found in the list of trained models.
Click the Download model button under Actions.
After the download is finished, start the deployment by clicking the Start deployment button.
Provide a deployment ID, select the priority, and set the number of allocations and threads per allocation values (It's ok if you keep it as a default).
Click Start.
Once started you can again try to run the same script.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.