{"id":20030374,"url":"https://github.com/kevinam99/gpt3-first-flight","last_synced_at":"2025-10-19T04:44:26.288Z","repository":{"id":119540083,"uuid":"394736858","full_name":"kevinam99/GPT3-First-Flight","owner":"kevinam99","description":"An Elixir client that works with GPT3","archived":false,"fork":false,"pushed_at":"2021-08-24T06:34:39.000Z","size":409,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-12T17:46:50.178Z","etag":null,"topics":["elixir","gpt3"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kevinam99.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":"2021-08-10T17:54:41.000Z","updated_at":"2021-08-24T06:34:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"13322378-7d78-4a69-9829-a2ddece72ed5","html_url":"https://github.com/kevinam99/GPT3-First-Flight","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinam99%2FGPT3-First-Flight","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinam99%2FGPT3-First-Flight/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinam99%2FGPT3-First-Flight/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinam99%2FGPT3-First-Flight/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kevinam99","download_url":"https://codeload.github.com/kevinam99/GPT3-First-Flight/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241460204,"owners_count":19966519,"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":["elixir","gpt3"],"created_at":"2024-11-13T09:26:06.137Z","updated_at":"2025-10-19T04:44:26.188Z","avatar_url":"https://github.com/kevinam99.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GPT3 First Flight\n![Elixir](https://img.shields.io/badge/elixir-%234B275F.svg?style=for-the-badge\u0026logo=elixir\u0026logoColor=white)\n![GitHub](https://img.shields.io/github/license/kevinam99/GPT3-First-Steps?color=blue)\n![GitHub last commit](https://img.shields.io/github/last-commit/kevinam99/GPT3-First-Steps)\n   \n**TODO: A lot!**  \nSucceeded in hiding the API key in lib/config/dev.exs  \nI don't know what else could be done except adding more functionalities using the API.\nAn Elixir client for using OpenAI's GPT3. I have used barebones API without any dependencies except Jason (to work with json) and HTTPoison (to make requests).\n\nSince OpenAI doesn't allow for batch processing so I used Elixir's Task module to\nimplement concurrency while reducing the overall time taken for executing multiple queries.\nSo far, I've worked with text classification that includes analysing sentiments and assessing whether a poll/survey answer is relevant to the surveyor. Have a look at [lib/gpt3_first_flight/](./lib/gpt3_first_flight/). Please head over to [lib/gpt3_first_flight/](lib/gpt3_first_flight/) for additional documentation. \n\n\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; **Be sure you have Elixir and Mix installed!**\n\n### Getting started\n1. Store your API key in ```lib/config/dev.exs``` as,\n```elixir\nimport Config\n\nconfig :gpt3_first_flight, api_key: \"xx-xxx\"\n```\nA reference [./config/dev.exs.example](./config/dev.exs.example) has also been included.\n2. Install the dependencies before running any file. Run\n```console\nMIX_ENV=dev mix deps.get\n```\n\n3. Compile\n```console\nMIX_ENV=dev mix compile\n```\n\n4. Run the tests \n```console\nMIX_ENV=dev mix test\n```\n\n5. To run a test completion task, run \n```console\nMIX_ENV=dev elixir lib/gpt3_first_flight.ex\n```\n\n6. Each module can only be run by invoking the ```start``` function with an input query.  **All inputs must be passed in a list, irrespective of the total number of inputs.**\n\nPlease head over to [./lib/gpt3_test_flight](./lib/gpt3_test_flight) for additional documentation. \n\u003c!-- Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)\nand published on [HexDocs](https://hexdocs.pm). Once published, the docs can\nbe found at [https://hexdocs.pm/gpt3_test](https://hexdocs.pm/gpt3_test). --\u003e\n\n### Author\n1. Kevin Mathew, \u003ckevinam99.work@gmail.com\u003e\n    \n    \u0026nbsp; \u0026nbsp; [![Twitter](https://img.shields.io/twitter/url/https/twitter.com/neverloquacious.svg?style=social\u0026label=Follow%20%40neverloquacious)](https://twitter.com/neverloquacious)\n     \u003ca href=\"https://www.linkedin.com/in/kevin-a-mathew/\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/linkedin-%230077B5.svg?\u0026style=flat\u0026logo=linkedin\u0026logoColor=white\" /\u003e\n  \u003c/a\u003e\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevinam99%2Fgpt3-first-flight","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevinam99%2Fgpt3-first-flight","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevinam99%2Fgpt3-first-flight/lists"}