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

baidu_ai

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

baidu_ai

  • 0.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Build Status

baidu_aip_ruby_sdk

Baidu AI Platform ruby sdk, unofficial.

Table of Contents

Installation

You may get the latest stable version from Rubygems:

$ gem install baidu_ai

For bundler:

gem 'baidu_ai'

Quick Start

require 'rubygems'
require 'baidu_ai'

# SpeechSynthesis example
BaiduAi.api_key = 'your api key'
BaiduAi.secret_key = 'your secret key'
BaiduAi::SpeechSynthesizer.speak 'QR-00000001', '横琴号十号线, 车辆即将到达创意谷,有 23 名乘客上车, 5 人下车'

Library Overview

Connecting

TLS/SSL is enabled by default:

Net::HTTP.start(uri.host, uri.port, :use_ssl => uri.scheme == 'https') do |http|

License

The baidu_aip_ruby_sdk ruby gem is licensed under the terms of the MIT license. See the file LICENSE for details.

Contact

FAQs

Package last updated on 23 Mar 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