Chat UI 文档

Helm

Hugging Face's logo
加入 Hugging Face 社区

并获取增强的文档体验

开始使用

Helm

我们强烈建议不要使用该 chart。Helm chart 仍在开发中,应被视为不稳定。chart 的重大更改可能会在没有迁移指南或通知的情况下推送。欢迎贡献!

对于 Kubernetes 上的安装,您可以使用 /chart 中的 helm chart。请注意,尚未设置 chart 仓库,因此您需要克隆仓库并通过路径安装 chart。生产值可以在 chart/env/prod.yaml 中找到。

示例 values.yaml

replicas: 1

domain: example.com

service:
  type: ClusterIP

resources:
  requests:
    cpu: 100m
    memory: 2Gi
  limits:
    # Recommended to use large limits when web search is enabled
    cpu: "4"
    memory: 6Gi

envVars:
  MONGODB_URL: mongodb://chat-ui-mongo:27017
  # Ensure that your values.yaml will not leak anywhere
  # PRs welcome for a chart rework with envFrom support!
  HF_TOKEN: secret_token
< > 在 GitHub 上更新