From 5d050e8432a86023db9cf1c8a57c6f3e19d76c58 Mon Sep 17 00:00:00 2001 From: Dongri Jin Date: Mon, 12 Dec 2022 13:46:43 +0900 Subject: [PATCH] Add .github --- .github/bug_report.yml | 56 +++++++++++++++++++++++++++++++++++++ .github/feature_request.yml | 20 +++++++++++++ README.md | 2 +- 3 files changed, 77 insertions(+), 1 deletion(-) create mode 100644 .github/bug_report.yml create mode 100644 .github/feature_request.yml diff --git a/.github/bug_report.yml b/.github/bug_report.yml new file mode 100644 index 0000000..43d523b --- /dev/null +++ b/.github/bug_report.yml @@ -0,0 +1,56 @@ +name: Bug report +description: Create a report to help us improve +labels: ["bug"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + - type: textarea + id: what-happened + attributes: + label: Describe the bug + description: A clear and concise description of what the bug is, and any additional context. + placeholder: Tell us what you see! + validations: + required: true + - type: textarea + id: repro-steps + attributes: + label: To Reproduce + description: Steps to reproduce the behavior. + placeholder: | + 1. Fetch a '...' + 2. Update the '....' + 3. See error + validations: + required: true + - type: textarea + id: code-snippets + attributes: + label: Code snippets + description: If applicable, add code snippets to help explain your problem. + render: JavaScript + validations: + required: false + - type: input + id: os + attributes: + label: OS + placeholder: macOS + validations: + required: true + - type: input + id: language-version + attributes: + label: Rust version + placeholder: Rust v1.64.0 + validations: + required: true + - type: input + id: lib-version + attributes: + label: Library version + placeholder: openai-api-rs v0.1.0 + validations: + required: true diff --git a/.github/feature_request.yml b/.github/feature_request.yml new file mode 100644 index 0000000..c61321f --- /dev/null +++ b/.github/feature_request.yml @@ -0,0 +1,20 @@ +name: Feature request +description: Suggest an idea for this library +labels: ["feature-request"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this feature request! + - type: textarea + id: feature + attributes: + label: Describe the feature or improvement you're requesting + description: A clear and concise description of what you want to happen. + validations: + required: true + - type: textarea + id: context + attributes: + label: Additional context + description: Add any other context about the feature request here. \ No newline at end of file diff --git a/README.md b/README.md index 43f6d4d..0e07c25 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# OpenAI API client library for Rust +# OpenAI API client library for Rust (unofficial) ## Installation: Cargo.toml