Question
Self
US
Last activity: 15 Jan 2025 14:30 EST
Unable to use Pega GenAI Coach
After Pega's latest update, I am not able to add a GenAI Coach to my UI. I am using version Pega Infinity '24.2. Initially when I had added the Coach widget, it had worked fine. There seems to have been an update in the Coach widget because I get a warning message that the coach widget is deprecated. When I use the new Coach widget, I am getting an error message "Error while deploying the assistant". Is there any setting which I am missing?
-
Reply
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Updated: 15 Jan 2025 14:30 EST
Self
US
@AishwaryaR9642The issue was resolved by Pega when a ticket was raised. It was an installation issue.
"The issue is caused by missing collection in vector store service. We are waiting for GenAI Team to fix it. As workaround it was added manually."
FYI, Even when a data source was added, I still got the error.
Pegasystems Inc.
CA
To access Pega GenAI in Pega Cloud, you must complete the required onboarding process. For more information, see Enabling GenAI in Pega Cloud. If you attempt to make use of Pega GenAI on Pega Cloud without the required access, the system returns an error.
https://docs.pega.com/bundle/pega-cloud/page/pega-cloud/pc/learning-about/genai-in-pega-cloud.html
Self
US
@RameshSangili The rest of the GenAI features are working. Moreover, GenAI Coach which is deprecated now, is also working. GenAI is enabled in the cloud.
LTIMindtree
IN
@RameshSangili I'm also facing the same issue, after properly configured the Coach Rule in a case context, getting an error message "Error while deploying the assistant" at runtime. My cloud instance (24.2) is already enabled with Pega GenAI and except this GenAI coach, all other GenAI features are working properly. What I can see in the tracer, there is an activity named "pzDeployAssistant" which is called from an automation rule of Pega DX API "assistants/{assistantID}/conversations" to create a conversation object and in this activity on step 9 while calling the status API, it is failing and getting the below response, due to this the deployment error is coming. Response :
{
"title": "Internal Server Error",
"detail": "An unexpected error occurred while retrieving documents from the vector store: Cannot connect to host Proprietary information hidden:8080 ssl:default [Connect call failed (' Proprietary information hidden', 8080)]",
"errorCode": "AP-400-001"
} I have tried it in my Community Trial edition as well and getting the same error. As all these are Pega OOTB final rules, so is there any setting or configuration I'm missing which is required to use GenAI Coach at runtime? Please suggest me if anything I'm missing or anybody else facing the same issue.
Pegasystems Inc.
CA
I believe this is due to a design change in configurations between 24.1 and 24.2.
@MarijeSchillern - Can you please check with the Product team to find the relevant documents to add Gen AI coach in the 24.2 version?
LTIMindtree
IN
@MarijeSchillern As @RameshSangili mentioned that, this issue is might be happening due to the configuration change from 24.1 to 24.2, please check with the product team and let me know if any relevant documents are there for using Coach in runtime in 24.2 version, it will be very helpful for me to use it. As of now in all the available documents what I found regarding Gen AI Coach implementation, there is nothing mentioned about any specific configuration or setting which we need to add, everywhere it is mentioned that for cases and data objects in UX where and how we can add our specific coach rule.
Infosys
IN
@MarijeSchillern @RameshSangili I am also facing the same issue. Any assistance on resolving this issue would be very helpful.
Updated: 30 Dec 2024 7:00 EST
Pegasystems Inc.
GB
@AishwaryaR9642 @ArijitG96 Please can you clarify which documentation you are looking at?
Coach, Analyze, Automate GenAI products and capabilities are available with Pega Infinity 24.1 and above and can be purchased as the Pega GenAI Bundle - I'm assuming this has been done?
Did you go through the 24.2 documentation?
Pega GenAI Coach in Case Management
Adding a Pega GenAI Coach as a widget
If your issue is a documentation gap, then you can use the 'Feedback' button directly on the article.
If the problem is with the functionality then feel free to log a support ticket in order to have our product SME's check what features are missing from the documentation.
@ArunSarada as GenAI Coach product owner could you comment on the issues discussed here?
Pegasystems Inc.
GB
@RameshSangili please use the 'Feedback' feature on our external documentation if you need to log a documentation bug.
Infosys
IN
@ArijitG96 @AishwaryaR9642 @RameshSangili @MarijeSchillern - My issue got resolved after I added a data source to my Gen AI Coach rule. I was getting the same "Error while deploying the assistant" error before adding the data source to it.
Pegasystems Inc.
GB
@Sureshbabu.ss thanks so much for letting us know :-)
Can you confirm that these steps are already correctly documented in the links I suggested earlier?
Infosys
IN
@MarijeSchillernAdding the data sources to the Gen AI Coach rule is covered extensively in
Adding a data source to a Pega GenAI Coach. However, it was not mentioned that at least one data source needs to be added to the Gen AI Coach rule in order for it to work properly.
Accepted Solution
Updated: 15 Jan 2025 14:30 EST
Self
US
@AishwaryaR9642The issue was resolved by Pega when a ticket was raised. It was an installation issue.
"The issue is caused by missing collection in vector store service. We are waiting for GenAI Team to fix it. As workaround it was added manually."
FYI, Even when a data source was added, I still got the error.