ReMind icon indicating copy to clipboard operation
ReMind copied to clipboard

Doesn't seem to work

Open DmacMcgreg opened this issue 1 year ago • 11 comments

Hey there! Excited to see this come to life, but right now it doesn't seem to work.

CleanShot 2024-05-23 at 09 26 52@2x

DmacMcgreg avatar May 23 '24 13:05 DmacMcgreg

Good to know that you were able to start the application anyway.

My explanations were brief, so let me clarify a few points:

  1. Flask Server Issue: In the version deployed on GitHub, the indexing.py file has a Flask server that does not restart at a defined time. As a result, it loads the old content of the JSON file with only the sample data.

  2. Upcoming Fix: I will deploy a new version very soon, which I've been using and has these problems fixed.

  3. Check main.py: Ensure that main.py is performing its job correctly. If not, please send me the error messages.

  4. Live Screen Monitoring: The process works as follows:

    • A screenshot is taken every 2 seconds.
    • If the screen is not similar to the previous 2 seconds (using similarity algorithms), the screenshot is stored in a database.
    • These stored screenshots are then transcribed and implemented in a JSON file with the date and time.
    • The JSON file data is embedded in a vector database for indexing and querying.
  5. Action Required: Either:

    • Restart your Flask server regularly.
    • Wait for the fix I will deploy soon, which will reload the JSON file every 5-10 minutes. Let me know which option you prefer.

DonTizi avatar May 23 '24 13:05 DonTizi

  1. looks like there are some errors

CleanShot 2024-05-23 at 09 47 52@2x

DmacMcgreg avatar May 23 '24 13:05 DmacMcgreg

Can you manually create a folder logs/ and a file app.log in memory_capture, and restart the main.py file?

Sorry I deployed the old version cause I wanted to finish the new one before pushing it,

DonTizi avatar May 23 '24 13:05 DonTizi

Error is gone! But still same results from above. I can see some logs about storing info in the chroma db..

DmacMcgreg avatar May 23 '24 13:05 DmacMcgreg

Can you double check the all_texts.json to see if the data is putted correctly?

DonTizi avatar May 23 '24 17:05 DonTizi

CleanShot 2024-05-23 at 14 57 47@2x CleanShot 2024-05-23 at 14 57 58@2x

DmacMcgreg avatar May 23 '24 18:05 DmacMcgreg

Here is the issue: the screen recorder seems to work, but the transcription is not working well. Can you provide me with the logs of your app.log in memory-capture/logs?

DonTizi avatar May 23 '24 23:05 DonTizi

I will deploy the optimal version tomorrow along with a demo. Sorry for the delay, I was quite overwhelmed today.

DonTizi avatar May 23 '24 23:05 DonTizi

@DonTizi The app.log seems to be over 37GB in size 🤯

DmacMcgreg avatar May 24 '24 15:05 DmacMcgreg

Wow… delete it. I’ll add this to my to-do list. I added this log feature just for debugging to see where it didn’t work when I was coding. I’ll try to optimize it and either reduce it or delete it completely. Thanks for letting me know!

DonTizi avatar May 24 '24 16:05 DonTizi

@DmacMcgreg @DonTizi I found a solution to this; or a similar issue... there is no transcriptions folder in memory_capture. The script is going to have to be modified to check for the folder and create it if it isn't there.

stark1tty avatar Jun 13 '24 20:06 stark1tty