Disabling OpenAI Label Suggestions in Chatwoot

TLDR d3x73rz1n requested a way to disable OpenAI’s label suggestions due to high API usage in Chatwoot. shivammishra suggested raising this issue on GitHub and controlling this using an ENV variable. d3x73rz1n resolved it by setting the function to "nil" in the openai base service.

Photo of d3x73rz1n
d3x73rz1n
Fri, 22 Sep 2023 13:12:25 UTC

I would like the possibility of being able to choose whether the system will call OpenAI to suggest LABELS. I receive around 2000 calls every day, and it is consuming a high amount of api. Just one configuration button to enable or disable this function.

Photo of d3x73rz1n
d3x73rz1n
Fri, 22 Sep 2023 14:07:07 UTC

To be more specific, I wanto to use the summarize and others functions, but I´m not want to use the label suggestion.

Photo of shivammishra
shivammishra
Mon, 25 Sep 2023 11:00:16 UTC

At the moment it's not possible to disable this on a per-feature basis. Feel free to raise a GitHub issue, someone from the community can pick this up as a feature. An ideal solution would be to disable this specific OpenAI feature with an ENV variable as opposed to a UI setting

Photo of d3x73rz1n
d3x73rz1n
Tue, 26 Sep 2023 10:36:13 UTC

Ok. Tks shivammishra

Photo of d3x73rz1n
d3x73rz1n
Wed, 27 Sep 2023 11:29:48 UTC

Done. https://github.com/chatwoot/chatwoot/issues/7996

Photo of d3x73rz1n
d3x73rz1n
Fri, 29 Sep 2023 20:20:46 UTC

Today has no agents in office. No work in chatwoot. And this happen. There is a way to disable or log this feature? sojan_official

Photo of d3x73rz1n
d3x73rz1n
Fri, 29 Sep 2023 20:21:31 UTC

773 requests, where? I need be able to verify this.

Photo of sojan_official
sojan_official
Tue, 03 Oct 2023 01:48:29 UTC

shivammishra could you take a look ?

Photo of shivammishra
shivammishra
Tue, 03 Oct 2023 02:07:31 UTC

Yep, sure

Photo of d3x73rz1n
d3x73rz1n
Tue, 03 Oct 2023 12:14:28 UTC

In 29/09

Photo of d3x73rz1n
d3x73rz1n
Tue, 03 Oct 2023 12:14:42 UTC

OpenAI key in Chatwoot

Photo of d3x73rz1n
d3x73rz1n
Tue, 03 Oct 2023 12:15:08 UTC

Photo of d3x73rz1n
d3x73rz1n
Tue, 03 Oct 2023 12:15:17 UTC

Chatwoot

Photo of d3x73rz1n
d3x73rz1n
Tue, 03 Oct 2023 12:15:38 UTC

Photo of d3x73rz1n
d3x73rz1n
Tue, 03 Oct 2023 12:15:55 UTC

Photo of d3x73rz1n
d3x73rz1n
Tue, 03 Oct 2023 12:16:50 UTC

messages in this day: 16 in, 28 out

Photo of d3x73rz1n
d3x73rz1n
Tue, 03 Oct 2023 12:17:01 UTC

819 requests

Photo of d3x73rz1n
d3x73rz1n
Tue, 03 Oct 2023 12:17:51 UTC

US$1 dolar openapi usage

Photo of d3x73rz1n
d3x73rz1n
Tue, 03 Oct 2023 12:18:25 UTC

This is a no work day.

Photo of d3x73rz1n
d3x73rz1n
Tue, 03 Oct 2023 12:19:19 UTC

Other example, in a busy day:

Photo of d3x73rz1n
d3x73rz1n
Tue, 03 Oct 2023 12:19:38 UTC

US$6.26 dolar

Photo of d3x73rz1n
d3x73rz1n
Tue, 03 Oct 2023 12:21:03 UTC

Photo of d3x73rz1n
d3x73rz1n
Tue, 03 Oct 2023 12:21:42 UTC

messages in this day: 2085 in, 2719 out

Photo of d3x73rz1n
d3x73rz1n
Tue, 03 Oct 2023 12:22:04 UTC

90% of this is for label suggestion.

Photo of d3x73rz1n
d3x73rz1n
Tue, 03 Oct 2023 12:22:50 UTC

The ideal is to able put OFF this functin, in ENV.

Photo of d3x73rz1n
d3x73rz1n
Tue, 03 Oct 2023 12:23:50 UTC

To resolve, we put "nill" in function openai base service.

Photo of d3x73rz1n
d3x73rz1n
Wed, 22 Nov 2023 08:33:26 UTC

Hi Friends! How can I to disable label suggestions with openAi integration? shivammishra sojan_official

Photo of d3x73rz1n
d3x73rz1n
Wed, 22 Nov 2023 09:16:19 UTC

Here! Thanks for update.