I wonder if anyone was able to get the 'Analyze Last Execution' to work?
I have a Windows servers environment, two AE and two Web servers.
I have created D:\automic\Automation.AI\bin and \temp. I have created a process in SMDi to start: DEFINE UC4 AutomationAI01;java -jar -Xrs -Xmx2048M automation-ai-launcher.jar;*OWN\..\..\Automation.AI\bin
This is the application.properties
server.port=8080
logging.file.path=temp/
# default llm model
automation.ai.model.name=ollama
# chat conversation timeout in minutes
automation.ai.chat.conversation-timeout=1440
I've installed Ollama, but since I could not redirect the install directory, it is installed in c:\Users\username\AppData\Local\Ollama
I've loaded the gemma2 using 'ollama run gemma2'
I am able to ask a question and get a response. I saw that this process took a level memory and CPU use and the out of the response was very slow because of the server resource it was taking.
In the UC_SYSTEM_SETTINGS I have added 'AUTOMATION_AI_ENDPOINT http://aeservername:8088 and I have tried 8080. when I analyze the last run, I get either a clocking or I get 'Something went wrong. Please try again later and, if the issue persists, contact your administrator (which is me).
In the AE logs I see:
133 U00045098 Method 'POST', URL: 'http://AE1:8088/ae/api/v1/9/executions/9316237/reports/REP/ai', received from IP: '172.24.4.39' 'User: me/TENT'
133 U00045098 Method 'POST', URL: 'http://n01apw30025924.tent.trt.csaa.pri:8080/api/v1/chat', received from IP: '&03' '&04'
133 U00045099 The server replied with following status: '500' I/O error on POST request for "http://localhost:11434/api/chat": null: uri=/api/v1/chat
no logs are generated in the Automation.AI\temp directory.
What am I missing?
-------------------------------------------