Feature #3592
BE - phase 1 support for cumulative answer count
Status:
New
Priority:
High
Assignee:
-
Start date:
06/05/2024
Due date:
% Done:
0%
Estimated time:
0.75 h
Description
Need the following changes to call_openai_api GCF:
-Add another parameter threadAnswerCount
-if message is empty, do not make openai api call
-if (answerCount == 0) get answerCount from Datastore
-answerCount += threadAnswerCount
-store answerCount to Datastore
-return answerCount
Note that the above just mention the additions to the current call