{"id":21429729,"url":"https://github.com/louis-e/gpt-order-terminal","last_synced_at":"2026-04-11T21:13:43.527Z","repository":{"id":167939428,"uuid":"643565141","full_name":"louis-e/gpt-order-terminal","owner":"louis-e","description":"Fully automated restaurant drive-thru order terminal using GPT","archived":false,"fork":false,"pushed_at":"2023-05-21T15:13:23.000Z","size":4,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-23T08:18:03.186Z","etag":null,"topics":["gpt-3","openai","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/louis-e.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-05-21T15:09:39.000Z","updated_at":"2023-11-13T21:38:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"db5ac67e-5f3b-4b98-ba16-339a722ac326","html_url":"https://github.com/louis-e/gpt-order-terminal","commit_stats":null,"previous_names":["louis-e/gpt-order-terminal"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/louis-e%2Fgpt-order-terminal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/louis-e%2Fgpt-order-terminal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/louis-e%2Fgpt-order-terminal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/louis-e%2Fgpt-order-terminal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/louis-e","download_url":"https://codeload.github.com/louis-e/gpt-order-terminal/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243940062,"owners_count":20372044,"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":["gpt-3","openai","python"],"created_at":"2024-11-22T22:18:59.476Z","updated_at":"2025-10-20T07:13:19.020Z","avatar_url":"https://github.com/louis-e.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GPT Order Terminal\r\n\r\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\r\n[![Python](https://img.shields.io/badge/python-3.8-blue.svg)](https://www.python.org/downloads/release/python-380/)\r\n[![OpenAI](https://img.shields.io/badge/OpenAI-API-00d2ff.svg)](https://beta.openai.com/)\r\n\r\nThis project is a proof of concept for a fully automated restaurant drive-thru order terminal using OpenAI's GPT language model. This code allows you to extract products from a customer order dialog based on a predefined list of valid items which can be ordered. Multilingual input is supported.\r\n\r\n## Installation and Usage\r\n\r\n1. Clone the repository:\r\n\r\n   ```shell\r\n   git clone https://github.com/louis-e/gpt-order-terminal.git\r\n   ```\r\n\r\n2. Install the required dependencies:\r\n\r\n   ```shell\r\n   pip install openai pvrecorder keyboard\r\n   ```\r\n\r\n3. Save your OpenAI API key in a file named `openai_api_key.txt`.\r\n\r\n4. Edit the `items.txt` file accordingly to your needs.\r\n\r\n5. Run the code:\r\n\r\n   ```shell\r\n   python order_terminal.py\r\n   ```\r\n\r\n5. Follow the instructions to record the customer dialog. Press ENTER to stop recording.\r\n\r\n## Example\r\n\r\n```\r\nSYSTEM: Recording customer dialog... Press ENTER to stop recording.\r\nSYSTEM: Customer dialog recorded sucessfully. Transcribing...\r\nSYSTEM: Customer dialog transcribed sucessfully: Hi there, I would like to order a cheeseburger and two cheesy fries as well as a coke. And for my daughter, let me see. One second. Ah, for my daughter I would like to order nachos, two chicken bites and a shake. That's it, thank you!\r\nSYSTEM: Prompt prepared successfully. Sending API call...\r\nSYSTEM: Processed API response successfully.\r\n\r\nProcessing order: Cheeseburger (1), Cheesy Fries (2), Coke (1), Nachos (1), Chicken Bites (2), Chocolate Shake (1)\r\n```\r\n\r\n## License\r\n\r\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flouis-e%2Fgpt-order-terminal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flouis-e%2Fgpt-order-terminal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flouis-e%2Fgpt-order-terminal/lists"}