Skip to content

[Feature] Want the public access link to allow an additional question parameter to be included #3558

@MsDestiny

Description

@MsDestiny

MaxKB Version

v1.10.8-lts

Please describe your needs or suggestions for improvements

1、URL 参数识别:​​ 公开访问链接中是否包含特定的查询参数,例如 ?question=...。
​​2、参数内容提取:​​ 如果检测到 question 参数,自动从 URL 中提取该参数的值(即用户预设的问题)。
​​3、自动填充与发送:​​

​​填充输入框:​​ 提取的问题文本会自动填入聊天窗口的输入框内。
​​自动发送:​​ ​​模拟用户按下“发送”按钮(或回车键)的动作,将填充好的问题自动发送给AI。

4、​​无参数处理:​​ 如果访问的链接中​​没有​​ question 参数,则聊天窗口将呈现默认的空闲状态,等待用户手动输入问题。

Please describe the solution you suggest

No response

Additional Information

No response

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

Issue actions