How to convert PDF to table? Use buttons to build a free and easy-to-use "PDF to table" AI customer service

Previous article【AI Learning】Nanny-level tutorial!Teach you how to use buttons to build a free and easy-to-use "image to table" AI customer service (with practical process + effect), I built a picture-to-table conversion program with buttonsAI Customer Service.

But the students have new needs and ask if we can supportConvert PDF to Table?

Scene dialogue

Next, let's learn how to make one with buttons.Free and easy to useof"Convert PDF to TableAI Customer ServiceBar.

How to use buttons to build “PDF to table” AI customer service?

Enter https://www.coze.cn/ in the browser address bar, press Enter to enter the button homepage, and click [Create Bot].

How to convert PDF to table? Use buttons to build a free and easy-to-use "PDF to table" AI customer service

The Create Bot interface pops up.

How to convert PDF to table? Use buttons to build a free and easy-to-use "PDF to table" AI customer service

Enter the Bot name, function description, generate an icon, and then click [Confirm].

Bot name: PDF to table

Bot function introduction: After the user uploads a PDF file, the PDF content will be automatically recognized and converted into a table format for presentation to the user.

Icon: Click AI to generate your favorite icon, or upload your own.

How to convert PDF to table? Use buttons to build a free and easy-to-use "PDF to table" AI customer service

Enter the "PDF to Table" Bot editing interface just created.

How to convert PDF to table? Use buttons to build a free and easy-to-use "PDF to table" AI customer service

In the Personality and Response Logic function area, enter a brief description of the image-to-table conversion and click [Optimize].

You are an AI tool that converts images to tables. Based on the images provided by users, you can identify the contents of the images and convert them into tables. You can also give a brief description of the generated tables.

How to convert PDF to table? Use buttons to build a free and easy-to-use "PDF to table" AI customer service

The prompt words are automatically optimized to content that is easier for the Bot to understand. Click [Use].

How to convert PDF to table? Use buttons to build a free and easy-to-use "PDF to table" AI customer service

The content of the character setting and reply logic window has been automatically updated with optimized prompt words.

How to convert PDF to table? Use buttons to build a free and easy-to-use "PDF to table" AI customer service

In the preview and debugging window, I sent a PDF file directly to the PDF to Table Bot and found that the PDF file could not be read.

How to convert PDF to table? Use buttons to build a free and easy-to-use "PDF to table" AI customer service

I tried switching the language model to moonshot (128k), but found that it still could not recognize the content of the uploaded PDF file.

How to convert PDF to table? Use buttons to build a free and easy-to-use "PDF to table" AI customer service

PS: Currently, the PDF file function cannot be realized by directly selecting the language model through buttons.

We need to go to the plug-in item in the skill window, click the [+] icon on the right, and add a plug-in.

How to convert PDF to table? Use buttons to build a free and easy-to-use "PDF to table" AI customer service

Find a plug-in for image text recognition. Here I chose the plug-in named "Link Reader".

Click Add.

How to convert PDF to table? Use buttons to build a free and easy-to-use "PDF to table" AI customer service

You can see that the LinkReaderPlugin has been successfully added to the Plugin section of the skill window.

How to convert PDF to table? Use buttons to build a free and easy-to-use "PDF to table" AI customer service

Switch the model to the Skylark language model, and then send a PDF file to the PDF to Table Bot to try.

It was found that the PDF content could be recognized and presented in text as required, but it could not be presented directly in table form.

How to convert PDF to table? Use buttons to build a free and easy-to-use "PDF to table" AI customer service

We then switched the model to moonshot (128k), and found that it still could not be directly converted into a table.

How to convert PDF to table? Use buttons to build a free and easy-to-use "PDF to table" AI customer service

Attachment: Upload the original PDF

How to convert PDF to table? Use buttons to build a free and easy-to-use "PDF to table" AI customer service

Try to optimize the personality and response logic.

# Role You are a professional PDF to table AI tool that can accurately identify PDF content and convert it into table form. At the same time, you can also briefly explain the generated table. ## Skills### Skill 1: PDF to table 1. If the user uploads a PDF file, call the LinkReaderPlugin plug-in to accurately identify the PDF content provided by the user. 2. No matter what the file content is, try your best to convert the recognized content into a table form. ### Skill 2: Table description 1. Briefly explain the generated table and inform the user of the main content that the table wants to express. ### Skill 3: Reply Tips 1. Directly give the table content and the main content that the table wants to express. 2. Avoid explanatory content such as "using plug-ins" and "calling functions". ## Limitations - Only handle tasks related to PDF to table conversion and reject other irrelevant requirements. - Accurately recognize PDF content and convert it into table format. - Provide brief and clear description of the generated table.
How to convert PDF to table? Use buttons to build a free and easy-to-use "PDF to table" AI customer service

Preview and debug, and you can see that it can be presented in table format.

How to convert PDF to table? Use buttons to build a free and easy-to-use "PDF to table" AI customer service

Learning Summary

Let’s review and summarize the content of this study with Guotou:

  • Create a new "PDF to Table" Bot;
  • Edit personality and reply logic.
  • Add LinkReaderPlugin plugin.
  • Preview and debug to select a more appropriate model. This time, Guotou chooses the moonshot (128K) language model.

Now it’s your turn to build your own “PDF to Form” AI customer service!

 

statement:The content is collected from various media platforms such as public websites. If the included content infringes on your rights, please contact us by email and we will deal with it as soon as possible.
Encyclopedia

OpenAI opens memory feature to all ChatGPT Plus users, here’s how to use it!

2024-5-3 14:48:33

Encyclopedia

An app for making portrait photos. Use Xinghui App to generate your own personal portrait photos for free

2024-5-5 10:03:29

Search