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

support system meesage in environment variable #144

Merged
merged 4 commits into from
Mar 11, 2023

Conversation

hleft
Copy link
Collaborator

@hleft hleft commented Mar 11, 2023

example: OPENAI_API_SYS_MSG="You are an assistant who translates computer technology books"

The cli option should be added, but it needs to modify the function, I am afraid it will conflict with other pr, but there is no harm in adding only an environment variable

The left side of the picture use OPENAI_API_SYS_MSG

sysmsg

@yihong0618
Copy link
Owner

I think its kind of same as #145

@yihong0618 yihong0618 mentioned this pull request Mar 11, 2023
@zstone12
Copy link
Collaborator

LGTM

@yihong0618
Copy link
Owner

@hleft thanks

@yihong0618 yihong0618 merged commit c0b3e0c into yihong0618:main Mar 11, 2023
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

Successfully merging this pull request may close these issues.

3 participants