From a06673c4f5c249118f7466a298840225a58f342e Mon Sep 17 00:00:00 2001 From: Sanja Date: Tue, 6 Feb 2024 11:45:53 -0800 Subject: [PATCH] Remove deprecated endpoint and replace it with the new endpoint --- resources/js/components/shared/PmqlInput.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/js/components/shared/PmqlInput.vue b/resources/js/components/shared/PmqlInput.vue index f0ccae8ac7..c907ccf623 100755 --- a/resources/js/components/shared/PmqlInput.vue +++ b/resources/js/components/shared/PmqlInput.vue @@ -364,7 +364,7 @@ export default { this.aiLoading = true; ProcessMaker.apiClient - .post("/openai/nlq-to-pmql", params) + .post("/package-ai/nlqToPmql", params) .then((response) => { this.pmql = response.data.result; this.usage = response.data.usage;