Search Across Large Document Sets
Overview
This agent registers a microcontroller manual containing a vast number of pages as knowledge
and enables you to quickly find information needed for development.
When a user asks a natural-language question about the microcontroller, the agent presents the following information based on the manual.
- Key points that answer the question
- An explanation of the manual's content
- Relevant sections of the manual to reference
The sample lets you experience an efficient way to find required technical information through a conversation with AI
using a microcontroller manual as knowledge.
What this sample can do
- Find instructions for using a specific feature in a microcontroller manual
- Review an overview of register settings and initialization procedures
- Quickly understand specifications for interrupts, communications, timers, DMA, GPIO, and more
- Review precautions and constraints
- Review the source locations supporting an answer
Intended users
This sample is intended primarily for the following users.
- Developers working with the target microcontroller
- Teams that want to make technical research and specification checks more efficient
- Administrators and adoption leaders who want to create an internal technical inquiry agent
The subject is a microcontroller manual for CAN communication, but you can experience the process from registering knowledge through asking questions in a chat and reviewing answers without knowledge of CAN or microcontrollers.
If you cannot judge the technical correctness of an answer, use the Review points to check whether it is supported by evidence.
Included content
This sample includes the following example data.
Register a file that you use as knowledge. Any file format may be used.
| Data | File name | Steps for replacing with your own work |
|---|---|---|
| Input | None | Store the document to use as knowledge, and perform step 1 of the Procedure. |
Use the sample data
Prerequisites
- You have prepared the microcontroller manual to register as knowledge.
Input and output
- Microcontroller manual
Procedure
- Register the microcontroller manual as knowledge. This is required only the first time.
Try registering the manual you actually use.
For detailed steps, see Create knowledge.
- On the DC Agentiqs Knowledge screen, click [Create New] to create knowledge.
- Overview: Enter the required items, and click [Save].
- Data: Click [Add Data], and register the target microcontroller manual from [Add File] or [Add Folder].
- When loading is complete, creation of the knowledge is complete.
- On the DC Agentiqs Knowledge screen, click [Create New] to create knowledge.
- On the DC Agentiqs Agents screen, hover over [Microcontroller Manual Information Search], and click [Start Chat].
- On the DC Agentiqs chat screen, click [Select Knowledge] in the upper-right corner, and select the microcontroller manual knowledge you created from the drop-down menu.
- Enter a question on the DC Agentiqs chat screen.
Target
- Agent: Microcontroller Manual Information Search
Review points
Even without specialist knowledge of CAN or microcontrollers, you can assess the validity of an answer from the following perspectives.
| Review perspective | Details |
|---|---|
| Does the answer reference the registered document? | Is it based on the content of the registered manual rather than general information? |
| Is a source location provided? | Can you identify the description on which the answer is based? |
| Does it avoid speculating about information that is not documented? | Does it avoid making definitive claims about information not included in the manual? |
You cannot judge the technical correctness of an answer itself without knowledge of the target microcontroller.
If you are a beginner, limit your evaluation to the three points above.
Limitations
- Answers depend on the content of the microcontroller manual registered as knowledge.
- The content, level of detail, and wording of an answer may vary depending on how detailed the question is and how it is worded.
Reference: Example questions
The following are example questions to enter on the chat screen.
Initial setup and getting started
These are the first questions to ask when starting CAN on this microcontroller.
- What is the initialization procedure for starting to use CAN?
- Show the CAN initialization flow as a diagram.
- Where are the CAN transmission ID and data length configured?
- What must be configured to enable CAN receive interrupts?
Basic transmission and reception checks
These are common questions when implementing transmission and reception processing.
- How can I determine that CAN transmission is complete?
- Where can I check whether data has been received through CAN?
- In which registers can I check the ID and data length of a received CAN frame?
Interrupt and status checks
These questions are useful when verifying behavior or debugging.
- In which register do I check CAN interrupt causes, and how do I clear them?
- Are there CAN error interrupts for each channel?
- Are the receive FIFO interrupt and transmit/receive FIFO receive-completion interrupt different?
Check information not included in the microcontroller manual
These questions let you check how the agent answers questions about information that is not in its knowledge.
- Compare the interrupt load and DMA load and determine the optimal configuration.
- What sample-point percentage is appropriate for this board trace length?