webwhiz-ai / webwhiz

WebWhiz allows you to create an AI chatbot that knows everything about your product and can instantly respond to your customer's queries.
https://www.webwhiz.ai/
GNU Affero General Public License v3.0
918 stars 153 forks source link

Unable to create chatbot, was working before #106

Open adamsonwalter opened 11 months ago

adamsonwalter commented 11 months ago

I created a chatbot but later it reverted to an error when I open it.

Unable to create chatbot. Please try again or contact support

but it was fine and I was using it for quite a while, after about one hour it reverted ti o this error.

What does it even mean create a chatbot, everything looks normal in the settings and data, it just no longer works? Screenshot 2023-10-13 at 6 38 55 pm

How do I get it working again? Thanks

crptopool commented 11 months ago

Hi,

I am facing exactly the same error; Even now the chatbot which is embedded on another site is working fine but in the admin panel it shows "create chatbot" button and when I go to edit chatbot screen it shows notification "...Unable to create chatbot. Please try again or contact support ..."

Also in docker logs for Nodejs worker I can see the following:

Retry count 1
{ crawledPages: 74, failedPages: 0, runTime: 6220 }
celery.node Task tasks.crawl[348c92d2-f69e-424c-8db5-037280a07a69] succeeded in 6.226899294s: [object Object]
celery.node Received task: tasks.gen_embeddings[e5b5d724-4463-4fe6-b859-94b5f0de9717], args: 652a7e688bae2018a088e69b, kwargs: {}
Added embedding for Table of Contents 🚀 Astro Documentation
[Nest] 1  - 10/17/2023, 8:24:34 AM   ERROR [CrawlerWorker] Error in create chunks / embedding for 652a7e688bae2018a088e69b
[Nest] 1  - 10/17/2023, 8:24:34 AM   ERROR [CrawlerWorker] MongoInvalidArgumentError: Invalid BulkOperation, Batch cannot be empty
celery.node Task tasks.gen_embeddings[e5b5d724-4463-4fe6-b859-94b5f0de9717] succeeded in 0.240527297s: undefined

Please advise. I was running bit older version until recently without any problems however I updated on 14th Oct so perhaps it has something to do with new changes.