This directory contains implementation of clients that can interact with AIOPsLab. These clients are some baselines that we have implemented and evaluated to help you get started.
- GPT: A naive GPT4-based LLM agent with only shell access.
- ReAct: A naive LLM agent that uses the ReAct framework.
- FLASH: A naive LLM agent that uses status supervision and hindsight integration components to ensure the high reliability of workflow execution.
Note: The script GPT-managed-identity uses the DefaultAzureCredential
method from the azure-identity
package to authenticate. This method simplifies authentication by supporting various credential types, including managed identities.
We recommend using a user-assigned managed identity for this setup. Ensure the following steps are completed:
-
Role Assignment: Assign the managed identity appropriate roles:
- A role that provides read access to the VM, such as the built-in Reader role.
- A role that grants read/write access to the Azure OpenAI Service, such as the Azure AI Developer role.
-
Attach the Managed Identity to the Controller VM:
Follow the steps in the official documentation to add the managed identity to the VM:
Add a user-assigned managed identity to a VM.
Please ensure the required Azure configuration is provided using the /configs/example_azure_config.yml file, or use it as a template to create a new configuration file