Skip to content

AIOps-Lab-NKU/LocaleXpert

Repository files navigation

LocaleXpert

The file structure is as follows:

├── /CompanyConfig/
│  └──/SelfIntroduction/
├── /mepfl_model/
├── /data/
├──metric_anomaly.py
├──trace_anomaly.py
├──mepfl.py
├──run.py
├──run_22.py
  • SelfIntroduction: Prompt for each Agent and solution paths.
  • mepfl_model: Code for training the trace failure localization model.
    • mepfl_model\main.py : Main train program
    • mepfl_model\data : Data process code
  • data: Code for data process.
  • metric_anomaly.py: Code for metrics description generate, along with the code for training the metric classification model.
  • trace_anomaly.py: Code for traces description generate.
  • mepfl.py: Code for online trace failure localization.
  • run.py: LocaleXpert in GAIA Dataset
  • run_22.py: LocaleXpert in AIOps Challenge Dataset

Install

  1. Set Up Python Environment: Ensure you have a version 3.9 or higher Python environment. You can create and activate this environment using the following commands, replacing LocaleXpert_env with your preferred environment name:

    conda create -n LocaleXpert_env python=3.9 -y
    conda activate LocaleXpert_env
    
  2. Install Dependencies: Install the necessary dependencies by running:

    pip install -r requirements.txt
    
  3. Run: Replace [description_of_task] with the task description and [project_name] with the AIOps case name:

    python run.py --task "[description_of_task]" --name "[project_name]"
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages