跳到主要内容

Yacy

注意

本教程为社区贡献,Open WebUI 团队不提供官方支持。它仅作为如何针对特定使用场景自定义 Open WebUI 的演示。想要贡献?请查看贡献教程。

提示

有关与 Web Search 相关的所有环境变量的完整列表(包括并发设置、结果数量等),请参考 Environment Configuration 文档

Troubleshooting

Web Search 遇到问题?请参考 Web Search 问题排查指南以获取代理配置、连接超时和空内容等常见问题的解决方案。

Yacy API

设置

  1. 导航至:Admin Panel -> Settings -> Web Search

  2. 开启 Enable Web Search 选项

  3. 在下拉菜单中将 Web Search Engine 设置为 yacy

  4. Yacy Instance URL 设置为以下示例之一:

    • http://yacy:8090(使用容器名称和暴露的端口,适用于基于 Docker 的设置)
    • http://host.docker.internal:8090(使用 host.docker.internal DNS 名称和宿主机端口,适用于基于 Docker 的设置)
    • https://<yacy.local>:8443(使用本地域名,适用于本地网络访问)
    • https://yacy.example.com(为自托管的 Yacy 实例使用自定义域名,适用于公网或私网访问)
    • https://yacy.example.com:8443(在默认的 Yacy https 端口上使用 https)
  5. (可选)如果您的 Yacy 实例需要身份验证,请输入您的 Yacy 用户名和密码。如果两者都留空,将跳过摘要身份验证(digest authentication)。

  6. 点击 Save(保存)

Open WebUI Admin panel showing Yacy config

This content is for informational purposes only and does not constitute a warranty, guarantee, or contractual commitment. Open WebUI is provided "as is." See your license for applicable terms.