/apis

API definitions of apis.sagittarius.ai

Primary LanguageJavaScript

Build Status

Principles

  • All transmission must be encrypt.
  • All data storage must be encrypted.
  • All privacy info must not be collected.

Documents

Development Guide

Preparation:

git clone https://github.com/googleapis/googleapis ../
rsync -av --delete ../googleapis/google/ ./google

brew install -y grpc

go get -u github.com/golang/protobuf/{proto,protoc-gen-go}
go get -u google.golang.org/grpc
go get -u github.com/ckaznocha/protoc-gen-lint
go get -u github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc

npm install -g grpc-tools
npm install -g grpc_tools_node_protoc_ts
npm install -g typedoc

# install swift plugins
git clone https://github.com/grpc/grpc-swift.git -b nio
cd grpc-swift
make plugins
cp protoc-gen-* /usr/local/bin/

Also look at to build api with swift

Generators and Scripts

  • lint.sh to check .proto file syntax, etc.
  • docgen.sh to generating documents
  • codegen.sh generating source code
  • publish.sh publish sagi-api npm package

Examples

Check test code in src/go and src/nodejs/test

Other References

translation - translate and detect languages

media - thumbnails, etc.

speech - audio and speech to text

language - natural language analysis, classification, recognition