

ULTIMATE WINDOWS TWEAKER DOESNT WORK HOW TO
I asked my last question for this part of the project:Ĭan you explain how to use Sumy from PHP?įeel free to play along on your computer and paste these prompts into your instance of ChatGPT. The answer I got was clear and promising: "Sumy is specifically designed for text summarization, which is the task of creating a summary that captures the most important information from a piece of text." So, now it was time to see what was involved in using it with PHP. If I want to create summaries of web page news articles, which library would work better? I still wasn't sure, so I clarified my use plan and then asked: What's the difference between Sumy, Gensim, and NLTK? It returned three libraries, but I wasn't sure about what each did. Of those 8 libraries, can I use any with PHP?
ULTIMATE WINDOWS TWEAKER DOESNT WORK CODE
In this case, ChatGPT gave me eight library choices, but none of them mentioned the PHP language that I was planning to code in. I'm just drilling down in the same way I might if I had an expert at hand and was seeking clarification. I don't have to re-ask the originating question. Notice how this is very much a conversation. Which of these libraries have no usage limits and don't require any additional payment or licensing? However, some of them may have usage limits or require payment for access to additional features or resources." So, based on that, I clarified my query. Here's what it said: "Yes, all ten of these AI libraries are open source and free to use. So I'll narrow down the question.ĬhatGPT hedged its bets with its answer. I think OpenAI would do great here, but for this hypothetical project, I don't want to budget for API fees. This gave me exactly what I wanted, including a mention of OpenAI's offerings.

Here's my first prompt:ĭescribe ten different open source AI libraries (and the languages they work with) that I can use to generate a summary of the main core contents of any web page, ignoring any ads or embedded materials. In this case, I'm looking at blocks of code written by other people that will summarize text. So this is a good starting point.Īlso: I used ChatGPT to write the same routine in 12 top programming languages. A big part of modern programming is finding and choosing the right libraries. A library (for those of you reading along who aren't programmers) is a body of code a programmer can access that does a lot of the heavy lifting for a specific purpose. I started with a prompt that was designed to elicit information about what libraries would provide the functionality I wanted.

So let's look at interacting with ChatGPT to figure out how to use such a tool, for free, with a project that runs in PHP. But in the case of this example, let's assume we don't want to pay transaction fees. OpenAI (the maker of ChatGPT) sells API access to the GPT-3 and GPT-4 engines that will do exactly what we want. One of the places ChatGPT excels (and it's also an area you can easily verify to avoid its authoritative-but-wrong behavior pattern) is finding libraries and resources.Īlso: How to make ChatGPT provide sources and citations CloseĬontinuing with the example above, a very old school way of extracting web page data was to find the text between HTML paragraph tags.īut with the rise of AI tools, it makes more sense to use an AI library to do an intelligent extract and summary. If you see inaccuracies in our content, please report the mistake via this form. If we have made an error or published misleading information, we will correct or clarify the article. Our editors thoroughly review and fact-check every article to ensure that our content meets the highest standards. Our goal is to deliver the most accurate information and the most knowledgeable advice possible in order to help you make smarter buying decisions on tech gear and a wide array of products and services. ZDNET's editorial team writes on behalf of you, our reader. Indeed, we follow strict guidelines that ensure our editorial content is never influenced by advertisers. Neither ZDNET nor the author are compensated for these independent reviews. This helps support our work, but does not affect what we cover or how, and it does not affect the price you pay. When you click through from our site to a retailer and buy a product or service, we may earn affiliate commissions. And we pore over customer reviews to find out what matters to real people who already own and use the products and services we’re assessing. We gather data from the best available sources, including vendor and retailer listings as well as other relevant and independent reviews sites.

ZDNET's recommendations are based on many hours of testing, research, and comparison shopping.
