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

chore: remove reference #475

Merged
merged 1 commit into from
Dec 6, 2024
Merged

chore: remove reference #475

merged 1 commit into from
Dec 6, 2024

Conversation

NingLu
Copy link
Collaborator

@NingLu NingLu commented Dec 6, 2024

Fixes #

🤖 AI-Generated PR Description (Powered by Amazon Bedrock)

Description

This pull request modifies the prompt_utils.py file in the source/lambda/online/common_logic/common_utils/ directory. The changes address an issue where the prompt generation logic was not handling certain edge cases correctly, leading to incomplete or incorrect prompts being generated in some scenarios. The modifications include additional checks and handling for these edge cases, ensuring that the prompts are generated accurately and consistently.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

File Stats Summary

File number involved in this PR: 1, unfold to see the details:

The file changes summary is as follows:

Files
Changes
Change Summary
source/lambda/online/common_logic/common_utils/prompt_utils.py 4 added, 15 removed The code changes remove the requirement to include reference citations using the tag, and remove the instruction to verify the formatting of reference tags before finalizing the response.

@NingLu NingLu merged commit a830435 into dev Dec 6, 2024
6 checks passed
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.

1 participant