chatbot
Build and Release / release (push) Successful in 33s

This commit is contained in:
2026-05-09 11:55:45 +07:00
parent a9b8c4ab8b
commit add1728916
6 changed files with 248 additions and 3 deletions
+8
View File
@@ -0,0 +1,8 @@
import api from "@/config/config";
import { API } from "../../api";
import { ChatbotPayload, ChatbotResponse } from "@/interface/chatbot";
export const apiChatbot = async (payload: ChatbotPayload): Promise<ChatbotResponse> => {
const response = await api.post(API.Chatbot.CHAT,payload);
return await response?.data;
};