Files

18 Nov 20181 minute to read

The Files context feature is a key component of Syncfusion Code Studio. It allows you to include relevant content from selected documents directly in the chat, enabling the AI to deliver responses that are more accurate and aligned with your files.

How to Use the Files context

1. Open Syncfusion Code Studio

In the Syncfusion Code Studio, the chat interface is located on the left-hand side of the screen, where you can interact with the AI and get assistance.

Accept Image

2. Select Files context

In the chat window, click the @ button.

Note: If you cannot locate the files context option in the list, you will need to add it manually to include this context provider in config.yaml file. Please follow the steps outlined in this link to do so.

Accept Image

A menu will appear—select Files from the list.

Accept Image

3. Choose the File

After selecting Files, choose the document you want to include in context.

Accept Image

4. Use file Context with Query

Type a relevant query about the selected file in the chat box and press Enter.
Syncfusion Code Studio will read and analyze the selected file(s), allowing the AI to provide more context-aware and helpful responses based on the content of your files and the query you’ve submitted.
Accept Image