Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

add knowledge cutoff to the prompt #262

Merged
merged 2 commits into from
Apr 28, 2023
Merged

add knowledge cutoff to the prompt #262

merged 2 commits into from
Apr 28, 2023

Conversation

harjotgill
Copy link
Contributor

@harjotgill harjotgill commented Apr 28, 2023

Summary by OpenAI

Release Notes

  • Documentation: Added knowledge cutoff date to system message and TokenLimits class.
  • Documentation: Updated description for openai_base_url input in action.yml.

"Code quality improved, knowledge cutoff added,
Docs updated, users won't be misled.
Celebrate this PR with a smiley face,
🎉👏🚀 Let's keep up the pace!"

@github-actions
Copy link
Contributor

github-actions bot commented Apr 28, 2023

🤖 OpenAI

Summary

The changes made to the codebase involve adding a knowledge cutoff date to the system message displayed by the bot and the TokenLimits class. Additionally, the description for the openai_base_url input in the action.yml file was updated to include a note about outdated knowledge.

Files

File Summary
action.yml Updated the description for the openai_base_url input and added a note about outdated knowledge to the prompt.
src/bot.ts Added the knowledge cutoff date to the system message displayed by the bot.
src/limits.ts Added a new property knowledgeCutOff to the TokenLimits class and set its value to 'September 2021'.

Chat with 🤖 OpenAI Bot (@openai)

  • Reply on review comments left by this bot to ask follow-up questions. A review comment is a comment on a diff or a file.
  • Invite the bot into a review comment chain by tagging @openai in a reply.

Code suggestions

  • The bot may make code suggestions, but please review them carefully before committing since the line number ranges may be misaligned.
  • You can edit the comment made by the bot and manually tweak the suggestion if it is slightly off.

Ignoring further reviews

  • Type @openai: ignore anywhere in the PR description to ignore further reviews from the bot.

Files ignored due to filter (1)

Ignored files

  • dist/index.js

In the recent run, only the files that changed from the base of the PR and between 706a8841d694729b495b6c1bf9c6d54420fdd2e4 and d3b097f9813939a8e8fcfea7e26746106506d86d commits were reviewed.

Files not reviewed due to simple changes (2)

Skipped review in the recent run

  • src/bot.ts
  • src/limits.ts

@harjotgill harjotgill merged commit 60b7c63 into main Apr 28, 2023
@harjotgill harjotgill deleted the knowledge_cutoff branch April 28, 2023 18:56
shoyuf pushed a commit to maybeLab/openai-mr-reviewer-gltlab that referenced this pull request Jun 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant