Open realthore opened 3 weeks ago
Are you able to provide the image you used? Also, are you on the free tier or paid tier in OpenAI?
I'm on the free tier, but haven't used chatgpt in the last 24h so I shouldn't have exceeded the GPT4o limit
I'm not sure gpt-4o works on the free tier: https://platform.openai.com/docs/guides/rate-limits/usage-tiers?context=tier-free
I was able to create the recipe on my instance using Tier 1:
(it put all the instructions in one step annoyingly)
Okay got it. I'll upgrade my API tier in the next couple of days, thanks for your assistance
Hi, same issue here, but I even tried with the simple examples in Parser, and for instance it fails to evaluate: 2 tbsp minced cilantro, leaves and stems with the same error: "Something Went Wrong!"
Never used openai before, I just created my account and an API key. Mealie claims: OpenAI Ready Required OpenAI variables are all set.
If you set the LOG_LEVEL to debug there will be more information to why the job has failed
https://docs.mealie.io/documentation/getting-started/installation/backend-config/#general
I found this:
openai.NotFoundError: Error code: 404 - {'error': {'message': 'The model gpt-4o
does not exist or you do not have access to it.', 'type': 'invalid_request_error', 'param': None, 'code': 'model_not_found'}}
I then switched to gpt-4o-mini and now I get this:
openai.RateLimitError: Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}}
I'll try to sort it out with openai directly, it is not related to Mealie :)
thanks
Yeah, gpt-4o might not be included in the free tier.
For the other one. You will have to buy API tokens from OpenAI to resolve this. From my experience it is about 0.5 cents to create a recipe and about 0.1 cents for ingredient parsing so it certainly is pretty cost effective. You milage might vary but it should not bancrupt you and you will propably get pretty far with the min amount of 5$.
shouldn't the free tier be enough ? it should offer $100 / month
I'll check with them first, because when I created my account, it said I won't get free credit because my number has been used before. Which is weird as I never used Openai before...
What is also surprising, is it claims this API key has never been used, as if it didn't detect Mealie attempt.
The free tier limits are too low to work with any real-world application. You either need to go up to Tier 1 or use an open source/self hosted model.
If you put $5 into OpenAI they'll bump you up to Tier 1, which gives you gpt-4 models and substantially higher limits. I recognize that this isn't an option for everyone, in which case I would recommend trying out ollama. But you'll need pretty beefy hardware to get good results out of it.
Maybe, I never tried so far, how long will it last with "normal" usage ? and does it expire after some months ?
First Check
What is the issue you are experiencing?
I'm trying to create an image from a recipe. Tried multiple different images, either handwritten and photos of printed recipes. All return with "Something Went Wrong!"
Steps to Reproduce
Upload image to mealie, error occurs after a couple of seconds it's loading. OpenAI API usage activity doesn't change
Please provide relevant logs
Docker compose:
Mealie Version
https://github.com/mealie-recipes/mealie/commit/9c04950948428f333dea5e21575b66eef7ec0e05
Deployment
Docker (Synology)
Additional Deployment Details
Using Portainer