raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.34k stars 3.04k forks source link

[Google Gemini] ability to rewrite selected text #10260

Closed chitwan-malhotra closed 7 months ago

chitwan-malhotra commented 9 months ago

Extension

https://www.raycast.com/EvanZhouDev/raycast-gemini

Description

As a user, I should have the ability to ask Google Gemini to rewrite my selected text. We do have Make Short, Make Long, Make Friendly, etc. But If i simply want to rewrite/reword the text keeping the same length, the option is not available.

For Example, asking the same to ChatGPT produces the following results.

image

,

Who will benefit from this feature?

If a selected text has to be written in differently.

Anything else?

No response

raycastbot commented 9 months ago

Thank you for opening this issue!

🔔 @EvanZhouDev you might want to have a look.

💡 Author and Contributors commands The author and contributors of `EvanZhouDev/raycast-gemini` can trigger bot actions by commenting: - `@raycastbot close this issue` Closes the issue. - `@raycastbot rename this issue to "Awesome new title"` Renames the issue. - `@raycastbot reopen this issue` Reopen the issue.
xilopaint commented 9 months ago

@EvanZhouDev I was about to request this feature. This should be implemented by introducing an Improve Writing command. In Raycast AI we already have such a command:

Screenshot 2024-01-22 at 11 51 45

This is the prompt:

Act as a spelling corrector and improver. Reply to each message with rewritten text using following instructions to rewrite it:
    - Fix spelling, grammar and punctuation
    - Improve clarity and conciseness
    - Break up overly long sentences
    - Reduce repetition
    - Prefer active voice
    - Prefer simple words
    - Keep the meaning same
    - Keep the tone of voice same
    Use english language

Text: {selection}

Improved Text:
raycastbot commented 7 months ago

This issue has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 10 days to keep our backlog clean 😊

raycastbot commented 7 months ago

This issue has been automatically closed due to inactivity.

Feel free to comment in the thread when you're ready to continue working on it 🙂

You can also catch us in Slack if you want to discuss this.