Multimodal Input
CodeArts Agent supports uploading images and other attachments to integrate them into the chat context. You can directly upload or drag and drop error screenshots, code blocks, or technical documentation into the input box. This eliminates the need for lengthy text descriptions, allowing you to clearly reproduce the problem scenario and achieve precise, efficient communication of your requirements.
Constraints
Uploading Images in a Chat
Example: uploading a code block screenshot to the agent.
- Switch to the agent mode.
- Log in to CodeArts Agent IDE as instructed in Quick Start.
- At the bottom of the input box on the chat panel, choose Built-in > Agent to switch to the agent mode. The selected model is displayed on the right. You can select a model as required from the drop-down list.
If the chat panel of CodeArts Agent is not displayed, click
(Expand AI Sidebar) in the upper right corner of the top menu bar to open it.
- Upload an image.
- Images from a local directory
Click
in the input box, select Upload Attachments, and upload a local image. You can also drag and drop a local image into the input box to upload it. - Images from the clipboard
Paste into the input box to upload an image from your clipboard.
- Images from the project directory
Find the target image in the file tree under the explorer on CodeArts Agent IDE, and drag it into the input box to upload it.
- Images from a local directory
- View the image recognition results.
Uploading Other Attachments in a Chat
Example: uploading a PDF file to the agent.
- Switch to the agent mode.
- Log in to CodeArts Agent IDE as instructed in Quick Start.
- At the bottom of the input box on the chat panel, choose Built-in > Agent to switch to the agent mode. The selected model is displayed on the right. You can select a model as required from the drop-down list.
If the chat panel of CodeArts Agent is not displayed, click
(Expand AI Sidebar) in the upper right corner of the top menu bar to open it.
- Click
in the input box, select Upload Attachments, and upload a local attachment. - Enter a prompt and click
. The agent will then create and execute a task based on the prompt.
Using Voice Input
Enable voice input when typing is inconvenient, when you need quick verbal communication, or when structuring text instructions is difficult. This function supports up to 10 minutes of continuous recording each time, eliminating lengthy text descriptions and helping you achieve precise and efficient communication of your needs.
When using this function for the first time, ensure that microphone access is enabled. If it is disabled, configure it in your system settings. (The exact interface may vary depending on your OS.)
- Windows: Go to Start > Settings > Privacy & security and allow microphone access.
- macOS: Go to System Settings > Privacy & Security and allow microphone access.
- Switch to the agent mode.
- Log in to CodeArts Agent IDE as instructed in Quick Start.
- At the bottom of the input box on the chat panel, choose Built-in > Agent to switch to the agent mode. The selected model is displayed on the right. You can select a model as required from the drop-down list.
If the chat panel of CodeArts Agent is not displayed, click
(Expand AI Sidebar) in the upper right corner of the top menu bar to open it.
- At the bottom of the input box on the chat panel, click
and start recording. The AI will automatically convert your voice input into text and enter it in the input box. The duration of a single voice input cannot exceed 10 minutes.
- Once you finish voice input, click
and then
. The agent will automatically create a task based on your prompt. If there are errors in the voice recognition result, you can edit the text manually before sending.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot