holoviz-topics / panel-chat-examples

Examples of Chat Bots using Panels chat features: Traditional, LLMs, AI Agents, LangChain, OpenAI etc
https://holoviz-topics.github.io/panel-chat-examples/
MIT License
106 stars 32 forks source link

Implement jupyter-ai like interface #101

Open MarcSkovMadsen opened 11 months ago

MarcSkovMadsen commented 11 months ago

I've now access to Jupyter-ai in my JupyterHub. Its provides an interface to a RAG.

They have implemented a pretty amazing UI where its really, really easy to learn. A user just needs to write /learn path/to/documents in the input widget. And it will be learned in a split second via a very efficient implementation using Dask. See https://github.com/jupyterlab/jupyter-ai/blob/ec75ba827945c48b6e707c6cc4835eb5c561b616/packages/jupyter-ai/jupyter_ai/chat_handlers/learn.py#L138.

You should try it out and learn from their implementation @ahuang11 if you ever want to implement a chat interface for Panel or HoloViz. You can add markdown, python code, notebooks etc. in a split second and start using.

I would love for us to have a similar reference implementation. Would be so useful.