Skip to main content

Utilizing Knowledge

This page explains how to register documents as knowledge and utilize them from an AI agent.

Goal

To build a system where registered documents can be used as knowledge and questions can be answered by the AI ​​agent.

Preparation

Please prepare the documents to be registered as knowledge (Office files, text files, etc.) in advance.
For first-time users, it is recommended to limit the scope of documents to make verification easier.

API usage fees apply for knowledge registration.
  • Pricing varies depending on the AI ​​model used and the amount of data.
  • Estimate: Approximately 1 yen/MB (when using AI model: text-embedding-ada-002)

During verification and trial use, please limit the amount of data registered.

1. Registering Knowledge

To utilize knowledge documents as RAG, create a database.

  1. Open the knowledge settings from [Knowledge] - [Create New].

  2. Register the documents to be turned into knowledge by specifying the folder path or file path from [Add Data] in the [Data] tab.

    1. Adding Data

      note

      Please specify the path to the file to be included in the knowledge base.

      • If you do not have a file, please specify the path to the sample data.
      • For details, please refer to Creating Knowledge Base
    2. Adding a File

      Once the data has been added and updated, it will be available as a RAG.

2. Creating an agent to answer from knowledge

  1. Open the AI ​​agent gallery from [Agents] - [Create New].

  2. Select [Knowledge Search] to open the settings screen.

    note

    A template is set for the system prompt.
    This procedure allows you to use the default settings.

  3. Select the prepared knowledge from [Select Knowledge] in the [Knowledge] tab.

  4. Edit other settings as needed and save.

3. Using Knowledge in Chat

  1. Open the chat screen and select the agent you created from the agent dropdown.

  2. By asking questions about documents registered as knowledge, you can extract and summarize relevant information and receive answers.

Example of Use

By utilizing knowledge, you can reduce the time spent searching for information and create an environment where you can concentrate on development work.

  • Searching and summarizing microcontroller specifications
  • Streamlining responses to inquiries regarding internal knowledge
  • Cross-sectional referencing of documents managed within the organization and projects
  • Existing design deliverables
  • Source code

Furthermore, by utilizing knowledge, even new members can quickly access necessary information based on existing documents, enabling
early project integration and efficient task execution.