This topic describes how to import unstructured data and structured data to Alibaba Cloud Model Studio.
Procedure
Unstructured data
Prerequisites
A category is created. You can also import data to the default category.
Log on to the Alibaba Cloud Model Studio console.
In the left-side navigation pane, click .
Click the Unstructured Data tab.
Select the category to which you want to import data.
Click Import Data and the Import Data page appears.
Select an import method.
Upload Local File: Select a local file to upload. The pdf, doc, or docx formats are supported. A single file can be up to 100 MB in size or contain up to 1,000 pages. You can upload up to 200 files and uploaded files are displayed below the section. Then, click Confirm.
Click Confirm. Then, the system automatically imports the files. The imported files are displayed in the category after a period of time.
After the data is imported, you can click Details in the Actions column to preview the parsed data.
Structured data
Click the Structured Data tab.
Configure a table.
Click Create Table and the Create Table page appears.
Enter a table name.
Specify the schema of the table.
Column Name is required and Description is optional.
ImportantThe table schema that you specify must be the same as the schema of the data table to be imported. Otherwise, the import fails. For example, if the data table to be imported has two columns, you must specify two corresponding column names. Click New Columns or Delete in the Actions column to add or delete columns.
Click OK.
You can view the data table in the Table Management pane.
Import data.
In the Table Management pane, click the table that you create.
Click Import Data.
Drag a file in Excel or CSV format to the section or click to select a file to upload.
After the file is uploaded, click Preview to preview it.
Click Confirm.
What to do next
After you import the data, you can apply the data to a knowledge index. For more information, see Knowledge index.