https://github.com/tuanle03/content_checker
The Ruby gem, ContentChecker, offers content checking functionality via API with customizable settings for machine learning models.
https://github.com/tuanle03/content_checker
gemfile ruby rubygem
Last synced: 4 months ago
JSON representation
The Ruby gem, ContentChecker, offers content checking functionality via API with customizable settings for machine learning models.
- Host: GitHub
- URL: https://github.com/tuanle03/content_checker
- Owner: tuanle03
- Created: 2023-09-26T03:21:34.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-15T15:04:18.000Z (over 2 years ago)
- Last Synced: 2024-02-15T16:28:29.007Z (over 2 years ago)
- Topics: gemfile, ruby, rubygem
- Language: Ruby
- Homepage:
- Size: 19.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# 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:
```ruby
gem 'content_checker'
```
And then execute:
```bash
$ bundle
```
Or install it yourself as:
```bash
$ gem install content_checker
```
## Contributing
Contribution directions go here.
## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).