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

[Self-Hosted via docker] Still requires subscription and cannot crawl from my website for being "free" user #24

Closed sebastian0619 closed 1 year ago

sebastian0619 commented 1 year ago

Hi, Is it due to my error that caused the captioned?

sebastian0619 commented 1 year ago

I successfully deploy through docker and configured my apis. The purpose is to have this opensourced webbot project deployed to my website. But turns out it still requires the subscription even i have my own openai api key

sachinchoolur commented 1 year ago

Could you please share a screenshot of the issue? We are making this configurable, but for now, you can edit the below file to configure the number of projects and tokens if you need

https://github.com/webwhiz-ai/webwhiz/blob/8e610eb5bb7c26084eeca4e214dec0bcb88078f4/src/subscription/subscription.const.ts#L23

sebastian0619 commented 1 year ago

Thx for the prompt response!

Tried tweaked the subscription.const.ts and it works! thanks.

The current problem is that, the created chatbot cannot be implemented on my website as it saids that it is not available for "Free" plan user.

image

sachinchoolur commented 1 year ago

There is a minor configuration issue. We'll deploy a new version by EOD.

Until then, you can directly use the below js to add a chatbot to your website.

<script id="__webwhizSdk__" widgetUrl="WIDGET_URL/index.html" baseUrl="API_BASE_URL" src="https://www.unpkg.com/webwhiz@1.0.0/dist/sdk.js" chatbotId="YOUR_CHATBOT_ID"></script>

Example values

baseUrl : https://api.webwhiz.ai

widgetUrl: https://widget.webwhiz.ai/

Please note that the widget is not included in the docker, and you need to host it separately for now.

https://github.com/webwhiz-ai/webwhiz/tree/main/widget
sebastian0619 commented 1 year ago

There is a minor configuration issue. We'll deploy a new version by EOD.

Until then, you can directly use the below js to add a chatbot to your website.


<script id="__webwhizSdk__" widgetUrl="WIDGET_URL/index.html" baseUrl="API_BASE_URL" src="https://www.unpkg.com/webwhiz@1.0.0/dist/sdk.js" chatbotId="YOUR_CHATBOT_ID"></script>

Example values


baseUrl : https://api.webwhiz.ai

widgetUrl: https://widget.webwhiz.ai/

Please note that the widget is not included in the docker, and you need to host it separately for now.


https://github.com/webwhiz-ai/webwhiz/tree/main/widget

Hi Thabks for sharing the way.

I used mongodb changing my subscription plan and make my way to add to site section.

But new problem with connectivity with openai. Tried multiple times as I have many other Project hosting one same server which have no problem with openai. I'll further test it and see if there is a real problem.

Thanks

rossman22590 commented 1 year ago

will the widget text to copy update to

or will it remain

sachinchoolur commented 1 year ago

If you are self-hosting, you need to provide widgetUrl and baseUrl

Docs

rossman22590 commented 1 year ago

I will check this ty