sonIA / utils.py

Commit History

update openai and streamlit_authenticator compatibility
0068562

Davide Fiocco commited on

Move to chatGPT to lower costs
53e30d5

davidefiocco commited on

Try to force second person singular again
2dbf488

davidefiocco commited on

Force second person singular
917e219

davidefiocco commited on

Avoid question marks in answer
5b9277b

davidefiocco commited on

Try to force second person singular in answers
90ae5a7

davidefiocco commited on

Try to force second person singular in answers
f66032b

davidefiocco commited on

Use black and logging
feabab6

davidefiocco commited on

Fix bug in st.secrets usage
1630497

davidefiocco commited on

Remove outstanding tokinizers import
7e03458

davidefiocco commited on

Avoid caching context
7bdd50b

Davide Fiocco commited on

Lower threshold for unsure
abbccac

Davide Fiocco commited on

Revise age calculation
d8d8f1a

Davide Fiocco commited on

Change replies when not sure
afa3f24

Davide Fiocco commited on

Rotate answers when not sure
b39f806

Davide Fiocco commited on

Guess less boldly
ad2c89a

Davide Fiocco commited on

Admit failure when answer is not known
dbe757e

Davide Fiocco commited on

Add today's date without regressions
94ea41f

Davide Fiocco commited on

Refactor
46152dd

Davide Fiocco commited on

Add caregiver
b37eabc

Davide Fiocco commited on

Fix bugs with birthyear
5d92ad1

Davide Fiocco commited on

Update age computation
f74ef39

Davide Fiocco commited on

Fix age to update over time
34129b5

Davide Fiocco commited on

Make isort/black happy
4bed6fd

Davide Fiocco commited on

Allow year to update automatically
dcf6f0c

Davide Fiocco commited on

Refactor the app and change the context a bit
0fdee06

Davide Fiocco commited on