HuggingChat (chat-ui)
HuggingChat (chat-ui) est un(e) app du catalogue communautaire osFoundry. L'interface de chat open source de Hugging Face — le même code qui propulse huggingface.co/chat. Historique multi-conversations, sélecteur de modèles, outil de recherche web, outil de génération d'images (via endpoint Stable Diffusion) et prompts système configurables. SQLite intégré (variante chat-ui-db), donc aucun MongoDB externe requis. Compatible avec tout endpoint OpenAI / TGI / Anthropic / Cohere / Mistral / Hugging Face Inference. L'interface de chat open source la plus soignée publiée par Hugging Face.
Détails
- Espace de travail: osfoundry
- Catégorie: AI
- Tarif: Free
- Accès: Community
Fonctionnalités
- 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
Documentation
La documentation est maintenue en anglais par le projet d'origine.
# 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.
Comment utiliser HuggingChat (chat-ui) dans osFoundry
Installez HuggingChat (chat-ui) dans votre workspace en un clic, puis forkez-le dans osStudio pour personnaliser les prompts, les outils ou la configuration selon votre stack. Toute personne de votre workspace peut reprendre là où vous vous êtes arrêté.
Autres apps de la communauté
- CRM — Gestion de la relation client avec contacts, opportunités et suivi de pipeline.
- Kanban Board — Un tableau Kanban et de projet de type Trello avec cartes, tableaux, vues calendrier et tableau, et propriétés par tableau. Propulsé par Focalboard (serveur personnel autonome). SQLite intégré sur un volume persistant.
- Helpdesk — Tri de tickets et boîte de réception du support client avec suivi des SLA.
- Page Builder — Constructeur de pages visuel glisser-déposer avec sections, thèmes, SEO et publication
- Website Builder — Constructeur de site web multi-page avec collections CMS, navigation globale, footer, thèmes et publication
- Boutique en ligne — Boutique e-commerce avec catalogue produits, panier et paiement.