Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
aperture

GitHub Action

OpenAI Chat on Issues

v1.0.0

OpenAI Chat on Issues

aperture

OpenAI Chat on Issues

This is a GitHub Actions for running OpenAI's chat on GitHub Issues

Installation

Copy and paste the following snippet into your .yml file.

              

- name: OpenAI Chat on Issues

uses: snnaplab/[email protected]

Learn more about this action in snnaplab/openai-chat-on-issues

Choose a version

OpenAI Chat on Issues

This is a GitHub Actions for running OpenAI's chat on GitHub Issues.

Usage

name: OpenAI Chat

on:
  issues:
    types: [opened]
  issue_comment:
    types: [created]

jobs:
  chat:
    name: Chat
    runs-on: ubuntu-latest
    steps:
      - uses: snnaplab/openai-chat-on-issues@v1
        with:
          openai-key: ${{ secrets.OPENAI_KEY }}
          model: 'gpt-4' # option, default is 'gpt-3.5-turbo'
          system-prompt: | # option
            You are a helpful assistant.