Skip to content

The Ruby gem, ContentChecker, offers content checking functionality via API with customizable settings for machine learning models.

Notifications You must be signed in to change notification settings

tuanle03/content_checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Content Checker

The given Ruby code is a module called ContentChecker that provides a configuration class and a content checking class.

The configuration class defines default settings for the content checking API, such as the API key and the machine learning model to use.

The content checking class, called DiscountCodeChecker, has a method called check that takes in content and a model and makes an API request to get content checking results using the API settings defined in the configuration class.

The module also provides a way to configure the API settings by using the configure method.

Overall, this module can be used for content checking with machine learning models via an API, and allows customization of the API settings.

Usage

How to use my plugin.

Installation

Add this line to your application's Gemfile:

gem 'content_checker'

And then execute:

$ bundle

Or install it yourself as:

$ gem install content_checker

Contributing

Contribution directions go here.

License

The gem is available as open source under the terms of the MIT License.

About

The Ruby gem, ContentChecker, offers content checking functionality via API with customizable settings for machine learning models.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published