yanxiaodi / vs-code-revision

ReVision is a VSCode extension that allows you to quickly and easily revise your written work using OpenAI or Azure OpenAI.
MIT License
10 stars 2 forks source link

Can you provide a setting option to revise the prompt? #6

Closed ChunwuZhu closed 1 year ago

ChunwuZhu commented 1 year ago

Hi, can you provide a setting option to revise the prompt? The current prompt is not flexible when I have some specific revise or translate needs. Thanks!

ChunwuZhu commented 1 year ago

For example, for translation, we don't need to preset the source language and target language in the setting. Such presetting limits the language to be translated and lacks flexibility. It's better that we can revise the prompt like "translate the following content to English if it's Chinese or otherwise". Such a prompt is more flexible when we want to translate the content from English to Chinese or from the other direction.

yanxiaodi commented 1 year ago

That's a good point. Perhaps we just need a target language setting? I'll think about that.

ChunwuZhu commented 1 year ago

Thanks!

ChunwuZhu commented 1 year ago

It's better to have the option to customize the prompt to have more flexibility, not just limited to language configuration. Thanks!

yanxiaodi commented 1 year ago

I'll think about how to implement this. Thanks for your feedback.

yanxiaodi commented 1 year ago

@ChunwuZhu Updated in #9 . You can have a try.

ChunwuZhu commented 1 year ago

Thanks!

On Sun, Aug 27, 2023 at 5:15 AM Xiaodi Yan @.***> wrote:

Closed #6 as completed. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned. Message ID: <yanxiaodi/vs-code-revision/issue/6/issue_event/10201545832@ github. com> ‍ ‍ ZjQcmQRYFpfptBannerStart This Message Is From an External Sender This message came from outside your organization.

ZjQcmQRYFpfptBannerEnd

Closed #6 https://urldefense.com/v3/__https://github.com/yanxiaodi/vs-code-revision/issues/6__;!!KwNVnqRv!F-8yi9ze1gc2OMt3NvE0HkrEdcFo4qFDBt9zc9riOXAFsj6mvy9d3YIJUIPxWp7bgMiZLz66gtS-k5PyippTUHU234c$ as completed.

— Reply to this email directly, view it on GitHub https://urldefense.com/v3/__https://github.com/yanxiaodi/vs-code-revision/issues/6*event-10201545832__;Iw!!KwNVnqRv!F-8yi9ze1gc2OMt3NvE0HkrEdcFo4qFDBt9zc9riOXAFsj6mvy9d3YIJUIPxWp7bgMiZLz66gtS-k5PyippTYroDCn8$, or unsubscribe https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AD3GBXLOXDVTBLAR3WFWEPTXXMM3DANCNFSM6AAAAAAZQX2GVM__;!!KwNVnqRv!F-8yi9ze1gc2OMt3NvE0HkrEdcFo4qFDBt9zc9riOXAFsj6mvy9d3YIJUIPxWp7bgMiZLz66gtS-k5PyippTXu6RXGo$ . You are receiving this because you were mentioned.Message ID: @.***>