Skip to content

sayan26/PredictorProjGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

The PredictorProjGPT prompt framework has the capability to accept performance test results as an input and provide an output that includes Key Performance Indicators (KPIs) mapped to their corresponding dataframe objects.

OpenAI Documentation : https://platform.openai.com/docs/libraries/python-library

Pre-Requisites

1. OpenAI API Key
2. OpenAI Packages
3. Pandas Packages
4. Streamlit Packages

Installing Packages

1. Install OpenAI Packages

pip install openai

2. Install Pandas

pip install pandas

3. Install Streamlit

pip install streamlit

Output

Input Performance Test Report Prompt

A performance test was conducted on 24th April 2020 on a Salesforce application. The following observation was 
recorded by a performance tester after conclusion of the test.
Configuration:
1. There are total 40 transactions involved. The wait time between each transaction is 5 seconds.
2. Total Pacing Time is configured as 180 seconds.
    
Summary:
1. Average Response Time for the entire duration of the test was 6.5 seconds.
2. CPU Utilization peaked 75% in the first hour of the steady state.
3. Memory Consumption of 88% was observed at the last hour of the steady state.
4. Entire duration of the test was 5 hours. Endurance Test was performed.
5. Observed 10% error on the entire duration of the test
6. Predict the outcome

End Result

![image](https://github.com/sayan26/PredictorProjGPT/assets/16152685/2fc5f180-ae55-4dad-8376-da43e3ab3b04)

Installation

1. Clone the repository into your project directory

git clone 'enter repository url here'

2. Build Image

docker build -t predictor-gpt-app .

2. Run the container

docker run -it predictor-gpt-app

Update - 18/03/2024

1. Recent Changes in OpenAI commands - https://github.com/openai/openai-python
2. OpenAI secret key is now stored as environment variable

About

A prompt framework to extract KPIs from a performance test report.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published