Code Monkey home page Code Monkey logo

llm-alerting's Introduction

An intelligent alerting with Gemini & Function calling

Description

Leveraging LLMs on GCP to gernerate meaningful guidance for each alerting in order to accelerate problem solving rather than a simple alerting message.

Architecture

architecture

Prerequisite

Deployment

# 1. Modify initial setting in bin/config.env
#
# Notice: 
# To replace webhook url, I use sed here. In sed's replacement section, the '&' represents the entire text that matched your search pattern. To include a literal '&' in the replacement, you need to escape it with a backslash.
#

vi bin/config.env

# 2. Update all related parametes.
bin/config.sh var

# 3. Deploy llm-alerting Cloud Run.
bin/config.sh run

# 4. Create a GKE cluster for demo (Ignore this step if using existed GKE)
bin/config.sh demo

# 5. Create a notification channel and alerting policy for demo.
config.sh alert

Advanced

Make sure your have enough quota for Vertex AI to run more Funtion Calling, such as main-ext.py. Otherwise you would meet following error:


google.api_core.exceptions.ResourceExhausted: 429 Quota exceeded for aiplatform.googleapis.com/generate_content_requests_per_minute_per_project_per_base_model with base model: gemini-pro. Please submit a quota increase request. https://cloud.google.com/vertex-ai/docs/generative-ai/quotas-genai.

llm-alerting's People

Contributors

cc4i avatar

Watchers

Kostas Georgiou avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.