{"id":17131056,"url":"https://github.com/jac18281828/openai","last_synced_at":"2025-03-24T05:12:53.990Z","repository":{"id":225361296,"uuid":"765790115","full_name":"jac18281828/openai","owner":"jac18281828","description":"openai python demo repo","archived":false,"fork":false,"pushed_at":"2024-03-01T18:17:49.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-29T10:49:53.424Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jac18281828.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-01T16:10:57.000Z","updated_at":"2024-03-01T16:15:16.000Z","dependencies_parsed_at":"2024-12-01T11:37:02.701Z","dependency_job_id":null,"html_url":"https://github.com/jac18281828/openai","commit_stats":null,"previous_names":["jac18281828/openai"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jac18281828%2Fopenai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jac18281828%2Fopenai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jac18281828%2Fopenai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jac18281828%2Fopenai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jac18281828","download_url":"https://codeload.github.com/jac18281828/openai/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245212298,"owners_count":20578443,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T19:13:54.249Z","updated_at":"2025-03-24T05:12:53.965Z","avatar_url":"https://github.com/jac18281828.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenAI ChatGPT API Python Example\n\nThis is a demo Python project that demonstrates how to use the OpenAI ChatGPT API to generate conversational responses.\n\n## Prerequisites\n\nBefore running this project, make sure you have the following:\n\n- Python 3.6 or higher installed\n- OpenAI Python library installed (`openai`)\n\n## Installation\n\n1. Clone this repository:\n\n    ```shell\n    $ git clone https://github.com/jac18281828/openai.git\n    ```\n\n2. Navigate to the project directory:\n\n    ```shell\n    $ cd openai\n    ```\n\n3. Install the required dependencies:\n\n    ```shell\n    $ pip3 install --upgrade pip\n    $ pip3 install -r requirements.txt\n    ```\n\n## Usage\n\n1. Set up your OpenAI API credentials by following the instructions in the [OpenAI API documentation](https://docs.openai.com/authentication/).\n\n2. create `.env` and set `OPENAI_API_KEY` equal to your api key\n\n3. Run the script:\n\n    ```shell\n    python3 prompt.py\n    ```\n\n## License\n\nThis project is licensed under the [BSD-3-Clause License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjac18281828%2Fopenai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjac18281828%2Fopenai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjac18281828%2Fopenai/lists"}