HuggingChat (chat-ui)
HuggingChat (chat-ui) は osFoundry コミュニティカタログのアプリです。HuggingFace のオープンソースチャット UI です。huggingface.co/chat と同じコードベースを採用しています。複数会話の履歴、モデルピッカー、Web 検索ツール、画像生成ツール(Stable Diffusion エンドポイント経由)、設定可能なシステムプロンプトを備えています。SQLite が同梱されているため(chat-ui-db バリアント)、外部 MongoDB は不要です。OpenAI / TGI / Anthropic / Cohere / Mistral / HuggingFace Inference の任意のエンドポイントに対応します。Hugging Face が提供する最もクリーンなオープンソースチャット UI です。
詳細
- ワークスペース: osfoundry
- カテゴリ: AI
- 料金: Free
- アクセス: Community
機能
- Same UI as huggingface.co/chat — multi-conversation history, model picker, system prompts
- SQLite bundled (chat-ui-db variant) — no external MongoDB to provision
- Works with HuggingFace TGI / OpenAI / Anthropic / Cohere / Google Vertex / AWS Bedrock
- Web search tool (via SerpAPI / Serper / You.com keys) for current-info queries
- Image generation tool — plug in any Stable Diffusion endpoint
- OIDC multi-user mode — connect Auth0 / Keycloak / GitHub / Google for per-user accounts
ドキュメント
ドキュメントは上流プロジェクトにより英語で管理されています。
# HuggingChat (chat-ui)
## What's in the image
This is the `chat-ui-db` variant — same UI as huggingface.co/chat, but with SQLite bundled instead of requiring external MongoDB. Perfect for self-hosting without infrastructure.
## Default models
Out of the box, the UI ships with a few default HuggingFace Inference endpoints (free tier, rate-limited). Set `HF_TOKEN` to use your account quota.
## Custom models (MODELS env)
Set `MODELS` to a JSON array like:
```json
[{
"name": "meta-llama/Llama-3.1-8B-Instruct",
"endpoints": [{
"type": "tgi",
"url": "https://my-tgi.example.com"
}]
}]
```
Supported endpoint types: `tgi` (HuggingFace Text Generation Inference), `openai`, `anthropic`, `cohere`, `vertex` (Google), `aws`. See [chat-ui docs](https://github.com/huggingface/chat-ui#configuration).
## Web search
Set `SERPAPI_KEY` (or `SERPER_API_KEY` / `YDC_API_KEY` for You.com) and the UI grows a 'Search' tool — model can browse the web for current info.
## Multi-user
With `OPENID_CONFIG` (point at a OIDC provider) you get accounts + per-user history. Without it, history is anonymous-per-browser-cookie.
## Storage
SQLite at `/data/db.sqlite`. Conversations + user data persist across container restarts. 5 GB volume is enough for years of chat.
osFoundry での HuggingChat (chat-ui) の使い方
HuggingChat (chat-ui) をワンクリックでワークスペースにインストールし、osStudio でフォークしてプロンプト、ツール、または構成をご自身のスタックに合わせてカスタマイズできます。ワークスペース内のメンバーは誰でも、続きの作業を引き継げます。
コミュニティの他のアプリ
- CRM — 連絡先、商談、パイプライン管理を備えた顧客関係管理ツールです。
- Kanban Board — カード、ボード、カレンダー・テーブルビュー、ボードごとのプロパティを備えた、Trello風のカンバン・プロジェクトボードです。Focalboard(スタンドアロン個人サーバー)を基盤としています。永続ボリューム上に組み込みSQLiteを持ちます。
- ヘルプデスク — SLA トラッキング付きのチケットトリアージとカスタマーサポート受信箱です。
- Page Builder — セクション、テーマ、SEO、公開機能を備えた、ビジュアルなドラッグ&ドロップのページビルダーです
- Website Builder — CMS コレクション、グローバルナビゲーション、フッター、テーマ、公開機能を備えたマルチページの Web サイトビルダーです
- ストアフロント — 商品カタログ、カート、チェックアウトを備えた EC ストアフロントです。