Skip to main content

What's wrong with my linux? A LLM based tool to diagnose linux problems.

Project description

wwwml PyPI version Release Building Code style: black

What's wrong with my linux? A LLM based tool to diagnose linux problems.

Install

pip install -U wwwml

Set environment variable in your ~/.bashrc, ~/.zshrc, etc.

export OPENAI_API_KEY=sk~XXXXXXXX

Or, to use Azure OpenAI endpoint, set following environment variable:

export OPENAI_API_KEY=XXXXXXXXXX
export OPENAI_API_BASE=https://XXXXXX.openai.azure.com/
export OPENAI_API_TYPE=azure
export OPENAI_API_VERSION=2023-07-01-preview
# Use a deploymetn of gpt-3.5-turbo or gpt-4 with version 0613 or later
export WWWML_DEPLOYMENT=gpt-35-turbo-16k

Usage

python -m wwwml
# or
wwwml

Dependency

This tool currently call following command to get system information

  • sysstat
    • iostat
    • mpstat
    • vmstat

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wwwml-0.3.0.tar.gz (6.4 kB view hashes)

Uploaded Source

Built Distribution

wwwml-0.3.0-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page