Skip to content
site logo mobile

Forum in maintenance, we will back soon 🙂

How to fix that pro...
 
Notifications
Clear all

How to fix that problem.

22 Posts
4 Users
8 Reactions
249 Views
(@kaleeem)
Posts: 28
Eminent Member
Topic starter
 

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.

 
Posted : 03/05/2024 9:16 pm
Topic Tags
SSAdvisor
(@ssadvisor)
Posts: 1065
Noble Member
 

@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

 
Posted : 03/06/2024 12:59 am
Kaleeem reacted
Hasan Aboul Hasan
(@admin)
Posts: 1105
Member Admin
 

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

 

 
Posted : 03/06/2024 12:57 pm
Kaleeem and SSAdvisor reacted
(@kaleeem)
Posts: 28
Eminent Member
Topic starter
 

@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?

 
Posted : 03/06/2024 6:03 pm
SSAdvisor
(@ssadvisor)
Posts: 1065
Noble Member
 

@kaleeem maybe this plugin could help?

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 03/06/2024 6:58 pm
Kaleeem reacted
Hasan Aboul Hasan
(@admin)
Posts: 1105
Member Admin
 

@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?

 
Posted : 03/07/2024 9:59 am
Kaleeem reacted
(@kaleeem)
Posts: 28
Eminent Member
Topic starter
 

@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.

 
Posted : 03/07/2024 1:12 pm
SSAdvisor
(@ssadvisor)
Posts: 1065
Noble Member
 

@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

 
Posted : 03/07/2024 2:11 pm
Kaleeem reacted
Hasan Aboul Hasan
(@admin)
Posts: 1105
Member Admin
 

@kaleeem Great! Please get started and set up your website (locally if you want) and the tool, and we will help you set up caching 🙂

 
Posted : 03/08/2024 3:34 pm
Kaleeem reacted
(@kaleeem)
Posts: 28
Eminent Member
Topic starter
 

@admin Please guide me on how to begin locally, as you haven't provided instructions on installing it locally. Could you assist me with a step-by-step guide, please?

 
Posted : 03/08/2024 4:09 pm
SSAdvisor
(@ssadvisor)
Posts: 1065
Noble Member
 

@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

 
Posted : 03/08/2024 7:13 pm
(@kaleeem)
Posts: 28
Eminent Member
Topic starter
 

@ssadvisor the link is not open in my Google.

 
Posted : 03/08/2024 9:37 pm
SSAdvisor
(@ssadvisor)
Posts: 1065
Noble Member
 

@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

 
Posted : 03/09/2024 3:18 am
Hasan Aboul Hasan
(@admin)
Posts: 1105
Member Admin
 

@kaleeem Yeah, you can use tools like localwp.com. It is simple and free.

 

 
Posted : 03/09/2024 12:33 pm
(@kaleeem)
Posts: 28
Eminent Member
Topic starter
 

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?

 
Posted : 03/21/2024 11:19 pm
Page 1 / 2
Share: