{"id":13862313,"url":"https://github.com/microprediction/gptprobe","last_synced_at":"2025-03-26T23:31:01.221Z","repository":{"id":156364794,"uuid":"632933024","full_name":"microprediction/gptprobe","owner":"microprediction","description":"For unmanned missions into GPT returning structured data","archived":false,"fork":false,"pushed_at":"2023-05-16T11:48:48.000Z","size":3905,"stargazers_count":12,"open_issues_count":3,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T03:12:58.545Z","etag":null,"topics":["autogpt","gpt","gpt-4","gpt4-api"],"latest_commit_sha":null,"homepage":"","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/microprediction.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-04-26T12:32:37.000Z","updated_at":"2024-06-14T15:03:23.000Z","dependencies_parsed_at":"2024-08-05T06:14:47.471Z","dependency_job_id":null,"html_url":"https://github.com/microprediction/gptprobe","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microprediction%2Fgptprobe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microprediction%2Fgptprobe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microprediction%2Fgptprobe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microprediction%2Fgptprobe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/microprediction","download_url":"https://codeload.github.com/microprediction/gptprobe/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245753864,"owners_count":20666827,"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":["autogpt","gpt","gpt-4","gpt4-api"],"created_at":"2024-08-05T06:01:41.703Z","updated_at":"2025-03-26T23:30:59.299Z","avatar_url":"https://github.com/microprediction.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# gptprobe\nSimple example:\n\n    from gptprobe.askfor.dictfrompoorlyformattedtext import ask_for_text_from_poorly_formatted_dict_text\n    messy_dict_text = \"\"\" Final score are \n                                      Australia  1 \n                                      Brazil     2\n                                        bummer \"\"\"\n    print(ask_for_text_from_poorly_formatted_dict_text(text = messy_dict_text))\n\nThe result is:\n\n    {\"Australia\": \"1\", \"Brazil\": \"2\"}\n   \nThis package contains simple and complex multi-step interrogations intended to yield structured data, including patterns where ChatGPT4 tries to \nhelp itself out of a rut, rephrases questions, ratifies answers using a different key, tries to reformat its own responses, and so forth. It may help with your own unmanned missions into the galactic brain. \n\n# Install \u0026 environ setup\n\n    pip install gptprobe \n    \nThen from [open ai developer](https://platform.openai.com/account/api-keys) help yourself to a key and inject into environment somehow. E.g.\n\n    import os \n    os.environ['OPEN_AI_KEY'] = 'sk-ekOvFjAHKETQYABBADABBADDAYADDA'\n\nMaybe you want to mimic [gptprobe/public_setenv.py](https://github.com/microprediction/gptprobe/blob/main/gptprobe/public_setenv.py) and import NOTHING from it in your scripts. \n\n## User Guide\n\n- See the [README](https://github.com/microprediction/gptprobe/blob/main/gptprobe/askfor/README.md) in the askfor directory. \n- See the [examples](https://github.com/microprediction/gptprobe/tree/main/examples).\n     \n     \n## Troubleshooting\nFile an [issue](https://github.com/microprediction/gptprobe/issues). Pull requests are welcomed. \n     \n![](https://raw.githubusercontent.com/microprediction/gptprobe/main/docs/assets/images/probe.png)\n     \n\n\n    \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicroprediction%2Fgptprobe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicroprediction%2Fgptprobe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicroprediction%2Fgptprobe/lists"}