Skip to main content

Manage Knowledge Bases

NineData knowledge bases let teams upload internal documents, vectorize them, and use them as retrieval sources for ChatDBA. After a document is parsed, ChatDBA can retrieve relevant content from the knowledge base, historical conversations, and the current question to improve answer accuracy.

Before you begin

  • You have created or joined an organization. For details, see Manage Organization.
  • The NineData console is in organization mode. To switch from personal mode, see Switch to Organization.
  • Your role is Administrator. For more information, see Roles.

Procedure

Add a knowledge base

  1. Sign in to the NineData Console.

  2. Go to Account > Knowledge Base.

  3. Click Create Knowledge Base, enter Knowledge Base Name and Knowledge Base Description, and then click OK.

Add documents

  1. Sign in to the NineData Console.

  2. Go to Account > Knowledge Base.
  3. Click the target knowledge base ID. On the Knowledge Base Detail page, click Add Doc.
  4. Click the upload icon to select a file, or drag the file onto the upload area, and then click OK. Supported formats include DOC, DOCX, PDF, TXT, XLS, and XLSX.

After upload, NineData parses and vectorizes the document. For large documents, the knowledge base uses enhanced large-document vectorization to build searchable indexes for ChatDBA retrieval.

Enable a knowledge base

A new knowledge base is enabled by default. Use this procedure only when Open is Close.

  1. Sign in to the NineData Console.

  2. Go to Account > Knowledge Base.
  3. Find the target knowledge base ID and turn on the switch in the Open column.

Result

The knowledge base is available to ChatDBA. ChatDBA can retrieve relevant information from enabled knowledge bases, historical conversations, and the current question, including cross-session memory retrieval. For usage details, see ChatDBA.