Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

a3rt_client

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

a3rt_client


Version published
Maintainers
1
Created
Source

A3rtClient

https://a3rt.recruit-tech.co.jp/ A3RT (art) is an abbreviation of "ANALYTICS & ARTIFICIAL INTELLIGENCE API VIA RECRUIT TECHNOLOGIES". A3RT is a general term for a project-oriented solution for unifying and maintaining logic in a field called artificial intelligence in a single brand, represented by Deep Learning among machine learning.

Installation

gem 'a3rt_client'

And then execute:

$ bundle

Or install it yourself as:

$ gem install a3rt_client

Usage

Talk API

https://a3rt.recruit-tech.co.jp/product/talkAPI/

require "a3rt_client"
# option requrest_parameter: callback
response = A3rt::Client.talk_api(apikey: apikey, query: "おはようございます")
p resonse
# => {"status"=>0, "message"=>"ok", "results"=>[{"perplexity"=>1.189832892522537, "reply"=>"今日も暑いですね"}]}

Text Suggest

https://a3rt.recruit-tech.co.jp/product/textSuggestAPI/

require "a3rt_client"
# option requrest_parameter: callback, style, separation
response = A3rt::Client.text_suggest(apikey: apikey, previous_description: "水")
p resonse
# => {"status"=>0, "message"=>"ok", "suggestion"=>["を飲んでいます。", "の下にいる象たちの顔が見えています。", "の中に入れられています。"]}

Text Summarization

require "a3rt_client"
p A3rt::Client.text_summarization(apikey: apiKey, sentences: "センテンス1。センテンス2。センテンス3。")
# => {"message"=>"Summarization is completed", "status"=>0, "summary"=>["センテンス1"]}

Proofreading API

require "a3rt_client"
p A3rt::Client.proofreading(apikey: apikey, sentence: "システムの企画から開発・運用まで幅広く関われます。")
# => {"resultID"=>"4e9ae6450fe2", "status"=>0, "message"=>"ok", "inputSentence"=>"システムの企画から開発・運用まで幅広く関われます。", "normalizedSentence"=>"システムの企画から開発・運用まで幅広く関われます。", "checkedSentence"=>"システムの企画から開発・運用まで幅広く関われます。"}
require "a3rt_client"
p A3rt::Client.image_search(apikey: apikey, query: "馬に乗った男性")

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/yk0817/a3rt_client. This project is intended to be a safe, welcoming space for

License

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

Code of Conduct

Everyone interacting in the A3rtClient project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

FAQs

Package last updated on 09 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc