OpenSearch LLM-based Conversational Search Edition supports four data import methods. Choose based on your data source:
| Method | Best for |
|---|---|
| Upload files | Local files — documents, spreadsheets, PDFs |
| Import from web pages | A known set of specific URLs |
| Import from a website | An entire site or section, crawled automatically |
| Import tables | Structured tabular data for table-based Q&A |
Prerequisites
Before you begin, ensure that you have:
An active OpenSearch LLM-based Conversational Search Edition instance
Access to the OpenSearch console
Get to the data configuration page
Log on to the OpenSearch console.
In the top navigation bar, select the region where your instance resides. In the upper-left corner, select OpenSearch LLM-Based Conversational Search Edition.
On the Instance Management page, find your instance and click Manage in the Actions column.
In the left pane, choose Configuration Center > Data Configuration, then select a data import method.
Data structure
The primary table uses a fixed schema with the following fields:
| Field | Type | Required | Description |
|---|---|---|---|
| id | LITERAL | Yes | Unique document ID |
| content | TEXT | Yes | Document content |
| title | TEXT | No | Document title |
| category | LITERAL_ARRAY | No | Document category. Separate multiple values with commas (,). See Custom parameters. |
| url | LITERAL | No | Document URL |
| score | FLOAT | No | Document score. Affects retrieval ranking. See Document retrieval parameters. |
| timestamp | INT | No | Document freshness indicator. Affects retrieval ranking. See Document retrieval parameters. |
Upload files
Click Import File. The Import File panel opens.

Supported formats and limits
| Data type | Supported formats | Max file size | Notes |
|---|---|---|---|
| Unstructured data | DOC, DOCX, PDF, HTML, TXT, PPT, PPTX | 128 MB per file | Multiple files allowed. If a Word file contains too many images, we recommend that you convert the file format to PDF to speed up the upload. |
| Structured data | JSON, Excel (UTF-8 encoded) | 128 MB per file | Multiple files allowed. Click Data Sample to view the expected format. |
Structured data naming constraints:
Table name: letters, digits, and underscores (
_); max 20 charactersField name: letters and underscores (
_); cannot start with_; max 30 charactersExcel fields: max 30 fields per file are imported and queried; excess fields are ignored
The total size of structured data uploaded in a single operation cannot exceed 2 MB.
To push multiple documents at once using the API, call PushKnowledgeDocuments.
Import data from web pages
Use this method when you have a specific list of URLs to import.
Click Web Page URL Import. On the Web Page Import tab, enter the URLs one per line, then click Import.

Import data from a website
Use this method to crawl and import an entire website or a section of one.
Click Web Page URL Import, then click the Website Import tab.
Click Create Task.
In the Create Task dialog box, configure the required parameters, then click OK.

Required parameters:
| Parameter | Description |
|---|---|
| Website URL | Root URL of the site to crawl |
| Category | Category assigned to all imported content |
Optional parameters:
| Parameter | Description | Example |
|---|---|---|
| URL Filtering | Regular expression controlling which URLs are crawled. The default rule is a regular expression that starts with the website URL. | If the website URL is http://www.abc.com/, the default filter is http://www\.abc\.com/.* |
| XPath Selector | Limits imported content to specific HTML elements | //div imports content inside <div> elements |
| CSS Selector | Limits imported content to elements matching a CSS selector | div.content imports <div class="content"> elements |
URLs ending with.png,.jpg, or.jpegare not supported.
After the task is configured, click OK. The system shows the number of crawled pages. Click OK again to start the import.

Import tables
For table-based conversational search, see Implement table-based conversational search.
Query and manage documents
After upload, the Data Query section shows the total document count. Depending on the volume of data, there may be a wait before documents are queryable. To test Q&A against your data, go to the Q&A test page.
To look up a specific document, select id from the drop-down list, enter the document ID, and click the Search icon.
View a document
Select id, enter the document ID, click the Search icon, then view the document details.

Edit a document
Select id, enter the document ID, click the Search icon, then click Edit in the Actions column to modify editable fields.

Delete a document
Select id, enter the document ID, click the Search icon, then choose More > Delete in the Actions column.
If storage capacity is insufficient, deletion fails. Expand your storage capacity first.

Usage notes
Each document's primary key must be unique. If two documents share the same primary key, the newer document overwrites the earlier one.
The size of the structured data that you upload at a time cannot exceed 2 MB.
The size of an unstructured data file that you upload cannot exceed 128 MB.
After upload, the time before documents become queryable depends on the volume of data being indexed.