Tutorials : Chat

Customizing Stream Chat iOS/Swift App for a Unique Look: A Quick Start Guide

This article demonstrates how to perform basic customizations such as swapping colors, fonts, and icons with assets, color, and typographic styles from your style guide. You can create a free chat trial account to follow along with the tutorial. Resources You can find and download the completed Xcode project on GitHub. This tutorial is for
Read more ->
11 min read

Adding AI Chat Features to a Modern Next.js Application

If one topic has been dominating the news lately, it has been AI. Today, we're diving into an exciting project combining the power AI brings with a modern web app. We will build an AI chat app using Next.js, leveraging Stream’s React Chat SDK and incorporating a sleek UI design inspired by a Dribbble concept⁠
Read more ->
9 min read

Implementing Group Chat with Redis Pub/Sub in Next.js 15

Redis is one of those remarkable tools that seem able to do everything. Need a lightning-fast in-memory cache? Redis. Need a straightforward database ideal for key-value pairs? Redis. Need a message broker for building out a publish/subscribe chat system? There’s Redis again. And that is how we’re going to use it today. Redis gives us
Read more ->
13 min read

Crafting Reactive Chat Interfaces Using Svelte's Component-Based Approach

Svelte doesn’t get anything like the kind of love that React receives, but that doesn’t mean developers should sleep on it. Last week saw the release of Svelte 5, and while this update has React-ified Svelte a little with the introduction of runes such as $state() and $effect(), there is still enough elegance and power
Read more ->
13 min read

AWS Comprehend for Sentiment Analysis in Chat

In the digital age, chat messaging has become an integral part of daily communication. From personal conversations to customer support interactions, these text-based exchanges contain a wealth of information about users' emotions, opinions, and experiences. Enter sentiment analysis—a powerful tool that can unlock the emotional content hidden within these messages. Sentiment analysis uses natural language
Read more ->
7 min read

Building an NPX Script for Project Setup

Setting up a new project can be tedious and repetitive from multiple angles. As end-users, we are learning a new platform, new paradigms, and maybe a new framework to build our next dream project. As a company, we want to get our potential users up and running as quickly as possible and make it easy
Read more ->
9 min read

Using Prompt Engineering to Refine a Large Language Model for Content Moderation

In our previous blog post, we created an agent using OpenAI GPT that can understand whether or not messages contain spam. We connected it to the Stream Chat API so that incoming messages in chat can be automatically flagged and reviewed by moderators using Stream Moderation Dashboard. To enhance the accuracy of our agent and
Read more ->
16 min read

Build an LLM-Powered Agent for Real-Time Content Moderation

Maintaining a safe and engaging chat environment is crucial for any online community. In this post, we'll demonstrate the practical application of Large Language Models (LLMs) in content moderation, showcasing how advanced AI can enhance community interactions by effectively managing unwanted content. We’ll also introduce essential tools and guide you through setting up a real-time
Read more ->
12 min read

How To Secure a Vite-Powered React App With Seald End-to-End Encryption

When sending messages across a chat app, one way to ensure the data and conversations are not intercepted is to build proper security to shield people who use the app. This article dives into how to implement strong end-to-end (E2EE) encryption in your app to protect users. We will integrate Seald’s E2EE into Stream’s Chat
Read more ->
17 min read