Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ChatGPT] requst message contains trigger word('登山部さん') #294

Open
iwatake2222 opened this issue Mar 9, 2023 · 0 comments
Open

Comments

@iwatake2222
Copy link

iwatake2222 commented Mar 9, 2023

Concern

  • It looks the input message from line is sent to ChatGPT without any modification. Most of the case, the first part of the message contains the trigger word (登山部さん) , and it may confuse ChatGPT

Proposal

  • The trigger word (登山部さん) should be removed from the request message to ChatGPT
  • On the other hand, it's useful to tell our context to ChatGPT since this is for "登山部" . Setting system role might be helpful
    • e.g. {"role": "system", "content": "登山に関することを教えてください"}
  • Note: I didn't test any of the above

Related code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant