Skip to content

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

Open
@Vanessa219

Description

@Vanessa219
Member

Originally posted by @Vanessa219 in #10472 (comment)

Activity

self-assigned this
on Mar 8, 2024
TCOTC

TCOTC commented on Mar 20, 2024

@TCOTC
Contributor

我参考 ChatGPT-Next-Web 的功能提供一个方案:选中行内元素,然后将文本作为 {{input}} 嵌入自定义提示词

例如这样一个提示词:

将以下内容翻译为中文:

---

{{input}}

image

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @Vanessa219@TCOTC

      Issue actions

        支持选中行内元素进行 AI 操作 · Issue #10539 · siyuan-note/siyuan