Watch the webinar: Building reliable data ingestion for industrial monitoring
More details
Quix logo.
Quix Homepage
Product
Quix Cloud
Quix Streams
Solutions
Industry: Energy
Industry: Manufacturing
Customer stories
Project templates
App templates
Integrations
Integrations
Pricing
Pricing
Blog
Blog
Docs
Docs
Github icon
View our Github repo
Slack Icon
Join our Slack community
Explore the platform
Explore the platform
Project gallery
See it running in QuixClone this project
Interested in this use case?
If you'd like us to focus on building this template next, register your interest and let us know. You can also head over to the Quix Community Slack if you've got any questions.
Register interest
  • Github
    Project repo
  • Docs tutorial
  • Project frontend
  • Explore in Quix Cloud
Built on Quix with:
LangChain logo
Redpanda logo
InfluxDB logo
Project template
Use case
Code snippet

AI customer support

Two sets of AI-powered chatbots are engaged in conversations with one another. One set plays the role of customer support and the other set acts as disgruntled customers complaining to the support agents about specific products. Replicas are used for horizontal scalability and Kafka is used for message transport. Llama-2 is used for the local LLM. The messages are scored for sentiment with a sentiment analysis model. The project includes a Streamlit dashboard where you can see the ongoing conversations and their sentiment scores.

Use cases:
LLMs
Sentiment analysis
Created by:
Quix avatar
Quix
Quix
AI customer support bot pipeline

Main project components

AI Support Agent

A service powered by a local large language model that is prompted to answer customer enquiries.

AI Customer

A service powered by a local large language model that is prompted to ask the AI support agent for help.

Chat sentiment analysis

Calculates sentiment of the AI generated chat messages using a local model.

InfluxDB Sink

Shows how to stream the conversation history from Quix to an InfluxDB serverless database.

Sentiment Dashboard

A simple dashboard built in Streamlit that is designed to show the conversation history for the three most recently active conversations. It includes sentiment scores for the individual messages, an average for each conversation overall and a running average for all the concurrently running conversations.

Technologies used

  • LangChain
  • Llama-cpp-python
  • Llama-2
  • Python
  • Quix Streams
  • Apache Kafka
  • Pandas
  • Streamlit

Using this template

This project could be easily adapted for use cases such as:

  • AI-powered customer support for human customers
  • Testing sentiment analysis models or text-analysis pipelines (i.e. toxic speech or spam detection)
Interested in this use case?
If you'd like us to focus on building this template next, register your interest and let us know. You can also head over to the Quix Community Slack if you've got any questions.
Register interest
  • Github
    Project repo
  • Docs tutorial
  • Project frontend
  • Explore in Quix Cloud
Built on Quix with:
LangChain logo
Redpanda logo
InfluxDB logo
Quix logo.
Quix Homepage
Github
Slack
Slack
Slack
LinkedIn
Twitter
YouTube
Youtube
Product
Quix CloudQuix StreamsIntegrationsPricingExplore the platformBook a demo
Developers
DocsQuix Streams repoRelease notesService status
Serverless portal login
Solutions
Project templatesApp templatesCustomer storiesEnergy industryManufacturing industry
Community
Community hubEventsContributingJoin us on Slack
Resources
Resources hubBlogQuix AcademyWebinars & videosCloud security principles
Company
About usCareersDiversity & inclusionEnvironmental statement
© 2025 Quix Analytics
TermsPrivacyLicense Terms
ISO27001 certified