Existing Dash Chat components

Any ready to use chat component for Dash?

Is this the best I can get at this moment? dash-chat · PyPI

You can also check out chantnificent:

I’ve built a discord component for the dash framework that has had a few recent updates as to keep it up to date with the dash 4 releases. I’ve expanded the component out to support webhooks and discord api endpoints for bots which could be configured in your discord server to act as agents.

WidgetBot

dash-widgetbot integrates Discord chat into your Dash applications using a pure Python hook-based architecture — no React build required.

  • DiscordCrate

— Floating chat button (the one in the bottom-right corner of this page)

  • DiscordWidget

— Inline iframe embed for placing chat anywhere in your layout

  • Slash Commands

— AI-powered /ai, /ask, /gen, /status commands

  • Webhook API

— Send messages to Discord from Python

examples:

and:


You can extend the functionality and features further with a heafty 150/month subscription, which gives you a dedicated shard to host your discord and upload images, documents and other enterprise features from the widgetbot. Their is also a free hosting option without image uploads just a slimmer more simple discord chat.

https://pip-install-python.com/pip/dash_widgetbot/llms.txt

I’ve also created my own chat components from scratch in dash directly using: https://www.dash-extensions.com/components/SSE
and socketio New websocket component: DashSocketIO in previous dash 3 builds.

Hey @AnnMarieW,

Chatnificent is very powerful, but acts as a standalone framework. I need to embed a chat UI directly into an existing Dash application. A library like dash-chat handles the UI embedding perfectly but lacks critical features that Chatnificent has out of the box, such as chat persistence and history storage (start new chat) etc. Is it possible to isolate and embed only Chatnificent’s UI components into an existing app?

Have you tried embedding chatnificent in an existing app as an iframe? (not sure if this will work)

If you are looking for an AI agent to be completely integrated with your dash app, for example to ask questions about your data and have the agent use the app to provide answers, then that is coming soon! You can follow the progress here: Pull requests · plotly/dash · GitHub

The iframe + separate port approach won’t work on Dash Enterprise — only one port is exposed per app, and gunicorn’s multiple workers mean the daemon thread only runs in one process.

Great news about agents. The first thing most user would need is “ready-to-use” chat UI in my opinion. Then everything can be built around it in Dash and python.

@davzup89
Be sure to check with your Plotly support team - I’ve heard that there are new features and a lot of work in progress on both Dash Enterprise and Studio.

@davzup89 – one idea to consider, along the lines of what @AnnMarieW is suggesting: You could deploy a chat app as a dedicated second app on Dash Enterprise, and then embed it into any other app. If you want, I’d love to chat about what you’re looking for and show you some of what we’re building for Dash Enterprise users. My email is [email protected] if you want to set up a session. Cheers!