MCPcopy Create free account

hub / github.com/microsoft/AI-Red-Teaming-Playground-Labs / functions

Functions490 in github.com/microsoft/AI-Red-Teaming-Playground-Labs

↓ 1 callersFunctioncancel
()
src/chat-score/webapp/src/components/conversation/ScoringPane.tsx:106
↓ 1 callersFunctionchatBotSelfEval
(page, input, chatbotResponse)
src/chat-copilot/webapp/tests/utils.ts:127
↓ 1 callersFunctioncheckAreTyping
()
src/chat-copilot/webapp/src/components/chat/ChatStatus.tsx:28
↓ 1 callersFunctioncheckInteraction
()
src/chat-copilot/webapp/src/libs/auth/TokenHelper.ts:94
↓ 1 callersFunctioncreateGetUserRequest
(id: string, index: number)
src/chat-copilot/webapp/src/libs/hooks/useGraph.ts:128
↓ 1 callersFunctioncreate_app
()
src/chat-score/webapi/app.py:155
↓ 1 callersFunctioncreate_database_if_not_exists
(client: CosmosClient, database_name)
k8s/cosmosdb.py:54
↓ 1 callersMethoddead_reviews
Handle dead reviews
src/chat-score/webapi/server/controller/conversation.py:107
↓ 1 callersFunctiondelete_database_if_exists
(client: CosmosClient, database_name)
k8s/cosmosdb.py:69
↓ 1 callersFunctiondialogOpenChangeEvent
(open: boolean)
src/chat-copilot/webapp/src/components/chat/chat-history/ScorerAction.tsx:57
↓ 1 callersFunctiondialogOpenChangeEvent
(open: boolean)
src/picture-submission/webapp/src/components/PictureUpload.tsx:123
↓ 1 callersFunctiondisablePluginAndClosePopUp
(page)
src/chat-copilot/webapp/tests/utils.ts:99
↓ 1 callersMethodearn_bonus
Function to apply a bonus to the connection TTL. Also returns the new TTL
src/chat-score/webapi/server/models/conversation.py:47
↓ 1 callersFunctionensureBackslash
(url: string)
src/picture-submission/webapp/src/libs/services/BaseService.ts:4
↓ 1 callersFunctionensure_backslash
(url: string)
src/chat-copilot/webapp/src/libs/services/BaseService.ts:22
↓ 1 callersFunctionfetchData
()
src/picture-submission/webapp/src/components/MainView.tsx:51
↓ 1 callersMethodforwardRequest
Run the reverse proxy returns true if the request succeeded or false if it failed ie 429
src/loadbalancer/internal/services/reverseproxy/reverseproxy.go:70
↓ 1 callersMethodgenerateSpeechRecognizer
(token: string, region: string)
src/chat-copilot/webapp/src/libs/services/SpeechService.ts:36
↓ 1 callersFunctiongetClassesBubble
()
src/chat-copilot/webapp/src/components/chat/chat-history/ChatHistoryItem.tsx:142
↓ 1 callersFunctiongetEnabledPlugins
()
src/chat-copilot/webapp/src/libs/hooks/useChat.ts:409
↓ 1 callersFunctiongetLastChatMessageContentsAsStringWHistory
(page, chatHistoryItems)
src/chat-copilot/webapp/tests/utils.ts:117
↓ 1 callersFunctiongetOrCreateHubConnection
(store: StoreMiddlewareAPI)
src/chat-copilot/webapp/src/redux/features/message-relay/signalRHubConnection.ts:263
↓ 1 callersFunctiongetResponse
({ messageType, value, chatId, contextVariables, processPlan }: GetResponseOptions)
src/chat-copilot/webapp/src/libs/hooks/useChat.ts:145
↓ 1 callersFunctiongetTextAreaValue
()
src/chat-copilot/webapp/src/components/chat/ChatInput.tsx:173
↓ 1 callersFunctiongetTotalTokenUsage
(previousSum?: number, current?: number)
src/chat-copilot/webapp/src/redux/features/app/appSlice.ts:112
↓ 1 callersMethodget_assignement
Function to get the conversation guid assigned to a reviewer
src/chat-score/webapi/server/models/conversation.py:106
↓ 1 callersFunctionget_cosmosdb_name
(challenge_id: int, env: str)
k8s/deploy.py:26
↓ 1 callersMethodget_count
Function to get the connection count
src/chat-score/webapi/server/models/connection.py:50
↓ 1 callersFunctionget_name
(challenge_id: int)
challenges/generate.py:15
↓ 1 callersMethodget_picture
(self, user_id: str)
src/picture-submission/webapi/server/models/submission.py:52
↓ 1 callersMethodget_status
(self, user_id: str)
src/picture-submission/webapi/server/controller/submission.py:26
↓ 1 callersMethodget_time
(self, socket_id: str)
src/chat-score/webapi/server/models/conversation.py:41
↓ 1 callersFunctionhandleSave
()
src/chat-copilot/webapp/src/components/chat/shared/EditChatName.tsx:72
↓ 1 callersFunctionhasInteracted
()
src/chat-score/webapp/src/libs/utils/UserInteraction.ts:9
↓ 1 callersFunctionhealthz
(rw http.ResponseWriter)
src/loadbalancer/internal/services/reverseproxy/http.go:13
↓ 1 callersMethodincrement
Function to increment the connection count and set the key for the given id
src/chat-score/webapi/server/models/connection.py:15
↓ 1 callersFunctioninit
(initRequest: WorkerInitRequestPayload)
src/chat-score/webapp/src/workers/Socket.worker.ts:53
↓ 1 callersFunctioninitShowSnippetStates
()
src/chat-copilot/webapp/src/components/chat/chat-history/CitationCards.tsx:50
↓ 1 callersFunctioninitSpeechRecognizer
()
src/chat-copilot/webapp/src/components/chat/ChatInput.tsx:112
↓ 1 callersMethodintegrity
Function to check the integrity of the connection count. It will remove any keys that are not present in the count and update the count accor
src/chat-score/webapi/server/models/connection.py:80
↓ 1 callersFunctioninteractionInProgressHandler
( interactionStatus: InteractionStatus, msalInstance: IPublicClientApplication, accessTokenRequest
src/chat-copilot/webapp/src/libs/auth/TokenHelper.ts:80
↓ 1 callersFunctionisAuthAAD
()
src/chat-copilot/webapp/src/libs/auth/AuthHelper.ts:107
↓ 1 callersFunctionisEndpointValid
(endpoint *endpoint, modelName string)
src/loadbalancer/internal/services/orchestrator/endpoint.go:97
↓ 1 callersFunctionisToday
(date: Date)
src/chat-copilot/webapp/src/components/utils/TextUtils.tsx:10
↓ 1 callersFunctionisUserActive
()
src/chat-score/webapp/src/libs/utils/UserInteraction.ts:10
↓ 1 callersMethodis_alive
Function to check if the connection is alive
src/chat-score/webapi/server/models/connection.py:43
↓ 1 callersFunctionloadSpecificChat
(chatSession: IChatSession, accessToken: string, loadedConversations: Conversations)
src/chat-copilot/webapp/src/libs/hooks/useChat.ts:215
↓ 1 callersFunctionloadingChatText
()
src/chat-copilot/webapp/src/App.tsx:214
↓ 1 callersFunctionloginHelper
(page, useraccount, password)
src/chat-copilot/webapp/tests/utils.ts:14
↓ 1 callersFunctionmain
()
k8s/cosmosdb.py:80
↓ 1 callersFunctionneedsMarkdown
(content: string)
src/chat-copilot/webapp/src/components/chat/chat-history/ChatHistoryTextContent.tsx:29
↓ 1 callersMethodnew_conversation
Handle a new conversation and will try to assign it to a connection
src/chat-score/webapi/server/controller/conversation.py:50
↓ 1 callersFunctiononBackendFoundWithAuthCheck
()
src/chat-copilot/webapp/src/components/views/BackendProbe.tsx:36
↓ 1 callersFunctiononCloseDialog
()
src/chat-copilot/webapp/src/components/chat/chat-list/bot-menu/NewBotMenu.tsx:23
↓ 1 callersFunctiononConnect
()
src/chat-score/webapp/src/App.tsx:61
↓ 1 callersFunctiononDeleteStep
(index: number)
src/chat-copilot/webapp/src/components/chat/plan-viewer/PlanBody.tsx:28
↓ 1 callersFunctiononDisconnect
()
src/chat-score/webapp/src/App.tsx:66
↓ 1 callersFunctiononDragLeave
(e: React.DragEvent<HTMLDivElement | HTMLTextAreaElement>)
src/chat-copilot/webapp/src/components/chat/ChatRoom.tsx:66
↓ 1 callersFunctiononError
(json: string)
src/chat-score/webapp/src/App.tsx:101
↓ 1 callersFunctiononPlanAction
()
src/chat-copilot/webapp/src/components/chat/plan-viewer/PlanDialogView.tsx:74
↓ 1 callersFunctiononReview
(json: string)
src/chat-score/webapp/src/App.tsx:80
↓ 1 callersFunctiononReviewDone
()
src/chat-score/webapp/src/App.tsx:88
↓ 1 callersFunctiononSIGTERM
()
src/loadbalancer/pkg/graceful/graceful.go:41
↓ 1 callersFunctiononSaveTitleChange
()
src/chat-copilot/webapp/src/components/chat/shared/EditChatName.tsx:53
↓ 1 callersFunctiononStatusUpdate
(json: string)
src/chat-score/webapp/src/App.tsx:72
↓ 1 callersFunctiononTimeUpdate
(data: string)
src/chat-score/webapp/src/App.tsx:95
↓ 1 callersFunctionopenChallenge
(id: number, url?: string)
src/challenge-home/webapp/src/table.tsx:103
↓ 1 callersFunctionparseGetUserResponse
( response: BatchResponse, userIds: string[], usersToRetry: string[], )
src/chat-copilot/webapp/src/libs/hooks/useGraph.ts:140
↓ 1 callersMethodping
(self, socket_id: str)
src/chat-score/webapi/server/controller/connection.py:27
↓ 1 callersMethodpop_from_pool
Function to pop a connection from the pool
src/chat-score/webapi/server/models/connection.py:59
↓ 1 callersMethodpreProcessing
(id *uuid.UUID, rw http.ResponseWriter, req *http.Request)
src/loadbalancer/internal/services/reverseproxy/http.go:52
↓ 1 callersFunctionregisterCommonSignalConnectionEvents
(hubConnection: signalR.HubConnection, store: StoreMiddlewareAPI)
src/chat-copilot/webapp/src/redux/features/message-relay/signalRHubConnection.ts:65
↓ 1 callersFunctionregisterServices
()
src/loadbalancer/cmd/server/main.go:27
↓ 1 callersFunctionregisterSignalREvents
(hubConnection: signalR.HubConnection, store: StoreMiddlewareAPI)
src/chat-copilot/webapp/src/redux/features/message-relay/signalRHubConnection.ts:121
↓ 1 callersFunctionremove_first_backslash
(url: string)
src/chat-copilot/webapp/src/libs/services/BaseService.ts:28
↓ 1 callersFunctionremove_first_backslash
(url: string)
src/picture-submission/webapp/src/libs/services/BaseService.ts:10
↓ 1 callersFunctionreportWebVitals
(onPerfEntry?: ReportHandler)
src/chat-score/webapp/src/reportWebVitals.ts:6
↓ 1 callersFunctionreportWebVitals
(onPerfEntry?: ReportHandler)
src/picture-submission/webapp/src/reportWebVitals.ts:6
↓ 1 callersFunctionrequiresUserLevelAuth
(auth: ManifestAuth)
src/chat-copilot/webapp/src/libs/models/PluginManifest.ts:14
↓ 1 callersFunctionresetState
()
src/chat-copilot/webapp/src/redux/app/store.ts:39
↓ 1 callersMethodrun
()
src/loadbalancer/internal/services/orchestrator/orchestrator.go:83
↓ 1 callersMethodscore
Handle the scoring of a conversation
src/chat-score/webapi/server/controller/conversation.py:65
↓ 1 callersFunctionsendChatMessageAndWaitForResponse
(page, message)
src/chat-copilot/webapp/tests/utils.ts:82
↓ 1 callersFunctionsendChatMessageAndWaitForResponseWTime
(page, message, waitTime: number)
src/chat-copilot/webapp/tests/utils.ts:75
↓ 1 callersFunctionsendReview
()
src/chat-copilot/webapp/src/components/chat/chat-history/ScorerAction.tsx:37
↓ 1 callersFunctionsendReviewAsync
()
src/picture-submission/webapp/src/components/PictureUpload.tsx:136
↓ 1 callersMethodsend_flag
(self, user_id: str, flag: str)
src/picture-submission/webapi/server/service/ctfd/ctfd.py:101
↓ 1 callersMethodsend_scoring_request
(self, id: str, picture: str)
src/picture-submission/webapi/server/controller/scoring.py:45
↓ 1 callersFunctionset_ctfd_service_instance
(instance: CtfdService)
src/picture-submission/webapi/server/service/ctfd/ctfd.py:175
↓ 1 callersMethodset_picture
(self, user_id: str, picture: bytes, mime: str)
src/picture-submission/webapi/server/models/submission.py:62
↓ 1 callersMethodset_score
(self, id: str, passed: bool, message: str)
src/picture-submission/webapi/server/controller/scoring.py:24
↓ 1 callersFunctionsetupDefault
()
src/loadbalancer/internal/config/config.go:64
↓ 1 callersFunctionsetupFile
()
src/loadbalancer/internal/config/config.go:40
↓ 1 callersFunctionsetupInteractionDetector
()
src/chat-score/webapp/src/libs/utils/UserInteraction.ts:12
↓ 1 callersFunctionsetupSignalRConnectionToChatHub
()
src/chat-copilot/webapp/src/redux/features/message-relay/signalRHubConnection.ts:39
↓ 1 callersFunctionsetupXssHandler
(challengeSettings: ChallengeSettings)
src/chat-copilot/webapp/src/components/views/BackendProbe.tsx:56
↓ 1 callersFunctionshowSnippet
(index: number)
src/chat-copilot/webapp/src/components/chat/chat-history/CitationCards.tsx:62
↓ 1 callersFunctionshutdown
()
src/chat-score/webapp/src/workers/Socket.worker.ts:80
↓ 1 callersFunctionsliderValueChange
(value: number)
src/chat-copilot/webapp/src/components/chat/persona/MemoryBiasSlider.tsx:60
↓ 1 callersFunctionsortConversations
(conversations: Conversations)
src/chat-copilot/webapp/src/components/chat/chat-list/ChatList.tsx:106
← previousnext →101–200 of 490, ranked by callers