Cover image for joseph_appsmith

Joseph Petty Verified userVerified user

Sr. Developer Advocate

Appsmith

Chat Widget

November 21, 2024
5
ยท 0

Features

  • Markdown Support to format responses
  • HighlightJS to add syntax highlighting to code blocks
  • Copy button on code blocks

This custom widget is made to work with any AI's Chat API, for displaying an array of messages and adding syntax highlighting, markdown support, and a copy button on code samples. This template is using the built-in Appsmith AI, which is free to use and does not require an API key. However, you can easily add your API key for any API, and reconnect the chat widget to OpenAI, Anthropic or any other API.

Check out the tutorial at: 
https://community.appsmith.com/content/blog/building-chat-interface-use-any-ai