Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

errors running the application #14

Open
Sceptersax opened this issue Jan 13, 2024 · 3 comments
Open

errors running the application #14

Sceptersax opened this issue Jan 13, 2024 · 3 comments

Comments

@Sceptersax
Copy link

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
Copy link
Author

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

@ttopholm
Copy link

ttopholm commented Feb 2, 2024

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

@Sceptersax
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants