Chattr+i (How powerful is ChatGPT?) Artificial intelligence chatGPT is full of dry goods

 

1. Artificial intelligence chatGPT4

As we all know, ChatGPT chat robots have become popular recently, and I have also tried my best to register an account. It is said that there will be a fee to be charged later. ChatGPT is a generative AI based on a large language model, in other words, it can automatically generate text similar to human language, presenting organized and logical answers to you, which is completely different from tradition.

2. Artificial Intelligence ChatGPT Download

The search tool ChatGPT can not only answer traditional questions such as humanities, science, and emotions, but also write code and fix bugs. Programmers are in a hurry, it's like grabbing a job, so there are various anxious comments online about ChatGPT causing you to lose your job. As the saying goes, "Seeing is better than hearing." I'm trying to make ChatGPT use Python to write crawler scripts and see if it's really feasible?.

3. How to download chatgpt

1. Crawling Zhihu's column article question: Help me write code in Python to crawl articles on this website https://zhuanlan.zhihu.com/p/595050104ChatGPT:

4. Artificial Intelligence ChatGPT Concept

Run the given code into PyCharm and find no errors, and print out the content import requests from bs4 import BeautifulSoup url = " https://zhuanlan.zhihu.com/p/595050104 " response = requests.get(url) soup = BeautifulSoup(response.text, "html.parser") title = soup.find("h1", class_="Post-Title").text.strip() body = soup.find("div", class_="Post-RichText").text.strip() print("Title:", title) print("Body:", body) 。

5.chatGPT

Although ChatGPT provides code that can be executed, it also mentions that due to the constantly changing website being crawled, i.e. HTML, the code may need to be adjusted in order to function properly. Anyone who has written a crawler should understand that manually written crawler code cannot be permanently modified.

6. How to read chatgpt

The ChatGPT prompt made a lot of sense. Later, I tested the articles on Medium and Baijia, and the code provided by ChatGPT was almost the same as above. It was not possible to directly execute and obtain results, and it needed to be fine-tuned before running 2 To increase the difficulty of ChatGPT, I tried to crawl user comments on a certain e-commerce website by crawling comments on a certain product on JD.

7. Microsoft's Artificial Intelligence ChatGPT

Question: Please write code in Python to crawl all user comments for this JD product https://item.jd.com/13652780.htmlChatGPT:

8. The hottest artificial intelligence ChatGPT

Perhaps this webpage is a dynamic page, and the method provided by ChatGPT cannot crawl comments. I continued to ask: What if the result of crawling is a null value? ChatGPT:

9. Strongest Artificial Intelligence ChatGPT

ChatGPT provided three possible reasons, but did not help me modify the code. So I asked again: Is it still a null value? Please help me rewrite the code to crawl ChatGPT:

10. Artificial Intelligence ChatGPT Composition

Image.png broke the ice this time. It re wrote the crawler code using Selenium and told me that crawling dynamic web pages requires simulating browser behavior, so I had to use Selenium technology. I didn't run it to test the correctness of the code, but ChatGPT did amaze me by being able to correlate the conversation content and provide the correct solution.

3. Continuing with more testing, it's just a quick skim on the water. ChatGPT has already attracted me, and I plan to spend more time testing ChatGPT's solutions to various crawlers, as well as its ability to fix bugs. From a code writing perspective, ChatGPT can already rival the level of mid to high level programmers, and its knowledge scope far exceeds that of the most skilled programmers in humans.

ChatGPT's ability to generate content that adults want based on dialogue is a huge breakthrough in AI, and its future applications are unimaginable.

为您推荐

Chattr+i (How powerful is ChatGPT?) Artificial intelligence chatGPT is full of dry goods

Chattr+i (How powerful is ChatGPT?) Artificial intelligence chatGPT is full of dry goods

突然爆火的ChatGPT是何来头?到底有多厉害?引得科技、投资界大佬纷纷下场关注和评价。在接受福布斯采访…...

2023-05-24 栏目:科技派

当前非电脑浏览器正常宽度,请使用移动设备访问本站!