Question

Eviden
NL
Last activity: 4 Apr 2025 4:51 EDT
Which GenAI Autopilot URL do we use?
For using the autopilot function in app studio, we have to configure an endpoint first.
In de community edition, Pega uses an internal url which is retrieved using "D_pyGetPegaGenAIGatewayServiceBaseURL". For connector "pyConnectToGenerativeAI". ---
It is recommended to use Azure OpenAI, and the configuration would be as follows:
https://[YOUR-RESOURCE-NAME].openai.azure.com/openai/deployments/[DEPLOYMENT-NAME]/chat/completions?api-version=[API-VERSION]
- Replace placeholders:
- [YOUR-RESOURCE-NAME] → Your Azure OpenAI resource name
- [DEPLOYMENT-NAME] → Your model deployment name (e.g., gpt-4-turbo)
- [API-VERSION] → Latest supported version (e.g., 2024-02-15-preview)
---
Now the question arrises, can we only use autopilot if we have a paid version in place of OpenAI which provides access to the api.
OR can we try out the autopilot functionality using any other LLM service. If so, are there any mocks or free services we can connect to?