export const __webpack_esm_id__=62832;export const __webpack_esm_ids__=[62832];export const __webpack_esm_modules__={62832(e,t,n){var s=n(90567);angular.module("graphdb.framework.rest.ttyg.service",[]).factory("TTYGRestService",c),c.$inject=["$http"];const o="rest/chat/conversations",a="rest/chat/agents",r=`${o}/explain`,p="rest/chat/chats";function c(e){return new s.r,{createChat:t=>e.post(p,t),getConversation:t=>e.get(`${o}/${t}`),renameConversation:(t,n)=>e.put(`${o}/${t}`,n),exportConversation:t=>e.get(`${o}/export/${t}`,{responseType:"blob"}),askQuestion:t=>e.post(`${p}/question`,t),continueChatRun:t=>e.post(`${o}/continue`,t),getConversations:()=>e.get(o),deleteConversation:t=>e.delete(`${o}/${t}`),createConversation:(t={})=>e.post(o,t),cancelPendingQuestion:t=>e.post(`${p}/${t}/cancel`),getAgents:()=>e.get(a),getAgent:t=>e.get(`${a}/${t}`),createAgent:t=>e.post(a,t),editAgent:t=>e.put(`${a}`,t),deleteAgent:t=>e.delete(`${a}/${t}`),explainResponse:(t={})=>e.post(r,t),getAgentDefaultValues:()=>e.get(`${a}/default`),explainAgentSettings:t=>e.post(`${a}/explain`,t)}}}};
//# sourceMappingURL=62832.78fd6716f89beb1b92e0.bundle.js.map