Exercise - Configure your custom engine agent

Completed

Let's customize the prompt for your custom engine agent.

  1. Go to the config.json file under src. Add the following code inside the completion brackets and replace the variables with your Azure AI Search resource details. Meaning, replace the variables after the semicolon.

    Screenshot of result of config.json within the user interface.

  2. From the left pane, select Run and Debug (Ctrl+Shift+D).

  3. Select Debug in Test Tool (Preview) if you don't want to utilize a Microsoft 365 account or Debug in Teams (Edge) if you want to test your agent in the full Teams experience.

  4. Select the F5 key.

    Screenshot of Debug Test Tool button within the user interface.

  5. Custom engine agent runs within the Debugging tool you have chosen, which opens in your browser.

    Now, in the new window ask questions related to your document and chat with your custom engine agent to learn more about your data.

    Screenshot of custom engine agent in test tool.

Congratulations, you completed this tutorial!