Master LLMs with our FREE course in collaboration with Activeloop & Intel Disruptor Initiative. Join now!

Publication

Create a Self-Moderated Commentary System with LangChain and OpenAI
Latest   Machine Learning

Create a Self-Moderated Commentary System with LangChain and OpenAI

Last Updated on November 6, 2023 by Editorial Team

Author(s): Pere Martra

Originally published on Towards AI.

We’re going to create a self-moderated comment response system using two of the models available on OpenAI chained with LangChain. Preventing our system from being trolled.

This article is part of a free course about Large Language Models available on GitHub.

As a disclaimer, I would like to note that this article is merely an example created to demonstrate how the LangChain tool works. There are so many ways to create a self-moderated commentary system. The one we’ll be exploring in this article is just a very basic solution.

The basic idea is to isolate the model that ultimately publishes the response from the user input it is answering to.

In other words, we won’t allow the model interpreting the user’s text to be the ultimate authority for publishing… Read the full blog for free on Medium.

Join thousands of data leaders on the AI newsletter. Join over 80,000 subscribers and keep up to date with the latest developments in AI. From research to projects and ideas. If you are building an AI startup, an AI-related product, or a service, we invite you to consider becoming a sponsor.

Published via Towards AI

Feedback ↓