I try to Create AI Service Connection File (Data Management) and use into Classify Objects Using Deep Learning (Image Analyst) using the Vision Language Context-Based Classification Deep Learning Package.
When i try to create the OpenAI connection, the Use the model document says:
To connect directly to OpenAI, set the service_provider to "OpenAI" and provide your OpenAI API key using the api_keyfield. You must also specify the model to use by setting the deployment_name field (e.g., "gpt-4o" or "gpt-4"). The remaining parameters can be left blank when connecting directly to OpenAI, as they are only required when using OpenAI services hosted on Azure.
But, when i try to configure the deployment_name field, appears an error
Error 004120: Invalid connection parameter. The correct connection parameter for the <value> service provider is <value>".
ArcGIS Pro 3.5DescriptionAn incorrect connection parameter was provided for a specific service provider.
Solution
Verify the correct connection parameter for the specified service provider and update it accordingly.
Wht'a the correct way to create an OpenAI Connection?
Thanks!
Hi @IgnacioYañez ,
I just tested the Create AI Service Connection File tool with OpenAI, and it worked correctly when I set the connection parameter as follows:
Key: Model
Value: gpt-4o
After creating the connection file this way, it was successfully recognized by the Vision Language Context-Based Classification package in ArcGIS Pro.
Hope this helps!
Thanks for your help Muhammad. I already have the connection file!
Saddly the geoprocessing don't work for me 😪
Can you share me how you can use the model?
Your are welcome.
I’m actually facing this strange scenario too — the tool runs, but the output shows ClassLabel and Reason fields with unknown values.
I’m still investigating why this happens and will update once I figure out the cause.
Hello again,
I just want to follow up if you were able to have your results after the new update released.
I resolved it but just checking that with you.
Regards