This PR modifies the 'gpt2md.js' script to exclude prompts from the markdown conversion process. Currently, both prompts and responses are converted to markdown, but the requirement is to only convert the responses.
Summary of Changes
Removed the lines of code that replace user profile images with 'PROMPT:'
Modified the 'html' constant definition to exclude elements with 'PROMPT:' from the conversion to markdown
This change ensures that only the responses are converted to markdown, while the prompts are excluded.
Please review and merge this PR. Thank you!
Fixes #3.
To checkout this PR branch, run the following command in your terminal:
git checkout sweep/exclude-prompts
To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.
Description
This PR modifies the 'gpt2md.js' script to exclude prompts from the markdown conversion process. Currently, both prompts and responses are converted to markdown, but the requirement is to only convert the responses.
Summary of Changes
This change ensures that only the responses are converted to markdown, while the prompts are excluded.
Please review and merge this PR. Thank you!
Fixes #3.
To checkout this PR branch, run the following command in your terminal:
To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.