Use this format when working with ChatGPT to refactor or migrate pages to CI4. Submit the CONTEXT once, and use the TASK section for specific actions.
This is a CodeIgniter 4.6 application.
| help me improve this prompt: | |
| """ | |
| I want to use to notebooklm to help me improve my python coding skills. Input will be a skill dev roadmap frrom beginner to intermediate and then some code from my previous project. I want notebooklm to suggest refactoring exercies and help me go from basic to intermediate expertise level. How best can I use notebooklm for this. | |
| """ |
| Okay, I understand. I'm sorry that the prompts still aren't visible despite my attempts to format them. This is unusual. | |
| It seems like the way the prompt text was formatted (even inside code blocks) might not be displaying correctly in your environment. | |
| I will try presenting the prompt text again, this time using *only* plain text, without any special formatting like code blocks or bolding within the prompt itself. I will use simple text markers to show you exactly where each prompt option begins and ends. | |
| Please look for these markers and the plain text in between them. | |
| --- |
| <table> | |
| <thead> | |
| <tr> | |
| <th>Mistake</th> | |
| <th>Description</th> | |
| <th>Suggested Fix</th> | |
| </tr> | |
| </thead> | |
| <tbody> | |
| <tr> |
I want to migrate the legacy PHP page [legacy_page.php] to CodeIgniter 4.6.
[driver_payments.php][methodName]DispatchController under app/Controllers/Dispatch/Pagesapp/Views/Pages/[new_view_name].php| # stdlib imports | |
| import logging | |
| import traceback | |
| import json | |
| from datetime import datetime | |
| from dateutil import relativedelta | |
| from sys import exc_info | |
| # django imports | |
| from django.db import models |