Skip to content

Commit da1c8f5

Browse files
committed
revert readme
1 parent d1b400d commit da1c8f5

1 file changed

Lines changed: 25 additions & 48 deletions

File tree

README.md

Lines changed: 25 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,84 +1,61 @@
11
# DevOps-GPT
2-
32
Use a brilliant assistant as your friend in your DevOps Journey.
43

54
## What does this project offer?
6-
7-
This project helps you to balance your daily work as a DevOps engineer, from simple bug fixes to project template generation.
8-
You don't need to search on Google for some routine jobs, and it helps you with a robust prompt to simplify your career.
5+
This project helps you to balance your daily work as a DevOps engineer, from simple bug fixes to project template generation.<br />
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.
97

108
## 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 />
1110

12-
This is a wrapper between DevOps engineers and large language models like GPT-4-mini. The main strength of it is prompt engineering.
13-
14-
We have developed some (extendable) prompt-driven solutions with a simplified interface for the DevOps process cost reduction.
11+
We have developed some (Extendable) prompt-driven solutions with a simplified interface for the DevOps process cost reduction.<br />
1512

1613
### Docker services
17-
18-
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.
19-
The second one is MongoDB. We need to save the prompt and GPT-4-mini response in the Mongo document for future use (e.g., fine-tuning another model with our data).
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 />
2016

2117
### 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`.
2220

23-
The third one is 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.
24-
Surely we can save any static data in the `/media`.
21+
![teramedia](https://github.com/user-attachments/assets/b8e10d83-68ac-4efc-b064-45f1d1a870dc)
2522

2623
This is an example of a template generated in the `/media`
2724

28-
The input is something like this:
25+
and the input is something like that
26+
27+
![Screenshot from 2024-10-27 10-56-54](https://github.com/user-attachments/assets/63d1db07-2c25-4c10-a841-69a2c1235d9d)
28+
29+
2930

3031
### directory_generators
32+
This directory becomes updated when we trigger the template generation API. finally, It generates the MyTerraform directory based on user input which is a template.
3133

32-
This directory gets updated when we trigger the template generation API. Finally, it generates the MyTerraform directory based on user input, which is a template.
3334

3435
## ToolChain
35-
3636
1. Python
3737
2. Docker
38-
3. GPT-4-mini
38+
3. GPT-4o-mini
3939
4. FastAPI
4040
5. Helm
4141

4242
## Pre-requisites
43-
4443
1. Python
4544
2. Docker
4645

4746
## How to use?
47+
execute `sh run.sh` in your terminal
4848

49-
Execute `sh run.sh` in your terminal
50-
51-
> [!WARNING]\
52-
> 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.
49+
> [!WARNING]
50+
> 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.
5351
54-
## Run it locally on Kubernetes
52+
## Run it local on kubernetes
53+
If you want to run and use this chatbot app within your Kubernetes cluster, you can easily install it using the Helm chart provided in this repository
5554

56-
If you want to run and use this chatbot app within your Kubernetes cluster, you can easily install it using the Helm chart provided in this repository:
57-
58-
```
59-
helm install [RELEASE_NAME] helm/ -f helm/values.yaml
60-
```
61-
62-
## Tests
63-
64-
We have added unit tests to ensure the stability and reliability of the project.
65-
66-
### Running Tests
67-
68-
To run the tests, use the following command:
69-
70-
```
71-
cd app
72-
pytest tests/
73-
```
74-
75-
This command will execute all the test cases present in the `tests` folder. The tests include validation of the API endpoints, ensuring correct interactions with GPT services, and verifying that the generated outputs meet expected standards.
55+
helm install [RELEASE_NAME] helm/ -f helm/values.yaml
7656

7757
# Contributing
78-
79-
Please read the [Contribution guide](https://github.com/abolfazl8131/devops-gpt/blob/master/CONTRIBUTING.md)
80-
58+
please read the [Contribution guide](https://github.com/abolfazl8131/devops-gpt/blob/master/CONTRIBUTING.md)
8159
# Maintenance
82-
83-
**[Abolfazl Andalib](https://github.com/abolfazl8131)** - [abolfazlandalib@gmail.com](mailto:abolfazlandalib@gmail.com)
84-
**[Mohammad Madanipour](https://github.com/mohammadll)** - [m.madanipourr@gmail.com](mailto:m.madanipourr@gmail.com)
60+
** [Abolfazl Andalib](https://github.com/abolfazl8131) - abolfazlandalib@gmail.com **<br />
61+
** [Mohammad Madanipour](https://github.com/mohammadll) - m.madanipourr@gmail.com **

0 commit comments

Comments
 (0)