{"id":27118054,"url":"https://github.com/royborgen/askai","last_synced_at":"2025-04-07T06:50:03.716Z","repository":{"id":180566692,"uuid":"585134721","full_name":"royborgen/askAI","owner":"royborgen","description":"A Python script that allows the user to chat with an AI using OpenAI's API ","archived":false,"fork":false,"pushed_at":"2024-11-20T20:45:32.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-20T21:36:10.441Z","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":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/royborgen.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":"2023-01-04T12:07:05.000Z","updated_at":"2024-11-20T20:45:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"5722798f-a5a5-4d5f-beb9-d257f57c7537","html_url":"https://github.com/royborgen/askAI","commit_stats":null,"previous_names":["royborgen/askai"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/royborgen%2FaskAI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/royborgen%2FaskAI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/royborgen%2FaskAI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/royborgen%2FaskAI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/royborgen","download_url":"https://codeload.github.com/royborgen/askAI/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247608149,"owners_count":20965950,"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":"2025-04-07T06:50:03.153Z","updated_at":"2025-04-07T06:50:03.668Z","avatar_url":"https://github.com/royborgen.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# askAI\nA Python script that allows the user to chat with an AI using OpenAI's API. For as long as the script is running, the AI will remember the conversation your having. \n\n## Example output: \n![image](https://user-images.githubusercontent.com/60260940/210553358-aade3dda-0090-41a8-a840-73d9f10ebce4.png)\n\n\n## Command\n- /quit will terminate the script\n- CTRL+C will terminate the script\n\n## Requirements\nThe script requires the following modules to be installed: \n- openai \n- random\n- configparser\n\nThe scripts looks for your OpenAI API key in config.ini, location as it is located. The file needs to have the have the following format: \n```\n[config]\napi_key = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n```\n\n## Getting an OpenAI API key: \n\nRegister on OpenAP's webpage: https://beta.openai.com/signup\n\nAfter signing up, navigate to view API keys in the menu\n1. Click on the menu \"Personal\" in the top right corner: \n2. Click view API keys\n3. Create new secrey key\n\n![image](https://user-images.githubusercontent.com/60260940/210555274-841d5021-d0ba-4b51-9d5a-c383325eb346.png)\n\n4. Copy the key and paste it in config.ini\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froyborgen%2Faskai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froyborgen%2Faskai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froyborgen%2Faskai/lists"}