Skip to content

Commit 5bf7d30

Browse files
Merge pull request #107 from telerik/add-chat-ai-integration-example
fix the chat action method path
2 parents 46e375f + 06fc2de commit 5bf7d30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Telerik.Examples.Mvc/Telerik.Examples.Mvc/Views/Chat/SmartChat.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
const chat = $("#aiChat").data("kendoChat");
1717
1818
try {
19-
const response = await fetch('/ChatAiIntegration/Ask', {
19+
const response = await fetch('/SmartChat/Ask', {
2020
method: 'POST',
2121
headers: { 'Content-Type': 'application/json' },
2222
body: JSON.stringify({ prompt: e.message.text })

0 commit comments

Comments
 (0)