|
1 | 1 | # DevOps-GPT |
2 | | -Use a brilliant assistant as your friend on your DevOps journey. |
| 2 | +Use a brilliant assistant as your friend in your DevOps journey. |
3 | 3 |
|
4 | 4 | ## What does this project offer? |
5 | 5 | This project helps you to balance your daily work as a DevOps engineer, from simple bug fixes to project template generation.<br /> |
6 | 6 | you don't need to search on Google for some routine jobs and it helps you with a robust prompt to simplify your career. |
7 | 7 |
|
| 8 | +## How it works? |
| 9 | +This is a wrapper between DevOps engineers and large language models like GPT-4-mini. The main strength of it is prompt engineering.<br /> |
| 10 | + |
| 11 | +We have developed some (Extendable) prompt-driven solutions with a simplified interface for the DevOps process cost reduction.<br /> |
| 12 | + |
| 13 | +### Docker services |
| 14 | +We run our services using docker-compose (the main Fast-API-based backend and MongoDB), so we package all dependencies and don't use any external service.<br /> |
| 15 | +The second one is Mongodb. we need to save the prompt and GPT-4_mini response in the Mongo document for future use. (for example, fine-tuning the other model with our data) <br /> |
| 16 | + |
| 17 | +### Media directory |
| 18 | +The third one is in the media directory. for now, We save a project called (MyTerraform) which is a Terraform template generated based on user requirements. so users can download it and use it.<be /> |
| 19 | +surely we can save any static data in the `/media`. |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | +This is an example of a template generated in the `/media` |
| 24 | + |
| 25 | +and the input is something like that |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | +### directory_generator.py |
| 32 | +This file becomes updated when we trigger the template generation API. finally, It generates the MyTerraform directory based on user input which is a template. |
| 33 | + |
| 34 | + |
8 | 35 | ## ToolChain |
9 | 36 | 1. Python |
10 | 37 | 2. Docker |
11 | 38 | 3. GPT-4-mini |
12 | 39 | 4. FastAPI |
| 40 | + |
| 41 | +## Pre-requisites |
| 42 | +1. Python |
| 43 | +2. Docker |
| 44 | + |
| 45 | +## How to use? |
| 46 | +execute `sh run.sh` in your terminal |
| 47 | + |
| 48 | +> [!WARNING] |
| 49 | +> Do Not change the GPT model! Prompts have been developed for the GPT-4-mini model and they can't be integrated with other GPT models. it can cause horrible incompatibility. |
| 50 | +
|
| 51 | + |
| 52 | +> |
| 53 | +# Maintenance |
| 54 | +** [Abolfazl Andalib](https://github.com/abolfazl8131) - abolfazlandalib@gmail.com **<br /> |
| 55 | +** [Mohammad Madanipour](https://github.com/mohammadll) - m.madanipourr@gmail.com ** |
0 commit comments