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

bug fixes for paraphrase task #875

Merged
merged 1 commit into from
Sep 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions backend/utils/llm_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ def get_model_output(
):
# Assume that translation happens outside (and the prompt is already translated)
out = ""
user_prompt=os.getenv("LLM_INTERACTIONS_USER_PROMPT_PREFIX")+user_prompt
if model == "GPT3.5":
out = get_gpt3_output(system_prompt, user_prompt, history)
elif model == "GPT4":
Expand Down
Loading