/

OpenAI

&

GitHub

Integrate OpenAI and GitHub

Connect OpenAI and GitHub nodes in your workflow. Integrate with any tool or database and ship powerful backend logic and APIs instantly - No code required!

Node stack

Supported OpenAI and GitHub Nodes

Add any other tools or your preferred database nodes. If an integration is not available generate your own using AI

Fetch OpenAI File

Generates a readable stream for a file stored in OpenAI Storage. Return this stream using a 'Return' node to receive it through an API endpoint (to download the file, write it to the file system, etc.)

Generate Embeddings

Generate embeddings for a given content using OpenAI text-embedding-ada-002 model

GPT-4 Vision

Use GPT-4 Vision to ask questions about images.

Image Generator

Converts text to Base64 image using OpenAI's DALL·E models.

JSON Generator

Generates text based on a given user and system prompt and always returns a JSON object using the OpenAI GPT (Turbo) APIs.

LLM Extract

Extract structured data from any text input.

LLM Extract URL

Extract structured data from any web page.

Multi-Image GPT-4 Vision

Analyses multiple images using the OpenAI GPT-4 Vision model.

Neighbor Search

Find the nearest neighbors for a given search query using OpenAI embeddings

OpenAI Assistant

Add different script nodes and let the AI Assistant automatically choose which to execute based on the input. Built to work with OpenAI Assistants API V2.

OpenAI Assistant (Stream Response)

Add different script nodes and let the AI Assistant automatically choose which to execute based on the input. The node returns a streamed text response (meant to be returned back to the client) and the thread ID (to track the conversation). Built to work with OpenAI Assistants API.

Stream Response

Send a chat message to OpenAI and return the response stream. --- If you plan on sending this stream back to the client as the response, you may want to consider adding a **Set Response Header** node following this node (and before the return node) with the key set to `content-type` and the value set to `text/plain`, to make it easier for the client to figure out how to handle the stream.

Text Generator

Generates text using OpenAI API for a given user and system prompt

Text to Speech

Converts text to speech using OpenAI API and returns audio in Base64.

Whisper Speech To Text

Convert audio/speech to text using OpenAI's Whisper API.

GitHub Trigger

Creates a repository webhook on GitHub. In other words, this workflow will be executed when there is an event on the provided repository.

Add Labels to Issues

Appends the provided labels to a Github PR/Issue using Octokit

Commit File - OAuth

Commit a file to a GitHub repository using a personal access token, repository name, branch, file name, and file content.

Count Open Issues

Gets the number of open issues excluding pull requests in a public repository using Octokit library

Create Branch

Create a new branch on Github using Octokit with personal access token, repository, base branch, and new branch name

Create Branch - OAuth

Create a new branch on Github using Octokit with personal access token, repository, base branch, and new branch name

Create Pull Request

Create a pull request on GitHub using Octokit

Create Pull Request - OAuth

Create a new pull request on Github

Fetch Commits Since Last Release

Fetches commits and pull requests merged since the last release using Octokit

Fetch GitHub User

Fetches a GitHub user by username

Get File Content

Fetches the content of a file from a GitHub repository.

Get Issue

Fetch data of a specific issue or PR using octokit library

Get Issue - OAuth

Fetches a specific issue from a GitHub repository

Get Issue Labels

Fetches the existing labels in a Github repository using Octokit

Get Issue Labels - OAuth

Fetches labels of a GitHub repository

Get User - OAuth

Fetches a GitHub user by username

Rename Branch - OAuth

Renames a Github branch

Quick start

How to integrate OpenAI and GitHub

Step 1 — Add the nodes to your workflow

Create a new workflow in BuildShip, click “Add node”, and select the OpenAI and GitHub actions you want to use.

Step 2 — Configure each node

Go to each node to authenticate (or add your API key) and fill in the required parameters.

Step 3 — Connect the nodes

Each node in BuildShip can connect to others by using their output variables. When you reference a variable from one node in another, BuildShip automatically links them in the workflow.

Step 4 — Test your workflow

Define your starting data in the Inputs node and choose what to do with the result in the Flow Output node. Finally, run a test to see your workflow in action.

blog posts & tutorials

Recommended Reads

Below are recommneded blogs that will help in your journey