docs: fix prompt

This commit is contained in:
Arthur Fiorette 2025-05-26 11:02:32 -03:00
parent b5a6c6f612
commit 7568ab6254
No known key found for this signature in database
GPG Key ID: 79FA8EC214FA0233
2 changed files with 13 additions and 11 deletions

View File

@ -49,7 +49,7 @@ overloading the network or coding himself a simple and buggy cache system.
<br />
- [Read the docs to **Learn More**.](https://axios-cache-interceptor.js.org)
- [Ask **ChatGPT** to help you with it.](https://chatgpt.com/?model=gpt-4&hints=search&prompt=You+are+a+JavaScript+expert+assistant.+Read+the+entire+content+from+the+following+URL%3A%0A%0A++https%3A%2F%2Faxios-cache-interceptor.js.org%2Fllms-full.txt%0A++You+are+free+to+follow+any+links+in+the+document+to+gather+more+information%2C+if+necessary.%0A%0A++The+document+is+a+comprehensive+guide+to+the+%60axios-cache-interceptor%60+library%2C+which+is+used+for+caching+HTTP+requests+in+Axios.%0A%0A++**Your+task+is+to%3A**%0A%0A++1.+Understand+the+purpose+and+functionality+of+the+library.%0A++2.+Learn+the+key+concepts%2C+configuration+options%2C+and+API+methods+described.%0A++3.+Retain+information+about+advanced+features%2C+usage+examples%2C+and+edge+cases.%0A++4.+Be+ready+to+answer+technical+questions+or+explain+how+to+use+the+library%2C+troubleshoot+common+issues%2C+and+compare+it+with+other+caching+approaches+in+Axios.%0A%0A++Do+not+summarize+yet.+Just+read+and+prepare+to+answer+detailed+questions.)
- [Ask **ChatGPT** to help you with it.](https://chatgpt.com/?model=gpt-4&hints=search&prompt=You+are+a+JavaScript+expert+assistant.+Read+the+entire+content+from+the+following+URL%3A%0A%0Ahttps%3A%2F%2Faxios-cache-interceptor.js.org%2Fllms-full.txt%0AYou+are+free+to+follow+any+links+in+the+document+to+gather+more+information%2C+if+necessary.%0A%0AThe+document+is+a+comprehensive+guide+to+the+%60axios-cache-interceptor%60+library%2C+which+is+used+for+caching+HTTP+requests+in+Axios.%0A%0A**Your+task+is+to%3A**%0A%0A1.+Understand+the+purpose+and+functionality+of+the+library.%0A2.+Learn+the+key+concepts%2C+configuration+options%2C+and+API+methods+described.%0A3.+Retain+information+about+advanced+features%2C+usage+examples%2C+and+edge+cases.%0A4.+Be+ready+to+answer+technical+questions+or+explain+how+to+use+the+library%2C+troubleshoot+common+issues%2C+and+compare+it+with+other+caching+approaches+in+Axios.%0A%0ADo+not+summarize+yet.+Just+read+and+prepare+to+answer+detailed+questions.)
<br />
<br />

View File

@ -21,21 +21,23 @@ const url = 'https://axios-cache-interceptor.js.org';
const llmsFullLink = 'llms-full.txt';
const aiPrompt = `
You are a JavaScript expert assistant. Read the entire content from the following URL:
${url}${BASE_URL}${llmsFullLink}
You are free to follow any links in the document to gather more information, if necessary.
You are a JavaScript expert assistant. Read the entire content from the following URL:
The document is a comprehensive guide to the \`axios-cache-interceptor\` library, which is used for caching HTTP requests in Axios.
${url}${BASE_URL}${llmsFullLink}
You are free to follow any links in the document to gather more information, if necessary.
**Your task is to:**
The document is a comprehensive guide to the \`axios-cache-interceptor\` library, which is used for caching HTTP requests in Axios.
1. Understand the purpose and functionality of the library.
2. Learn the key concepts, configuration options, and API methods described.
3. Retain information about advanced features, usage examples, and edge cases.
4. Be ready to answer technical questions or explain how to use the library, troubleshoot common issues, and compare it with other caching approaches in Axios.
**Your task is to:**
1. Understand the purpose and functionality of the library.
2. Learn the key concepts, configuration options, and API methods described.
3. Retain information about advanced features, usage examples, and edge cases.
4. Be ready to answer technical questions or explain how to use the library, troubleshoot common issues, and compare it with other caching approaches in Axios.
Do not summarize yet. Just read and prepare to answer detailed questions.
Do not summarize yet. Just read and prepare to answer detailed questions.
`.trim();
const chatGptLink = new URL('https://chatgpt.com');