Project

General

Profile

Feature #3643

Updated by Ram Kordale 5 months ago

Add version, template_dict, attachments and 'core arguments' as arguments. 

 if version is not 1.0, return unsupported version error. 

 replace template_dict[key] in final prompt with template_dict[value]. 

 'attachments' is a list set of GCS files. Attach these to the message. 

 'core arguments' are "temperature", "max_tokens", "top_p", "frequency_penalty", and "presence_penalty" which are directly used as arguments to the openai api.

Back