JBHF commited on
Commit
1451372
·
verified ·
1 Parent(s): 70a371f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -1,4 +1,4 @@
1
- # app.py 03-11-2024, 01:35 CET
2
  # C:\Users\jfhmb\BIG 5 OCEAN PSYCHOLOGICAL PERSON PROFILE FROM ANSWERS TO QUESTION SET
3
  # EVERNOTE :
4
  # SYNTHETIC RANDOM BIG 5 PSYCHOLOGICAL GROUNDTRUTH PROFILE
@@ -27,6 +27,8 @@
27
  # GEEF DIT DEEL VAN JE ANWOORD IN DE VORM VAN EEN KEURIGE TABEL IN MARKDOWN FORMAAT.\n"""
28
  #
29
  # IN ...
 
 
30
 
31
  # Deze PDF download werkt in deze versie !!!!!
32
  import streamlit as st
@@ -92,7 +94,8 @@ def genereer_big5_profiel(antwoorden):
92
  "Dit is je opdracht:\n"
93
  "You will analyze a provided text to identify the Big Five personality traits—Openness, Conscientiousness, Extraversion, Agreeableness, and Neuroticism (OCEAN model)—and produce a detailed psychological profile based on this analysis.\n"
94
  "Output your analysis in nice markdown format, with each of the Big Five personality traits on a seperate alinea.\n"
95
- "IMPORTANT: At the end of your report output a table in markdown format, showing all the Big 5 scores on a scale from 1 to 5 and the range of minimum to maximum scores because of the possible limited accuracy of the analysis.\n"
 
96
  "INPUT:\n" + "\n".join([f"{vraag}: {antwoord}" for vraag, antwoord in antwoorden.items()])
97
  )
98
 
 
1
+ # app.py 03-11-2024, 01:45 CET
2
  # C:\Users\jfhmb\BIG 5 OCEAN PSYCHOLOGICAL PERSON PROFILE FROM ANSWERS TO QUESTION SET
3
  # EVERNOTE :
4
  # SYNTHETIC RANDOM BIG 5 PSYCHOLOGICAL GROUNDTRUTH PROFILE
 
27
  # GEEF DIT DEEL VAN JE ANWOORD IN DE VORM VAN EEN KEURIGE TABEL IN MARKDOWN FORMAAT.\n"""
28
  #
29
  # IN ...
30
+ #
31
+ # PDF generation and downloading working
32
 
33
  # Deze PDF download werkt in deze versie !!!!!
34
  import streamlit as st
 
94
  "Dit is je opdracht:\n"
95
  "You will analyze a provided text to identify the Big Five personality traits—Openness, Conscientiousness, Extraversion, Agreeableness, and Neuroticism (OCEAN model)—and produce a detailed psychological profile based on this analysis.\n"
96
  "Output your analysis in nice markdown format, with each of the Big Five personality traits on a seperate alinea.\n"
97
+ "IMPORTANT: At the end of your report output a table in markdown format, showing all the Big 5 scores on a scale from 1 to 5 and the range of minimum to maximum scores because of the possible limited accuracy of the analysis. Use column headings: Big 5 eigenschap, Score (1-5), Range (minimale en maximale score)\n"
98
+ "Use the following naming conventions for the Big 5 personality traits and no others: Openheid, Nauwgezetheid, Extraversie, Vriendelijkheid, Neuroticisme"
99
  "INPUT:\n" + "\n".join([f"{vraag}: {antwoord}" for vraag, antwoord in antwoorden.items()])
100
  )
101