# \#chatinterface

**URL:** https://discourse.holoviz.org/tag/chatinterface/134.md

[Latest](https://discourse.holoviz.org/latest.md) · [Categories](https://discourse.holoviz.org/categories.md) · [Tags](https://discourse.holoviz.org/tags.md)

---

## [How to make ChatInterface scroll down when new messages are added?](https://discourse.holoviz.org/t/how-to-make-chatinterface-scroll-down-when-new-messages-are-added/8956)

<div class="topic-metadata">

**Author:** [@reckoner](https://discourse.holoviz.org/u/reckoner)\
**Replies:** 1\
**Last updated:** [September 29, 2025, 9:11pm UTC](https://discourse.holoviz.org/t/how-to-make-chatinterface-scroll-down-when-new-messages-are-added/8956 "2025-09-29T21:11:51Z")

</div>

Hi, When updating the ChatInterface with new messages, is it possible to make the interface scroll down so that you can see the most recent messages as they are updated? Thank you for all the great work on Panel!

---

## [Put message on the left/right sides of the ChatFeed](https://discourse.holoviz.org/t/put-message-on-the-left-right-sides-of-the-chatfeed/8955)

<div class="topic-metadata">

**Author:** [@reckoner](https://discourse.holoviz.org/u/reckoner)\
**Replies:** 1\
**Last updated:** [September 29, 2025, 11:18am UTC](https://discourse.holoviz.org/t/put-message-on-the-left-right-sides-of-the-chatfeed/8955 "2025-09-29T11:18:39Z")

</div>

As in a back-and-forth conversation, is it possible to put chat messages on the left or right sides of the interface? I read the documentation but I can’t find it as an option. Thanks you for all the great work!

---

## [ChatInterface breaks from 1.6.2 to 1.6.3](https://discourse.holoviz.org/t/chatinterface-breaks-from-1-6-2-to-1-6-3/8862)

<div class="topic-metadata">

**Author:** [@pjsulin](https://discourse.holoviz.org/u/pjsulin)\
**Replies:** 2\
**Last updated:** [July 18, 2025, 4:44pm UTC](https://discourse.holoviz.org/t/chatinterface-breaks-from-1-6-2-to-1-6-3/8862 "2025-07-18T16:44:37Z")

</div>

When I upgrade from panel 1.6.2, my chat interface UI rendering is different and the ChatFeed area is not shown until after a message is sent. This is also true in latest version, 1.7.4. v1.6.3 and above v1.6.2

---

## [How to capture "heart" button in the ChatInterface?](https://discourse.holoviz.org/t/how-to-capture-heart-button-in-the-chatinterface/8828)

<div class="topic-metadata">

**Author:** [@reckoner](https://discourse.holoviz.org/u/reckoner)\
**Replies:** 1\
**Last updated:** [June 30, 2025, 3:41pm UTC](https://discourse.holoviz.org/t/how-to-capture-heart-button-in-the-chatinterface/8828 "2025-06-30T15:41:12Z")

</div>

Hi team, The ChatInterface output provides a click-able “heart” icon. How can I get access to the state of this icon so I can utilize the feedback. Thanks!

---

## [Ability to send both text and file attachement intput together, in ChatInterface? ](https://discourse.holoviz.org/t/ability-to-send-both-text-and-file-attachement-intput-together-in-chatinterface/8742)

<div class="topic-metadata">

**Author:** [@Alex-Wenner-FHR](https://discourse.holoviz.org/u/Alex-Wenner-FHR)\
**Replies:** 2\
**Last updated:** [May 7, 2025, 6:19pm UTC](https://discourse.holoviz.org/t/ability-to-send-both-text-and-file-attachement-intput-together-in-chatinterface/8742 "2025-05-07T18:19:28Z")

</div>

I have two widgets in my ChatInterface, \[pn.widgets.TextInput(...), pn.widgets.FileInput(...)\] However I have noticed that I cannot send both a text message and file attachment together. When I type text and switch to t…

---

## [Panel ChatInterface](https://discourse.holoviz.org/t/panel-chatinterface/8401)

<div class="topic-metadata">

**Author:** [@Khamar-Uz-Zama](https://discourse.holoviz.org/u/Khamar-Uz-Zama)\
**Replies:** 1\
**Last updated:** [November 18, 2024, 9:12pm UTC](https://discourse.holoviz.org/t/panel-chatinterface/8401 "2024-11-18T21:12:19Z")

</div>

I am creating a Multi Agent chatbot using Panel. My issue is I have an agent who needs to retrieve some data by interactively asking user few questions. The Agent is able ask questions using Panel ChatInterface but the e…

---

## [Stream text to ChatInterface?](https://discourse.holoviz.org/t/stream-text-to-chatinterface/6976)

<div class="topic-metadata">

**Author:** [@ea42gh](https://discourse.holoviz.org/u/ea42gh)\
**Replies:** 32\
**Last updated:** [March 25, 2024, 2:42pm UTC](https://discourse.holoviz.org/t/stream-text-to-chatinterface/6976 "2024-03-25T14:42:31Z")

</div>

Trying to wrap my head around ChatInterface. Use case: a fairly complex dialgue, with steps controled by python code. I want to capture streaming output from the chatbot, parse it on the fly, and stream a modified ver…

---

## [Changing the font-size of the ChatInterface](https://discourse.holoviz.org/t/changing-the-font-size-of-the-chatinterface/6714)

<div class="topic-metadata">

**Author:** [@ransona](https://discourse.holoviz.org/u/ransona)\
**Replies:** 11\
**Last updated:** [February 14, 2024, 10:14pm UTC](https://discourse.holoviz.org/t/changing-the-font-size-of-the-chatinterface/6714 "2024-02-14T22:14:59Z")

</div>

Hi I have been struggling with changing the font size for the ChatInterfce. After some experimentation, using stylesheets, I got to identify the class .bk-panel-models-markup-HTML.markdown.message. Still, it doesn’t wor…

---

## [How to clear the entire chat log of a ChatInterface (Panel)?](https://discourse.holoviz.org/t/how-to-clear-the-entire-chat-log-of-a-chatinterface-panel/6759)

<div class="topic-metadata">

**Author:** [@asmith26](https://discourse.holoviz.org/u/asmith26)\
**Replies:** 2\
**Last updated:** [January 22, 2024, 5:13pm UTC](https://discourse.holoviz.org/t/how-to-clear-the-entire-chat-log-of-a-chatinterface-panel/6759 "2024-01-22T17:13:29Z")

</div>

Hi, I’m using a ChatInterface, and I notice in the docs it says it’s possible to “Clear the chat log”: Just wondering how to do this? Thanks!

---

## [Problem deploying panel app that uses ChatInterface on a webserver (via pyodide)](https://discourse.holoviz.org/t/problem-deploying-panel-app-that-uses-chatinterface-on-a-webserver-via-pyodide/6743)

<div class="topic-metadata">

**Author:** [@asmith26](https://discourse.holoviz.org/u/asmith26)\
**Replies:** 1\
**Last updated:** [January 21, 2024, 11:12am UTC](https://discourse.holoviz.org/t/problem-deploying-panel-app-that-uses-chatinterface-on-a-webserver-via-pyodide/6743 "2024-01-21T11:12:38Z")

</div>

Hi, I’m trying to deploy a panel app on a web server (i.e. not a panel server) by converting the script with panel convert app.py --to pyodide-worker --out web\_files/. The app uses a ChatInterface, but unfortunately whe…

---

## [How to bind a callback to the reactions in the ChatInterface component?](https://discourse.holoviz.org/t/how-to-bind-a-callback-to-the-reactions-in-the-chatinterface-component/6740)

<div class="topic-metadata">

**Author:** [@ahuang11](https://discourse.holoviz.org/u/ahuang11)\
**Replies:** 0\
**Last updated:** [January 17, 2024, 5:00pm UTC](https://discourse.holoviz.org/t/how-to-bind-a-callback-to-the-reactions-in-the-chatinterface-component/6740 "2024-01-17T17:00:01Z")

</div>

import panel as pn def react\_on\_click(reactions): print(reactions) def bind\_on\_send(instance, event): message = instance.objects\[-1\] pn.bind(react\_on\_click, message.param.reactions, watch=True) ci = pn.cha…

---

## [Examples using panel SpeechToText with ChatInterface?](https://discourse.holoviz.org/t/examples-using-panel-speechtotext-with-chatinterface/6733)

<div class="topic-metadata">

**Author:** [@asmith26](https://discourse.holoviz.org/u/asmith26)\
**Replies:** 1\
**Last updated:** [January 16, 2024, 9:42pm UTC](https://discourse.holoviz.org/t/examples-using-panel-speechtotext-with-chatinterface/6733 "2024-01-16T21:42:23Z")

</div>

Hi there, Just wondering if there are any example of using SpeechToText with ChatInterface? Might be nice to add something like a show\_speech button to the styling options: ChatInterface — Panel v1.3.6 Many thanks for…

---

## [ChatInterface streaming error with Langchain](https://discourse.holoviz.org/t/chatinterface-streaming-error-with-langchain/6589)

<div class="topic-metadata">

**Author:** [@sylvaint](https://discourse.holoviz.org/u/sylvaint)\
**Replies:** 4\
**Last updated:** [December 14, 2023, 6:27pm UTC](https://discourse.holoviz.org/t/chatinterface-streaming-error-with-langchain/6589 "2023-12-14T18:27:46Z")

</div>

Getting error string index out of range when trying to stream in ChatInterface with Langchain. works without streaming: def callback(contents: str, user: str, instance: pn.chat.ChatInterface): result = chain.invok…
