i have a script, trying to build embeddings from a video library via open ai/mysql to be expressed on a frotn panel:
Integrate the OpenAI API to generate embeddings. Store the embeddings in your MySQL database. Ensure the script works with OpenAI’s latest API (v1.0.0+).