gpt-code-generator
summery
GPT code generator refer to GitHub repository
for user
Environment Variables
use GitHub Actions
name: Save precondition indexes from GitHub repositry for generate code
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *' # every day at midnight
permissions:
actions: read
contents: read
id-token: write
checks: write
pull-requests: write
jobs:
save:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Auto GPT Review With Preconditions
uses: wakuwaku3/gpt-code-generator@v0.0.0
with:
AZURE_OPEN_AI_KEY: "${{ secrets.AZURE_OPEN_AI_KEY }}"
AZURE_OPEN_AI_ENDPOINT: "${{ secrets.AZURE_OPEN_AI_ENDPOINT }}"
AZURE_OPEN_AI_VERSION: "2023-05-15"
AZURE_OPEN_AI_MODEL_NAME: "gpt-35-turbo"
AZURE_OPEN_AI_MODEL_DEPLOY_NAME: "gpt-35-turbo"
AZURE_OPEN_AI_EMBEDDING_MODEL_NAME: "text-embedding-ada-002"
AZURE_OPEN_AI_EMBEDDING_MODEL_DEPLOY_NAME: "text-embedding-ada-002"
GOOGLE_APPLICATION_CREDENTIALS_JSON: "${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_JSON }}"
GOOGLE_INDEX_BUCKET_NAME: "${{ secrets.GOOGLE_INDEX_BUCKET_NAME }}"
GITHUB_OWNER: wakuwaku3 # optional, default: ${GITHUB_REPOSITORY_OWNER}
GITHUB_REPO: gpt-code-generator # optional, default: ${GITHUB_REPOSITORY#${GITHUB_REPOSITORY_OWNER}/}
GITHUB_TOKEN: "${{ secrets.TOKEN }}" # optional, default: ${{ secrets.GITHUB_TOKEN }}
IGNORE_FILE_EXTENSIONS: "" # optional
IGNORE_DIRECTORIES: "" # optional
install command
pip install gpt-code-generator
save-code-generating-precondition command
save-code-generating-precondition --help
gpt-code-generator command
gpt-code-generator --help
for developer setup
pip install poetry
poetry config virtualenvs.in-project true --local
make install
Metadata
Release files for gpt-code-generator 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gpt_code_generator-0.1.1.tar.gz | 5.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gpt_code_generator-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.8 kB
Release files / gpt_code_generator-0.1.1.tar.gz
| Download URL | gpt_code_generator-0.1.1.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
adcedb77be1471be399a2644f4e8423e637875a16fe5000773b6f60654442e8b
|
|
BLAKE2b-256 checksum How to use checksums |
871afa949802693850bdec88a7261eb92243e4156139e71fc185e2b268d958f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.11.6 Linux/6.2.0-1014-azure
|
Release files / gpt_code_generator-0.1.1-py3-none-any.whl
| Download URL | gpt_code_generator-0.1.1-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c6e642e33b1d82239fde4382ea682b1130f441b72c73b5b1fba711f6905310c3
|
|
BLAKE2b-256 checksum How to use checksums |
291d26167d9ec4971226b7c962657281916343d458208a208bb72c1b975c533a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.11.6 Linux/6.2.0-1014-azure
|