Giter Club home page Giter Club logo

3shake-costchecker-agent's Introduction

3shake-costchecker-agent

🚀 CostChecker-Agent: An AI-Powered 🤖 Tool for Automated Cloud Cost Analysis, Feedback, Suggestions and More! 💻🔍

CostChecker-Agentとは?

上記はCostChecker-Agentのコンセプト図です。CostChecker-Agent自体はDocker imageを利用して構築しています。Github Actionを利用する事で、Google Cloudのコストの増減について定期的に監視を行い、LLMがレポートを作成します。Github Actionを利用する事で、レポートが定期的に取得出来ます。更にローカルでの実行もサポートしています。2023年11月7日現在、CostChecker-Agentで使用するLLMに、OpenAI社のChatGPTと、Google CloudのVertex AI(PaLM2)をサポートしています。

使い方

  1. Google Cloud側での設定が事前に必要です。詳細は以下の記事をご覧ください。
  2. costchecker-agent.ymlmonthly-timestamp-update.ymlを自身のリポジトリの.github/workflows配下に置きます。
  3. Settings > Actions > General > Workflow permissionsRead repository contents permissionRead and write permissionsに設定します。
  4. 環境変数を設定します。
    GCP_SA_JSON_KEY=<サービスアカウントのキーファイルの内容を張り付ける>
    GCP_PROJECT_NAME=<YOUR ENV>
    GCP_DATASET=<YOUR ENV>
    GCP_TABLE_NAME=<YOUR ENV>
    OPENAI_API_KEY=<YOUR ENV>
    OPENAI_ORGANIZATION_ID=<YOUR ENV>
    LLM_MODEL=PaLM2
    LANGUAGE=Japanese
    

3shake-costchecker-agent's People

Contributors

hide-1 avatar nwiizo avatar

Watchers

Shohei Shimomura avatar Shinji Yamada avatar yohei yamana 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.