1. a perl module OpenAI::API is already available - its not really nice
because it uses Moo, but this can be changed
2. using OpenAI for spam detection would be very expensive - you are
charged by tokens - reaching several million "Usage" and "Training" tokens
per day is possible
...
9. response time ?
...
X had this idea already - but - read.
OpenAI - pricing:
Model TrainingUsage
Davinci $0.0300 / 1K tokens $0.1200 / 1K tokens
same costs for gpt-3.5-turbo
example from my today rebuild task:
Mar-07-23 04:07:00 Generating consolidated Hidden-Markov-Model database
from 13,246,763 record model (~ 13.000.000)
one time training costs: ~ $US 390
having 10.000 mails per day, each with (only) 100 words -> 1.000.000 words
or tokens (this is not really much, but an easy to calculate example)
= $US 120 per day
with one training per week (this is IMHO too less) the costs will be
390 * 52 = 20.280
120 * 365 = 43.800
~ 64.080 $US per year
with one training per day the costs would be $US 180.000
ASSP's HMM engine uses 600 words from each mail. OpenAI -> $US 720 ->
overall costs per year $US 405.000
The idea its self is attractive - but who would use such an expensive
service?
Let's say the ASSP_OpenAI Plugin is written and needs to be adjusted/fine
tuned and tested for two weeks -> required per day are $US 1100, for two
weeks $US ~15.000 !!!
Thomas
Von:"Graziano via Assp-test"
An: assp-test@lists.sourceforge.net
Kopie: "Graziano"
Datum: 06.03.2023 09:55
Betreff:[Assp-test] ASSP and chatgpt
Hi
using a chatGPT API Perl module (
https://dev.to/davorg/writing-a-cpan-module-that-talks-to-chatgpt-gb5 )
with ASSP
to check every single email (chatgpt plus account should be required)
could be an idea ?
___
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test