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

支持选中行内元素进行 AI 操作 #10539

Open
Vanessa219 opened this issue Mar 8, 2024 · 1 comment
Open

支持选中行内元素进行 AI 操作 #10539

Vanessa219 opened this issue Mar 8, 2024 · 1 comment
Assignees

Comments

@Vanessa219
Copy link
Member

Vanessa219 commented Mar 8, 2024

Originally posted by @Vanessa219 in #10472 (comment)

@Vanessa219 Vanessa219 self-assigned this Mar 8, 2024
@TCOTC
Copy link
Contributor

TCOTC commented Mar 20, 2024

选中行内元素,可以将文本作为 {{input}} 嵌入自定义提示词(这是 ChatGPT-Next-Web 的方案)

例如这样一个提示词:

将以下内容翻译为中文:

---

{{input}}

image

然后在选中的文本下新建一个块来输出回复的内容

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

No branches or pull requests

2 participants