mhaowork / amblegpt

Video surveilance footage analyst powered by GPT-4o
MIT License
91 stars 16 forks source link

errors running the application #14

Open Sceptersax opened 5 months ago

Sceptersax commented 5 months ago

I'm getting errors and here's one of them:

Process-5: Error processing video for event 1705104297.169877-v4prgt Traceback (most recent call last): File "/app/./mqtt_client.py", line 303, in process_message json_str = response.json()["choices"][0]["message"]["content"]

Dumb question but am i supposed to do the following on the host machine or in the container:

"Alternatively, you can simply install deps in requirements.txt, set .env and run mqtt_client.py."

I did everything in the instructions except the above since it said "alternatively". Does that mean my installation didn't go smooth? Or is this step mandatory? Thanks

Sceptersax commented 5 months ago

Looks like my problem was that the openai key wasn't set correctly. I may have rectified the issue.

ttopholm commented 5 months ago

@Sceptersax if you haven't fixed it, try delete the prompt in the config file

Sceptersax commented 5 months ago

Good to know thanks. My biggest issue with openai is the fact that it's just way to restrictive in terms of describing a person. It's very politically correct. I guess i can try to formulate different ways of query.