Project

General

Profile

Feature #3592

Updated by Ram Kordale 6 months ago

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

Back