chatgpt-dnac-analyzer-0.1.2
توضیحات
A chatGPT powered Cisco DNAC analyzer
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | chatgpt-dnac-analyzer-0.1.2 |
| نام | chatgpt-dnac-analyzer |
| نسخه کتابخانه | 0.1.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | John Capobianco |
| ایمیل نویسنده | ptcapo@gmail.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/chatgpt-dnac-analyzer/ |
| مجوز | - |
# chatGPT_Meraki_Event_Analyzer
A chatGPT / Meraki SDK Python powered event analyzer
## Current API Coverage
Network Events
## Current chatGPT Prompts
### Network Events
```json
{"role": "system", "content": "You are a network troubleshooting tool"},
{"role": "user", "content": f"Please describe the following ncondition { event }"},
```
```json
{"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"},
```
```json
{"role": "system", "content": "You are a network troubleshooting tool"},
{"role": "user", "content": f"Is the network event { event } a problem with the network?"}
```
```json
{"role": "system", "content": "You are a network troubleshooting tool"},
{"role": "user", "content": f"How do I troubleshoot a { event } problem with Meraki?"},
```
## Installation
```console
$ 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
```console
(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
```console
(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
```console
export MERAKI_DASHBOARD_API_KEY=fd6dd87d96915f21bc0e0b3d96a866ff0e53e381
```
## Contact
Please contact John Capobianco if you need any assistance
نیازمندی
| مقدار | نام |
|---|---|
| >=1.6.1,<2.0.0 | rich-click |
| >=0.27.2,<0.28.0 | openai |
| >=1.0.0,<2.0.0 | python-dotenv |
| >=2.28.2,<3.0.0 | requests |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8,<4.0 | Python |
نحوه نصب
نصب پکیج whl chatgpt-dnac-analyzer-0.1.2:
pip install chatgpt-dnac-analyzer-0.1.2.whl
نصب پکیج tar.gz chatgpt-dnac-analyzer-0.1.2:
pip install chatgpt-dnac-analyzer-0.1.2.tar.gz