Code Monkey home page Code Monkey logo

protobufs's Introduction

Instill AI Protobufs

This repository is the interface definitions of the APIs of Instill Core, Instill Model, and Instill VDP that support both REST and gRPC protocols. You can also use these definitions with open source tools to generate client libraries, documentation, and other artifacts.

Overview

The APIs use Protocol Buffers version 3 (proto3) as the Interface Definition Language (IDL) to define the API interface and the structure of the payload messages. The same interface definition is used for both RESTful (via gRPC-Gateway) and RPC versions of the API, which can be accessed over different wire protocols:

  • JSON over HTTP
  • Protocol Buffers over gRPC

CI/CD

  1. PR sent to the main branch will automatically generate, lint and commit the OpenAPI definitions for the gRPC methods exposed over HTTP. This is done with the buf generate and redocly lint commands.
  2. PR sent to the main branch will trigger buf-check job, in which the changes in proto files will be validated via buf lint and buf breaking commands.
  3. Push to the main branch will trigger push-buf and gen-buf-protogen-* jobs, in which push-buf will push the buf module to the BSR repository and gen-buf-protogen-* will push the auto-gen codes to the corresponding protogen-* repository.
  4. Release in main branch will trigger release-protogen-* job, in which a specific release commit will be pushed to each protogen-* repository. This release process makes sure that all auto-gen code repositories will have the same release version as protobufs.

protobufs's People

Contributors

pinglin avatar donch1989 avatar heiruwu avatar phelan164 avatar xiaofei-du avatar jvallesm avatar droplet-bot avatar yougigun avatar tonywang10101 avatar chuang8511 avatar tillknuesting avatar bryan107 avatar praharshjain avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.