Skip to main content

A chatGPT powered Cisco DNAC analyzer

Project description

chatGPT_Meraki_Event_Analyzer

A chatGPT / Meraki SDK Python powered event analyzer

Current API Coverage

Network Events

Current chatGPT Prompts

Network Events

{"role": "system", "content": "You are a network troubleshooting tool"},
{"role": "user", "content": f"Please describe the following ncondition { event }"},
{"role": "system", "content": "You are a chatbot"},
{"role": "user", "content": f"Please describe the following network condition { event } and explain it like I'm 5"},
{"role": "system", "content": "You are a network troubleshooting tool"},
{"role": "user", "content": f"Is the network event { event } a problem with the network?"}
{"role": "system", "content": "You are a network troubleshooting tool"},
{"role": "user", "content": f"How do I troubleshoot a { event } problem with Meraki?"},

Installation

$ python3 -m venv meraki
$ source meraki/bin/activate
(meraki) $ pip install chatgpt_meraki_analyzer

Usage - Environment Variables - IMPORTANT

Please export / setup this environment variable prior to running vivlio

(meraki) $ export MERAKI_DASHBOARD_API_KEY=<Meraki API Token>

Also please create a .env file with the following

  • Required OPENAI_KEY=""

Available from platform.openai.com

** Optional for WebEx Messages

WEBEX_TOKEN="" WEBEX_ROOMID=""

Usage - In-line

(meraki) $ chatgpt_meraki_analyzer

Always On Sandbox

This code works with the always on sandbox!

https://devnetsandbox.cisco.com/RM/Diagram/Index/a9487767-deef-4855-b3e3-880e7f39eadc?diagramType=Topology

export MERAKI_DASHBOARD_API_KEY=fd6dd87d96915f21bc0e0b3d96a866ff0e53e381

Contact

Please contact John Capobianco if you need any assistance

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

chatgpt_dnac_analyzer-0.1.2.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

chatgpt_dnac_analyzer-0.1.2-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

Details for the file chatgpt_dnac_analyzer-0.1.2.tar.gz.

File metadata

  • Download URL: chatgpt_dnac_analyzer-0.1.2.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.1 CPython/3.10.4 Linux/5.10.102.1-microsoft-standard-WSL2

File hashes

Hashes for chatgpt_dnac_analyzer-0.1.2.tar.gz
Algorithm Hash digest
SHA256 7032fb1e066f3764d8559b5f8eca0527fb64ef468c8669b85252355e9bf87259
MD5 1224830c5e54ad7cae832ad40d01dbab
BLAKE2b-256 31f79413d31ff7806173028c831d6a6145e0ce3c2a7037c9556af96a30b2d1aa

See more details on using hashes here.

File details

Details for the file chatgpt_dnac_analyzer-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: chatgpt_dnac_analyzer-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 16.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.1 CPython/3.10.4 Linux/5.10.102.1-microsoft-standard-WSL2

File hashes

Hashes for chatgpt_dnac_analyzer-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3212b33c73c17d8000900f5effc2b91022aca8eaef808968d3cbbece5ae68530
MD5 3facf92c8076075968ae766636de3d59
BLAKE2b-256 3fc9dd9d67af41d309dad0bfee3a477103cd24331c52eb276fbd9f2ba7fda36d

See more details on using hashes here.

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