Updated on 2025-07-02 GMT+08:00

Knowledge Base Introduction

The knowledge base function of the platform is used to store data such as text documents in vectorized mode and retrieve knowledge, and provides retrieval enhancement capabilities for applications and workflows. You can easily import data into the knowledge base, whether it is a text file, presentation, or spreadsheet file, without additional conversion or formatting.

The knowledge base supports the import of local documents in the following formats:

Table 1 Supported document formats

Document Type

Constraint

Size Requirements

Knowledge document

You can upload documents in common text formats, including .doc, .docx, .pdf, .pptx, .ppt, .xlsx, .xls, .csv, .wps, .png, .jpg, .jpeg, .bmp, .gif, .tiff, .tif, .webp, .pcx, .ico, .psd, .dps, .et, .txt, .ofd, and .md.

  • The maximum size of a single document that can be uploaded is 10 MB.

FAQ

Text can be uploaded based on a template file in Word or Excel format. For details about the template file, see Excel Template Format and Word Template Format.

  • The maximum size of an Excel file is 10 MB, and the maximum number of data records is 10,000. The file cannot contain empty lines. Data after an empty line will be ignored.
  • The maximum size of a Word file is 128 MB. The file must be filled according to the template format. [QUESTION] is the question, and the content is the answer. Images in the document must be in PNG, JPG, or JPEG format.

Excel Template Format

Table 2 Excel template example

Answer

Question

Similar Question 1 (Optional)

Similar Question 2 (Optional)

Similar Question 3 (Optional)

Similar Question 4 (Optional)

Directory (Optional)

Tag (Optional, Separated by Commas)

Cloud Search Service (CSS) is a fully hosted distributed search service based on Elasticsearch. You can use it for structured and unstructured data search, and use AI vectors for combine search, statistics, and reports.

What is Cloud Search Service?

What is Huawei Cloud CSS?

What is CSS?

What is Huawei Cloud's Cloud Search Service?

What is the Cloud Search Service from Huawei Cloud?

-

-

CSS can be used to build search boxes for websites and apps to improve user experience. You can also build a log analysis platform with it, facilitating data-driven O&M and business operations. CSS vector search can help you quickly build smart applications, such as AI-based image search, recommendation, and semantic search.

What are the use cases of CSS?

What are the use cases of Huawei Cloud CSS?

What is CSS used for?

What are the functions of CSS?

What do I do with CSS?

-

-

You can access SMS from the console, or using HTTPS-based APIs.

How do I access CSS?

What access methods does CSS support?

How do I access Huawei Cloud's Cloud Search Service?

How do I use CSS?

-

-

-

Word Template Format

The knowledge base template in Word format writes all knowledge into a Word document in the form of Q&A pairs. Each Q&A corresponds to a title pair. A question starts with [QUESTION] and the text attribute is set to Heading 1. The answer is in a new line and the text attribute is set to Body.