Support Classes at – https://donorbox.org/etcg
Find All Classes at – https://www.elithecomputerguy.com
LinkedIn at – https://www.linkedin.com/in/eli-etherton-a15362211/
Code for this project – https://github.com/elithecomputerguy/AI-Powered-Decision-Tree-for-Talking-Computer-Python-OpenAI-API-Google-Speech-/tree/main
This project uses SQLite as a cacheing mechanism for OpenAI API requests. When a user makes a request from OpenAI the request and the response is inserted into a SQLite table. The script checks the if a request is already stored in the database and if it is then the database is read from instead of doing an API call.
00:00 Introduction
05:25 How the System Works
14:17 Why Cacheing Matters
24:28 SQLite Overview
29:14 Explaining the Code
46:52 Final Thoughts
Previous Classes:
Voice Controlled Computer with Python and AI – https://youtu.be/2UmYq9MJa1E
AI Powered Decision Tree for Talking Computer (Python, OpenAI API, Google Speech) – https://youtu.be/b4BRcsfLXEQ