Code Monkey home page Code Monkey logo

chatops's Introduction

ChatOps

项目概述

ChatOps 是一款面向电网故障注入场景的运维助手,具有以下四个方面的功能:

  • 故障场景描述

  • 用户期望描述

  • 故障结果描述

  • 生成运维建议

项目结构

doc 中存放项目的共享文档,包括项目设计文档、测试文档、提示词文档等等

prompt存放负责提示词开发同学的代码

rerouces存放资源文件

其他

仓库管理

master 分支受保护,禁止直接推送代码,请从其他分支提 PR。

目前 PR 的审查规则是:两个人代码过审、两个人测试过审。

issue 展示不使用,项目管理全在 pingcode 上。

部署

docker 环境

docker 运行镜像:

docker login
docker run -e FLASK_DEBUG="False" BASE_URL="" OPENAI_API_KEY="" REDIS_URL="" registry.cn-heyuan.aliyuncs.com/obser/chatops:1.0

如果用网络代理,添加环境变量 http_proxyhttps_proxy

k8s 环境

kubectl apply -f chatops.k8s.yml

需要先创建 docker registry 访问凭证,参考

chatops 依赖 redisredis 可以预先使用 helm 部署,参考

chatops's People

Contributors

cj-xchina avatar despaireyes avatar gurth avatar stleox avatar x1ahua avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

despaireyes

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.