From 007c0d81dc1fed7d1ea39284d67ab04c13554527 Mon Sep 17 00:00:00 2001 From: kowshik Date: Wed, 11 Sep 2024 21:22:17 +0000 Subject: [PATCH] prediction ppipeline started --- notebooks/test_prediction_pipeline.ipynb | 0 scripts/__init__.py | 0 src/pipeline/__init__.py | 0 src/pipeline/data_ingestion.py | 0 src/pipeline/data_preprocessor.py | 0 src/pipeline/inference.py | 0 src/pipeline/model_evaluation.py | 0 src/pipeline/model_trainer.py | 0 src/prompts/questions.py | 3 ++- 9 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 notebooks/test_prediction_pipeline.ipynb create mode 100644 scripts/__init__.py create mode 100644 src/pipeline/__init__.py create mode 100644 src/pipeline/data_ingestion.py create mode 100644 src/pipeline/data_preprocessor.py create mode 100644 src/pipeline/inference.py create mode 100644 src/pipeline/model_evaluation.py create mode 100644 src/pipeline/model_trainer.py diff --git a/notebooks/test_prediction_pipeline.ipynb b/notebooks/test_prediction_pipeline.ipynb new file mode 100644 index 0000000..e69de29 diff --git a/scripts/__init__.py b/scripts/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/pipeline/__init__.py b/src/pipeline/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/pipeline/data_ingestion.py b/src/pipeline/data_ingestion.py new file mode 100644 index 0000000..e69de29 diff --git a/src/pipeline/data_preprocessor.py b/src/pipeline/data_preprocessor.py new file mode 100644 index 0000000..e69de29 diff --git a/src/pipeline/inference.py b/src/pipeline/inference.py new file mode 100644 index 0000000..e69de29 diff --git a/src/pipeline/model_evaluation.py b/src/pipeline/model_evaluation.py new file mode 100644 index 0000000..e69de29 diff --git a/src/pipeline/model_trainer.py b/src/pipeline/model_trainer.py new file mode 100644 index 0000000..e69de29 diff --git a/src/prompts/questions.py b/src/prompts/questions.py index 4e61a69..e5236aa 100644 --- a/src/prompts/questions.py +++ b/src/prompts/questions.py @@ -6,7 +6,7 @@ def get_questions_prompt(): Each question will be based on the SOPs of specific workers in different departments, and the questions should vary depending on the assessment frequency type and frequency number. The goal of the assessment is to focus on the progress of the tasks outlined in each worker's SOPs. Make sure each question is relevant to the worker's SOP, and attach a tag to each question indicating the topic area (e.g., communication, timeline, development). - The questions should become more detailed or challenging as the assessment progresses over time. + The questions should become more detailed or challenging as the assessment progresses over time and the question is If either the name or role of the assigned person is available in the SOP, use it to formulate the questions. Input: @@ -20,6 +20,7 @@ def get_questions_prompt(): 1. Review the SOPs of the assessment and generate questions for the workers based on the frequency type, frequency number, and topic areas. 2. Regardless of the assement type, always use 1,2,3 for the frequency numbering, nothing else + 3. All questions are "yes" or "no" questions nothing extra Example response: questions