All Products
Search
Document Center

OpenSearch:Configuration center

Last Updated:Oct 19, 2026

OpenSearch LLM-Based Conversational Search Edition supports importing data in multiple forms, such as structured data, unstructured data, web pages, tables, and videos. This topic describes how to configure data in the console.

Data structure

The data structure of the primary table currently uses a fixed template that contains the following 7 fields: score, id, title, category, url, content, and timestamp.

Field

Type

Description

score

FLOAT

The score of the document.

id

LITERAL

The document ID, which must be unique.

title

TEXT

The title of the document.

category

LITERAL_ARRAY

The category of the document.

url

LITERAL

The URL of the document.

content

TEXT

The content of the document.

timestamp

INT

The timestamp, which indicates the freshness of the document.

Note
  • When you upload structured data, the score, title, category, url, and timestamp fields are optional. You can specify them based on your requirements.

  • The score and timestamp fields affect the ranking of retrieved documents. For more information about the settings, see Document retrieval parameters.

  • The category field supports multiple values. Separate items with commas (,). For more information about how to use this field, see Custom parameters.

Preparations

  1. Log on to the OpenSearch console.

  2. Select the destination region and switch to OpenSearch LLM-Based Conversational Search Edition.

  3. In the instance list, find the target instance and click Manage on the right. In the left-side navigation pane, choose Configuration Center->Data Configuration. Then, select a data import method based on your business requirements.

Import data by uploading files

Click File Import to go to the file import page.

  • Upload unstructured data. Supported formats are doc, docx, pdf, html, txt, ppt, pptx, xls, and xlsx files, and videos in the mp4, avi, mkv, and mov formats. The size of a single file cannot exceed 128 MB. You can upload multiple files at a time.

    Note

    If a Word file contains a large number of images, we recommend that you convert the file to PDF before you upload it. This speeds up the upload.

  • Upload structured data. Supported formats are JSON and Excel files encoded in UTF-8. The size of a single file cannot exceed 128 MB. You can upload multiple files at a time. For the data format, download the sample data for reference.

    Note
    • A table name can contain letters, digits, and underscores (_), and cannot exceed 20 characters in length.

    • A field name can contain letters and underscores (_), and cannot start with an underscore (_). Each field name cannot exceed 30 characters in length.

    • Each Excel file supports data writes and queries for a maximum of 30 fields. Any fields beyond this limit are ignored.

For more information about how to push documents in batches by using API operations, see Push documents.

Import data from web page links

Click Web Link Import, select Web Page Import, and enter the URLs, one URL per line. Then, click Import to complete the web page import.

Import data from websites

  1. Click Web Link Import, select Website Import, and click Create Task. Enter the Website URL and the category name. You can configure URL filtering, an XPath selector, and a CSS selector based on your requirements.

    Note
    • Website URL: the URL of the website that you want to import.

    • category: the category name of the imported URL.

    • URL filtering: By default, the URL filtering rule matches website addresses that start with the specified URL. For example, if the website URL is http://www.abc.com/, the default regular expression is http://www\.abc\.com/.*.

    • XPath selector: For example, to precisely obtain the content under div tags, set this parameter to //div.

    • CSS selector: For example, to precisely obtain the content under div tags whose class is content, such as <div class="content">Web page content</div>, set this parameter to div.content.

    • URLs that end with .png, .jpg, or .jpeg are not supported.

  2. After the task is complete, you can view the number of crawled web pages. Click OK to complete the website import.

Import data from tables

For more information, see Table-based Q&A.

Data query

After documents are uploaded, you can view the total number of documents. You can also test the Q&A performance on the Q&A Test page. You can view successfully pushed data by primary key and delete the corresponding data by primary key.

  1. View data

    In the field next to id, enter the primary key ID of the successfully pushed data, and click Search to view the details of the pushed data.

  2. Delete data

    In the field next to id, enter the primary key ID of the data that you want to delete, and click Delete->OK to delete the document.

    If the storage limit is exceeded, the deletion fails. In this case, you must scale out the storage before you delete the data.

  3. Edit data

    LLM-Based Conversational Search Edition allows you to edit data directly in the console. In the field next to id, enter the primary key ID of the data that you want to modify, and click Edit. Then, you can modify the editable fields.

Usage notes

  • The primary key id is a unique key. If duplicate IDs exist, the later data overwrites the earlier data.

  • The maximum size of structured data in a single upload is 2 MB.

  • The size of a single unstructured data file cannot exceed 128 MB.

  • The time required before uploaded data can be queried depends on the overall volume of data updates at that time.