MCPcopy Create free account

hub / github.com/bobbylkchao/chatbotBuilder / functions

Functions103 in github.com/bobbylkchao/chatbotBuilder

↓ 10 callersFunctionauth
( authToken: string, source: 'rest' | 'graphql' )
api/src/service/auth/index.ts:18
↓ 10 callersFunctionmessageResponseFormat
(message: string)
api/src/service/chat-bot/misc/message-response-format.ts:6
↓ 10 callersFunctionuseGlobalStateContext
()
app/src/context/global-state.tsx:24
↓ 6 callersFunctiongaSendClickEvent
(type: string, buttonName: string)
app/src/misc/google-analytics.ts:19
↓ 6 callersFunctiongetDomainFromUrl
(url: string)
api/src/misc/get-domain.ts:1
↓ 5 callersFunctiongetModel
()
api/src/service/open-ai/index.ts:57
↓ 4 callersFunctionconvertToLocalTime
(utcDateStr: string)
app/src/misc/convert-to-local-time.ts:3
↓ 2 callersFunctionaddTargetAttrToHyperLink
(htmlString: string)
app/src/misc/open-link-in-new-window.ts:1
↓ 2 callersFunctionfetchChatApi
( botId: string, requestPayload: string )
app/src/components/chat-bot/fetch-chat-api.ts:1
↓ 2 callersFunctionhandleErrorMessage
()
app/src/components/chat-bot/index.tsx:28
↓ 2 callersFunctionparseQuickActions
(input: string)
app/src/components/bot-quick-action/index.tsx:171
↓ 2 callersFunctionreadChunk
()
app/src/components/chat-bot/index.tsx:88
↓ 2 callersFunctionstartServices
()
api/src/index.ts:34
↓ 1 callersFunctionaskProvideParamsFlow
( userInput: string, chatHistory: string, missingFields: string, res: Response )
api/src/service/chat-bot/flow/ask-provide-params-flow.ts:5
↓ 1 callersFunctionchatBotServiceEntry
( botId: string, messages: IMessage[], req: Request, res: Response )
api/src/service/chat-bot/index.ts:20
↓ 1 callersFunctioncheckIntentClarity
( botGlobalGuidelines: string, chatHistory: string )
api/src/service/chat-bot/misc/check-intent-clarity.ts:9
↓ 1 callersFunctioncheckIntentRequiredParams
( botData: TBotData, intentDetectionResult: IIntentDetectionFormat )
api/src/service/chat-bot/misc/check-intent-required-params.ts:15
↓ 1 callersFunctioncorsMiddleware
()
api/src/middleware/cors.ts:5
↓ 1 callersFunctioncreateBot
({ userId, name, greetingMessage, guidelines, allowedOrigin = [], }: ICreateBotArgs)
api/src/service/database/bot/index.ts:116
↓ 1 callersFunctioncreateIntent
({ userId, botId, name, description, requiredFields, isEnabled, intentHandler, }: ICreateIntent)
api/src/service/database/intent/index.ts:104
↓ 1 callersFunctioncreateQuickAction
({ userId, botId, config, }: ICreateQuickAction)
api/src/service/database/quick-action/index.ts:11
↓ 1 callersFunctioncreateUser
(args: Prisma.UserUncheckedCreateInput)
api/src/service/database/user/index.ts:29
↓ 1 callersFunctiondecodeBase64Code
(value: string)
app/src/misc/convert-base64.ts:3
↓ 1 callersFunctiondeleteBot
({ userId, botId, }: IDeleteBot)
api/src/service/database/bot/index.ts:159
↓ 1 callersFunctiondeleteIntent
({ userId, intentId, }: IDeleteIntent)
api/src/service/database/intent/index.ts:174
↓ 1 callersFunctionencodeBase64Code
(value: string)
app/src/misc/convert-base64.ts:12
↓ 1 callersFunctionfunctionalHandler
( handlerFunctionBase64: string, context: any = {} )
api/src/service/chat-bot/misc/functional-handler.ts:5
↓ 1 callersFunctiongaSendPageView
(pageUrl: string, context: object)
app/src/misc/google-analytics.ts:9
↓ 1 callersFunctiongeneralQuestionFlow
( messages: IMessage[], botData: TBotData, res: Response )
api/src/service/chat-bot/flow/general-question-flow.ts:6
↓ 1 callersFunctiongetBotGuildlinesAndIntent
(botId: string)
api/src/service/database/bot/index.ts:25
↓ 1 callersFunctiongetBotsByUser
(userId: string)
api/src/service/database/bot/index.ts:4
↓ 1 callersFunctiongetRequesterData
(req: Request)
api/src/misc/get-requester-data.ts:4
↓ 1 callersFunctiongetUser
(openId: string, email: string)
api/src/service/database/user/index.ts:7
↓ 1 callersFunctioninitGoogleAnalytics
()
app/src/misc/google-analytics.ts:3
↓ 1 callersFunctioninitOpenAiClient
()
api/src/service/open-ai/index.ts:7
↓ 1 callersFunctionintentDetectionFlow
( res: Response, botData: TBotData, chatHistory: string, userInput: string )
api/src/service/chat-bot/flow/intent-detection-flow.ts:8
↓ 1 callersFunctionintentHandlerFlow
({ req, res, userInput, chatHistory, botGuidelines, intentHandler, intentParameters, }: IIntentH
api/src/service/chat-bot/flow/intent-handler-flow.ts:19
↓ 1 callersFunctionisTrafficAllowed
( origin: string, apiHost: string, authToken: string )
api/src/misc/is-traffic-allowed.ts:8
↓ 1 callersFunctionmessageResponseFormatJson
(message: string)
api/src/service/chat-bot/misc/message-response-format.ts:10
↓ 1 callersFunctionmodelResponseFlow
({ userInput, chatHistory, botGuidelines, intentHandlerGuidelines, res, }: IModelResponseFlow)
api/src/service/chat-bot/flow/model-response-flow.ts:13
↓ 1 callersFunctiononDelete
(key: number)
app/src/components/bot-quick-action/index.tsx:152
↓ 1 callersFunctiononDeleteBot
(botId: string)
app/src/components/bot-list/index.tsx:73
↓ 1 callersFunctiononHandlerTypeSelectChange
(value: TBotIntentHandlerType)
app/src/components/intent-details/index.tsx:232
↓ 1 callersFunctiononSubmit
()
app/src/components/bot-quick-action/index.tsx:107
↓ 1 callersFunctionreportWebVitals
(onPerfEntry?: ReportHandler)
app/src/reportWebVitals.ts:3
↓ 1 callersFunctionrunPrismaMigrations
()
api/src/index.ts:13
↓ 1 callersFunctionsendApiRequest
()
app/src/components/google-sign-in/index.tsx:27
↓ 1 callersFunctionsendLogsToCloudwatch
(logs: object)
api/src/service/aws/cloud-watch.ts:8
↓ 1 callersFunctionsetAuthorizationToken
(token: string)
app/src/service/apollo.ts:4
↓ 1 callersFunctionstartApolloServer
(express: Express)
api/src/service/apollo-graphql/index.ts:11
↓ 1 callersFunctionupdateBot
({ userId, botId, botName, greetingMessage, guidelines, allowedOrigin = [], }: IUpdateBotArgs)
api/src/service/database/bot/index.ts:59
↓ 1 callersFunctionupdateBotStrictIntentDetection
({ userId, botId, strictIntentDetection, }: IUpdateBotStrictIntentDetectionArgs)
api/src/service/database/bot/index.ts:213
↓ 1 callersFunctionupdateIntent
({ userId, id: intentId, name, requiredFields, isEnabled, intentHandler, description, }: IUpdate
api/src/service/database/intent/index.ts:36
↓ 1 callersFunctionuseGlobalStateHook
()
app/src/hook/use-global-state-hook.ts:4
FunctionApp
()
app/src/App.tsx:17
FunctionAppName
()
app/src/components/app-name/index.tsx:4
FunctionAuthWrapper
({ children }: IProps)
app/src/components/auth-wrapper/index.tsx:13
FunctionBotDetails
()
app/src/components/bot-details/index.tsx:18
FunctionBotDetailsPage
()
app/src/pages/bot-details/index.tsx:6
FunctionBotIntentList
({ botId }: IBotIntentListProps)
app/src/components/bot-intent-list/index.tsx:22
FunctionBotList
()
app/src/components/bot-list/index.tsx:29
FunctionBotNotFound
()
app/src/components/bot-details/bot-not-found.tsx:5
FunctionBotPage
()
app/src/pages/bot/index.tsx:6
FunctionBotQuickAction
({ botId, quickAction, toggleTipsModal }: IBotQuickActionProps)
app/src/components/bot-quick-action/index.tsx:29
FunctionBotSelectDropDown
({ callback }: IBotSelectDropDown)
app/src/components/bot-select-drop-down/index.tsx:13
FunctionChatBot
({ botId }: IArgs)
app/src/components/chat-bot/index.tsx:22
FunctionChatPage
()
app/src/pages/chat/index.tsx:7
FunctionDashboardPage
()
app/src/pages/dashboard/index.tsx:9
FunctionGitHubIcon
({ color, flex }: GitHubIconArgs)
app/src/components/github-icon/index.tsx:11
FunctionGlobalStateProvider
({ children }: IProps)
app/src/context/global-state.tsx:15
FunctionGoogleSignIn
()
app/src/components/google-sign-in/index.tsx:12
FunctionLoadingAnimation
()
app/src/components/loading-animation/index.tsx:4
FunctionMessageComponent
({ messages, quickActions, handleSend })
app/src/components/chat-bot/message-component.tsx:13
FunctionMessageItemComponent
({ message })
app/src/components/chat-bot/message-item-component.tsx:13
FunctionModal
({ title, isModalOpen, closable=true, maskClosable=true, disableOkButton=false, disableCancelButto
app/src/components/modal/index.tsx:23
FunctionNavBar
()
app/src/components/nav-bar/index.tsx:10
FunctionNotFoundPage
()
app/src/pages/not-found/index.tsx:4
FunctionPlaygroundPage
()
app/src/pages/playground/index.tsx:7
FunctionPocSignInForm
()
app/src/components/chat-bot/components/poc-sign-in-form.tsx:3
FunctionQuickActions
({ data, onSend }: IQuickActionsProps)
app/src/components/chat-bot/quick-actions.tsx:14
FunctionSignInCarousel
()
app/src/pages/sign-in/carousel.tsx:5
FunctionSignInPage
()
app/src/pages/sign-in/index.tsx:10
FunctionactiveUser
( args: Prisma.UserUncheckedCreateInput )
api/src/service/database/user/index.ts:72
FunctionchatMiddleware
(req, res)
api/src/middleware/chat.ts:8
FunctionconvertStringToJson
(str: string)
app/src/misc/convert-string-to-json.ts:1
FunctiongaSendEventData
(eventName: string, context: object)
app/src/misc/google-analytics.ts:28
FunctiongetUserBots
(parent, args, context)
api/src/resolver/query/get-user-bots.ts:4
FunctionhandleCreateBot
(_, args, context)
api/src/resolver/mutation/create-bot.ts:4
FunctionhandleCreateIntent
(_, args, context)
api/src/resolver/mutation/create-intent.ts:4
FunctionhandleCreateQuickAction
(_, args, context)
api/src/resolver/mutation/create-quick-action.ts:4
FunctionhandleDeleteBot
(_, args, context)
api/src/resolver/mutation/delete-bot.ts:4
FunctionhandleDeleteIntent
(_, args, context)
api/src/resolver/mutation/delete-intent.ts:4
FunctionhandleEditorDidMount
(editor)
app/src/components/code-editor/index.tsx:14
FunctionhandleUpdateBot
(_, args, context)
api/src/resolver/mutation/update-bot.ts:4
FunctionhandleUpdateBotStrictIntentDetection
( _, args, context )
api/src/resolver/mutation/update-bot-strict-intent-detection.ts:4
FunctionhandleUpdateIntent
(_, args, context)
api/src/resolver/mutation/update-intent.ts:4
FunctiononFormDelete
()
app/src/components/intent-details/index.tsx:197
FunctiononFormSubmit
()
app/src/components/intent-details/index.tsx:117
FunctiononSubmit
()
app/src/components/bot-details/bot-form.tsx:55
FunctionsanitizeInput
(input: string)
app/src/misc/sanitize-input.ts:3
next →1–100 of 103, ranked by callers