Mercury Dark LogoMercury LogoCloudCloud (opens in a new tab)PricingPricingAPI DocsAPI DocsExamplesExamplesTutorialsTutorialsIntegrationsIntegrations
GitHubGitHub (opens in a new tab)
  • Get started
  • How does it work?
  • Installation
  • Widgets
  • Custom Widgets
  • Input Widgets
    • App
    • Button
    • Checkbox
    • File
    • MultiSelect
    • Numeric
    • Range
    • Select
    • Slider
    • Text
  • Output Widgets
    • Chat
    • Confetti
    • JSON
    • Markdown
    • Note
    • NumberBox
    • OutputDir
    • PDF
    • APIResponse
    • Stop
    • Table
  • Features
  • Am I in Mercury?
  • Authentication
  • Commands
  • Embedding
  • Export to PDF or HTML
  • Multiple Notebooks
  • Output files
  • Schedule notebook
  • Notebook REST API
  • Show or hide code
  • Welcome message
  • Mercury Cloud
  • Install your packages
  • Secrets Management
  • Share Notebooks
  • Style customization
  • Users Analytics
  • Users Management
  • On Premise Deployment
  • Docker Compose
  • Ngrok

On This Page

  • Parameters
Question? Give us feedback → (opens in a new tab)Edit this page on GitHub →
API Docs
Output Widgets
Chat

Chat

Display strings like a chat.

import mercury as mr
messages = ["What is your name?", "My name is Piotr", "How are you?", "Fine, thanks!"]
mr.Chat(messages)
Using Chat widget in Jupyter Notebook

Parameters

  • messages (list of strings) - a list of strings to be displayed as chat
Output WidgetsConfetti

Mercury

Mercury

  • Documentation
  • Tutorials
  • Examples

Contact

  • Contact us
  • Support
  • GitHub

Legal

  • Privacy Policy
  • Terms of Service

Subscribe to our newsletter

Join the Mercury newsletter and stay updated on new releases, features, and tutorials.

Subscribe

© 2024 MLJAR Sp. z o.o. All rights reserved.