sonIA / utils.py

Commit History

  1. update openai and streamlit_authenticator compatibility

    Davide Fiocco
    0068562

  1. Update utils.py

    9d018f3

  1. Update utils.py

    adddd13

  1. Update utils.py

    249002d

  1. Update utils.py

    0e93022

  1. Update utils.py

    8f63c8c
  2. Move to chatGPT to lower costs

    53e30d5

  1. Update utils.py

    ad63a1e
  2. Update utils.py

    6f672b2

  1. Update utils.py

    2ac69df
  2. Try to force second person singular again

    2dbf488

  1. Update utils.py

    610a175

  1. Force second person singular

    917e219
  2. Modify QA prompt

    964fbd9
  3. Avoid question marks in answer

    5b9277b

  1. Try to force second person singular in answers

    90ae5a7
  2. Try to force second person singular in answers

    f66032b

  1. Set loglevel

    be64225
  2. Use black and logging

    feabab6
  3. Fix bug in st.secrets usage

    1630497
  4. Improve UI

    4d5fcf9
  5. Remove outstanding tokinizers import

    7e03458
  6. Redo with openai

    21b7e19

  1. Revert model

    84375f1
  2. Change model

    76d8968

  1. Avoid caching context

    Davide Fiocco
    7bdd50b

  1. Lower threshold for unsure

    Davide Fiocco
    abbccac

  1. Revise age calculation

    Davide Fiocco
    d8d8f1a

  1. Change replies when not sure

    Davide Fiocco
    afa3f24
  2. Rotate answers when not sure

    Davide Fiocco
    b39f806
  3. Guess less boldly

    Davide Fiocco
    ad2c89a
  4. Admit failure when answer is not known

    Davide Fiocco
    dbe757e

  1. Add today's date without regressions

    Davide Fiocco
    94ea41f

  1. Refactor

    Davide Fiocco
    46152dd

  1. Add caregiver

    Davide Fiocco
    b37eabc
  2. Fix bugs with birthyear

    Davide Fiocco
    5d92ad1

  1. Update age computation

    Davide Fiocco
    f74ef39

  1. Fix age to update over time

    Davide Fiocco
    34129b5
  2. Make isort/black happy

    Davide Fiocco
    4bed6fd
  3. Allow year to update automatically

    Davide Fiocco
    dcf6f0c
  4. Refactor the app and change the context a bit

    Davide Fiocco
    0fdee06