HarmonyAI / README.md
stagbrook-tech's picture
Initial commit
ea7fd90

HarmonyAI

HarmonyAI is a powerful, self-improving AI system designed to understand and execute commands with human-like comprehension and intention. It continuously self-evaluates and optimizes its capabilities, focusing on generating financial success through ethical, innovative software solutions.

Directory Structure

``` harmonyai/ β”œβ”€β”€ dataset/ β”‚ └── commands_dataset.csv β”œβ”€β”€ scripts/ β”‚ β”œβ”€β”€ execute_command.py β”‚ β”œβ”€β”€ fine_tune.py β”‚ └── web_scrape.py β”œβ”€β”€ models/ β”‚ └── model_config.py β”œβ”€β”€ server/ β”‚ └── app.py β”œβ”€β”€ workflows/ β”‚ └── airflow_dags.py β”œβ”€β”€ monitoring/ β”‚ β”œβ”€β”€ prometheus_config.yaml β”‚ └── grafana_dashboard.json └── README.md ```

Components

Dataset

The dataset includes a variety of commands, intents, effective methods, permissions, safety checks, self-improvement directives, and user interaction examples.

Scripts

  • execute_command.py: Handles the execution of commands sent to HarmonyAI.
  • fine_tune.py: Fine-tunes the selected models using the prepared dataset.
  • web_scrape.py: Scrapes websites for data to be used in fine-tuning the model.

Models

  • model_config.py: Configuration for the models used by HarmonyAI.

Server

  • app.py: Flask server to handle command execution requests.

Workflows

  • airflow_dags.py: Apache Airflow DAGs for workflow automation.

Monitoring

  • prometheus_config.yaml: Configuration for Prometheus monitoring.
  • grafana_dashboard.json: Configuration for Grafana dashboard.

Setup

  1. Run the setup script: ``` bash setup_harmonyai_auto.sh ```

  2. Fine-tune the model: ``` python ~/harmonyai/scripts/fine_tune.py ```

  3. Start the server: ``` python ~/harmonyai/server/app.py ```

  4. Run Airflow: ``` airflow initdb airflow webserver -p 8080 airflow scheduler ```

  5. Monitor using Prometheus and Grafana:

    • Follow the configurations in prometheus_config.yaml and grafana_dashboard.json.