AIObjectives / talk-to-the-city-reports

AI pipeline to generate Talk-to-the-City reports
GNU Affero General Public License v3.0
43 stars 12 forks source link

Chat doesn't display answers after first question #165

Closed brittneygallagher closed 6 months ago

brittneygallagher commented 6 months ago

Describe the bug As a non-logged in user trying to use chat - the response to a second question does not display

To Reproduce Steps to reproduce the behavior:

  1. Click on project '(https://talktothecity.org/report/heal-michigan-chat) - use private browsing
  2. Add Open AI Key
  3. Add Pinecone secret key
  4. Click Generate
  5. Ask a question, like what are some challenges for returning citizens?
  6. Wait for answer
  7. Ask another question, like what technology issues did returning citizens have?

Expected behavior The chat answer displays

Actual behavior The answer does not display if you open the Console, you can see that the response is there - it just doesn't display

lightningorb commented 6 months ago

Fixed with PR: https://github.com/AIObjectives/talk-to-the-city-reports/pull/151