feat: implement user profile page, chatbot integration, and navigation components
Build and Release / release (push) Successful in 55s

This commit is contained in:
2026-06-06 23:28:40 +07:00
parent 820e0b5216
commit 6d7d63a891
103 changed files with 251 additions and 5559 deletions
+6 -1
View File
@@ -3,6 +3,11 @@ 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);
const response = await api.post(API.Chatbot.CHAT, payload);
return await response?.data;
};
export const apiChatbotHistory = async (params?: { cursor?: string; limit?: number }): Promise<any> => {
const response = await api.get(API.Chatbot.HISTORY, { params });
return await response?.data;
};