Forum in maintenance, we will back soon 🙂
How to fix that problem.
Hello Hassan, I've enrolled in your prompt engineering course, which has been great so far. However, I have some questions regarding WordPress, particularly related to caching responses. I've been following your lectures diligently on LearnWithHassan.com, and while I've gained insights into caching responses, I'm uncertain about its implementation within WordPress. Could you please guide me on how to cache responses effectively in WordPress? Additionally, I'm interested in integrating caching into the UI function on both PromoterKit.com and FreeAIKit.com. Your expertise in this area would be invaluable. Thank you.
@kaleeem in the prompt engineering course the reference to "caching responses" was intending to have you store the response from OpenAI or similar service in your database so that if a similar query is made you can pull from your already gathered data rather than spending more tokens asking OpenAI the same query again. Does that make sense?
For WordPress you would store this cache via the backend process and the backend API would then return the data from the database.
Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack
thanks!
First please clarify what do you mean by "additionally, I'm interested in integrating caching into the UI function on both PromoterKit.com and FreeAIKit.com"
regarding caching, in the course we talked about caching responses in python. if you want to cache within WordPress directly, which means, using PHP you will need to use MySQL database for easy access with a PHP function to read and write that cache. is that what you are looking for?
can you tell me more about your scenario please
@admin In the course, you covered caching responses and Python scripting. I remember you illustrating table caching responses, similar to databases and MySQL, on both of your websites. This led me to wonder how I could implement caching responses within the UI of WordPress, especially if I aim to integrate an AI tool. Could you please provide guidance on how to cache responses effectively within WordPress, particularly in scenarios involving AI tool integration, both for importing data and displaying output prompts?
@kaleeem maybe this plugin could help?
Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack
@kaleeem yeah, I showed an example using a database system called SQL Server, that's for research.
if you want to cache in WordPress, you will be using mysql.
1. create a MySQL table
2. after you get the the response from the API, you just insert it into the database.
I can help with that, but do you have any specific scenario? or do you just wanna learn how to cache these responses?
@admin I don't currently have a website, but I'm considering creating one this month. My goal is to set up a tools website because I want to efficiently cache responses from my data. I anticipate needing this for the upcoming courses with you, especially since I've noticed we'll be using it to develop our own LLM AI. I'm fully engaged in following all your courses and eager to analyze and innovate. That's why I'm motivated to get started on this website project.
@kaleeem practice using your own computer first before purchasing a website or a hosted VPS.
Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack
@kaleeem you do the same things locally that you would do on a server. You would just enter http://localhost in the browser.
Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack
@kaleeem you have to install the service first then use the localhost URL.
Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack
Hi, I want to ask you about the course that you did on building an API and selling the template that you provided. I didn't understand. I replied to the cost like three times, but I didn't understand the importance of the template and all the details. I understand the concept perfectly, but the templates are what I didn't understand. Could you please guide me step by step on how the templates work?