{"id":19468262,"url":"https://github.com/poteat/gpt3-cli","last_synced_at":"2025-04-25T11:32:21.047Z","repository":{"id":57252792,"uuid":"279439867","full_name":"poteat/gpt3-cli","owner":"poteat","description":"Typescript CLI and API to OpenAI's state-of-the-art machine learning platform.","archived":false,"fork":false,"pushed_at":"2020-08-26T02:57:51.000Z","size":18,"stargazers_count":64,"open_issues_count":0,"forks_count":19,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-30T08:52:45.804Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/poteat.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-14T00:18:36.000Z","updated_at":"2024-08-12T19:10:28.000Z","dependencies_parsed_at":"2022-08-31T22:11:24.100Z","dependency_job_id":null,"html_url":"https://github.com/poteat/gpt3-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poteat%2Fgpt3-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poteat%2Fgpt3-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poteat%2Fgpt3-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poteat%2Fgpt3-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/poteat","download_url":"https://codeload.github.com/poteat/gpt3-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223870337,"owners_count":17217347,"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-11-10T18:40:22.554Z","updated_at":"2024-11-10T18:40:23.072Z","avatar_url":"https://github.com/poteat.png","language":"TypeScript","readme":"# GPT3 CLI API\n\nA simple NodeJS wrapper library and CLI to interface with OpenAI's Beta API. Written in Typescript.\n\n## Requirements\n\nWhen using the CLI, the API key and secret key must be defined in your environment under `OPENAI_KEY` and `OPENAI_SECRET_KEY` respectively.\n\nWhen using this package as a library, you may either provide the keys in the environment as above, or provide them as a final `auth` parameter.\n\n## Installation\n\nIf CLI:\n\n```sh\nnpm i -g gpt3\n```\n\nIf programmatic:\n\n```\nnpm i gpt3\n```\n\n## CLI Usage\n\nYou pass in the starter text as the first parameter, and the tool returns the completion.\n\n```\n\u003e gpt3 \"Once upon a time, there was a thing...\"\n\n\"Once upon a time, there was a thing that did this, etc, foobar.\"\n```\n\n## Programmatic Usage\n\n```ts\nimport { getCompletion } from \"gpt3\";\n\nconst result = await getCompletion(\"Once upon a time, \");\n\n// etc.\n```\n\n## Limitations and Future Work\n\nFeatures not supported, but which I eventually plan to:\n* Streaming\n* Simple filtering, optional clean-up logic\n* Automatic truth checking\n* Search API\n* Fine-tuning API (Once it comes out)\n* Pre-selected prompt generation logic","funding_links":[],"categories":["📦 Legacy \u0026 Inactive Projects"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoteat%2Fgpt3-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpoteat%2Fgpt3-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoteat%2Fgpt3-cli/lists"}