PyVanguard
OnCall AI Assistant, Your Intelligent Incident Resolution Partner!
Meet OnCall AI Assistant, your friendly helper for tackling incidents quickly and efficiently. This smart tool makes resolving issues a breeze by tapping into your team’s documents and learning from past incidents.
Features:
Smart Insights: It uses your team’s knowledge base to provide solutions that fit your unique workflows and practices.
Learn from the Past: By looking at how previous incidents were handled, it suggests tried-and-true methods to solve current problems.
Easy Recommendations: OnCall AI combines real-time data with historical context to give you straightforward advice tailored to your situation.
Keeps Getting Better: With every incident it helps resolve, it learns and improves, so it’s always ready to assist your team more effectively.
Works with Your Tools: It integrates smoothly with what you already use, enhancing your team’s skills without replacing them.
Usage:
First you need to load the following environment variables.
export OPENAI_API_KEY=....
export QDRANT_DB_URL=....
export QDRANT_DB_API_KEY=....
export PAGERDUTY_INTEGRATION_KEY=....
export SQLITE_DB_PATH=/root/pyvanguard.db
Load The team documents.
$ pyvanguard load --dir_path /root/pyvanguard/testdocs --team_name clivern
Trigger a Pagerduty Alert.
$ pyvanguard alert --summary "Host clivern.ams01 is down" --severity critical --team clivern
Query the RAG
$ pyvanguard query --text "Host clivern.ams01 is Down" --kind "" --team clivern --limit 2
$ pyvanguard query --text "Host clivern.ams01 is Down" --kind "team_document" --team clivern --limit 2
$ pyvanguard query --text "Host clivern.ams01 is Down" --kind "pagerduty_alert" --team clivern --limit 2
Metadata
Release files for pyvanguard 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyvanguard-0.2.0.tar.gz | 24.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyvanguard-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 52.8 kB
Release files / pyvanguard-0.2.0.tar.gz
| Download URL | pyvanguard-0.2.0.tar.gz |
|---|---|
| Size | 24.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2dfc692473418f0897514734bf1229da1457c470f77f5a8ec20d20828bc25f01
|
|
BLAKE2b-256 checksum How to use checksums |
a0f28fe9750b372922b7e3cc6a318c94334e251ae2ecb28a65e096ebfbe814db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.11
|
Release files / pyvanguard-0.2.0-py3-none-any.whl
| Download URL | pyvanguard-0.2.0-py3-none-any.whl |
|---|---|
| Size | 28.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
15292b251e81826af62addd16341b49a81881318879a8a9275e5f1cb150a3c24
|
|
BLAKE2b-256 checksum How to use checksums |
72aa1adebe08907222b1e4badd08307eb3028bb2e186d54dfada72bdbb505246
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.11
|