HuggingChat (chat-ui)
HuggingChat (chat-ui) osFoundry community catalog में एक app है। HuggingFace का open-source chat UI — वही code जो huggingface.co/chat को power करता है। Multi-conversation history, model picker, web search tool, image gen tool (Stable Diffusion endpoint के माध्यम से), और configurable system prompts। SQLite bundled (chat-ui-db variant), तो कोई external MongoDB नहीं चाहिए। किसी भी OpenAI / TGI / Anthropic / Cohere / Mistral / HuggingFace Inference endpoint के साथ काम करता है। Hugging Face द्वारा ship किया गया सबसे clean open-source chat UI।
विवरण
- Workspace: osfoundry
- Category: AI
- मूल्य: Free
- Access: Community
Features
- 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
Documentation को upstream project द्वारा अंग्रेज़ी में मेंटेन किया जाता है।
# 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) को अपने workspace में install करें, फिर अपने stack के लिए prompts, tools, या configuration को customise करने के लिए इसे osStudio में fork करें। आपके workspace का कोई भी सदस्य वहीं से आगे बढ़ा सकता है जहाँ आपने छोड़ा था।
Community से अन्य apps
- CRM — Contacts, deals, और pipeline tracking के साथ customer relationship management।
- Kanban Board — एक Trello-style kanban and project board के साथ cards, boards, calendar and table views, and per-board properties. Powered by Focalboard (standalone personal server). Embedded SQLite एक persistent volume पर.
- Helpdesk — SLA tracking के साथ ticket triage और customer support inbox।
- Page Builder — Visual drag-and-drop page builder के साथ sections, themes, SEO, and publishing
- Website Builder — Multi-page website builder के साथ CMS collections, global navigation, footer, themes, and publishing
- Storefront — Product catalog, cart, और checkout के साथ e-commerce storefront।