Debug Test for OpenAI #4478
-
Ive got Ollama up and running okay and it loos like once (and only once_ I managed to get the debug test for OpenAI to respond back with an analysis of the image, anytime else I'm getting an error 504 which looks like its a timeout. I'm not suprised this is running slow as I'm testing this all on a pretty slow machine. I left the timeout value in my environment variables blank at first but then set a rather high value and I'm still getting returned error 504 long before that timeout should hit. Am I missing something? Because this is a feature I would love to make use of, |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
As long as you have For Ollama, have you tested it on larger inputs outside of Mealie? It sounds like an Ollama issue. Can you check the Ollama logs and see if it offers any more information besides just the status code 504? |
Beta Was this translation helpful? Give feedback.
-
With your reassurance I dug back into things, it looks like it might have been a networking issues between containers. I did at least get the admin portion to successfully do a debug, I'll test that a bit more then try the actual create from image, if I have any other issues I'll add adddiional notes on tis, thanks so much! |
Beta Was this translation helpful? Give feedback.
-
So I am able to get the debug to work reliably (I've tried multiple images and image formats) all seem to work, although I have noticed at first it was returning all the recipe data after a few runs it started giving less and less data When I run the add recipe from image it doesn't seem to complete the request no matter how long I let it run Here is an example of ollama logs for import from image. Is it just my machine not being able to handle the request in which case you would thin ollama would come back with some kind of a message about that... 2024-10-31 19:07:47 [GIN] 2024/11/01 - 00:07:47 | 200 | 51.623497792s | 172.18.0.4 | POST "/v1/chat/completions" |
Beta Was this translation helpful? Give feedback.
-
@skperdue68 which Ollama model are you using in your config? |
Beta Was this translation helpful? Give feedback.
You need pretty beefy hardware to get image processing to work. In my local tests I couldn't get any usable data out of images using Ollama. Check to see if you can get anything out of an image outside of Mealie, first.