bilingual_book_maker icon indicating copy to clipboard operation
bilingual_book_maker copied to clipboard

Proposal: File-based BBM_CHATGPTAPI_SYS_MSG and BBM_CHATGPTAPI_USER_MSG_TEMPLATE

Open doggy8088 opened this issue 1 year ago • 3 comments

I think the environment variable for BBM_CHATGPTAPI_SYS_MSG and BBM_CHATGPTAPI_USER_MSG_TEMPLATE is not suitable for long prompting text. I'd like to propose a solution for file-based prompting text for these two variables.

Filename: BBM_CHATGPTAPI_SYS_MSG.txt Location:

  1. Current working directory (highest priority)
  2. User home directory
  3. Same directory with the executable (lowest priority)

Filename: BBM_CHATGPTAPI_USER_MSG_TEMPLATE.txt Location:

  1. Current working directory (highest priority)
  2. User home directory
  3. Same directory with the executable (lowest priority)

doggy8088 avatar Apr 02 '23 13:04 doggy8088

I think it will be better to use @hleft @zstone12 what do you think?

yihong0618 avatar Apr 02 '23 13:04 yihong0618

I agree with that:D

I think it will be better to use @hleft @zstone12 what do you think?

zstone12 avatar Apr 02 '23 14:04 zstone12

I think it would be nice to add the file and preserving the environment variable A small problem is that bbm is easy to associate with other things..

hleft avatar Apr 02 '23 16:04 hleft