Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/microsoft/AI-Red-Teaming-Playground-Labs
/ functions
Functions
490 in github.com/microsoft/AI-Red-Teaming-Playground-Labs
⨍
Functions
490
◇
Types & classes
223
↳
Endpoints
15
↓ 1 callers
Function
cancel
()
src/chat-score/webapp/src/components/conversation/ScoringPane.tsx:106
↓ 1 callers
Function
chatBotSelfEval
(page, input, chatbotResponse)
src/chat-copilot/webapp/tests/utils.ts:127
↓ 1 callers
Function
checkAreTyping
()
src/chat-copilot/webapp/src/components/chat/ChatStatus.tsx:28
↓ 1 callers
Function
checkInteraction
()
src/chat-copilot/webapp/src/libs/auth/TokenHelper.ts:94
↓ 1 callers
Function
createGetUserRequest
(id: string, index: number)
src/chat-copilot/webapp/src/libs/hooks/useGraph.ts:128
↓ 1 callers
Function
create_app
()
src/chat-score/webapi/app.py:155
↓ 1 callers
Function
create_database_if_not_exists
(client: CosmosClient, database_name)
k8s/cosmosdb.py:54
↓ 1 callers
Method
dead_reviews
Handle dead reviews
src/chat-score/webapi/server/controller/conversation.py:107
↓ 1 callers
Function
delete_database_if_exists
(client: CosmosClient, database_name)
k8s/cosmosdb.py:69
↓ 1 callers
Function
dialogOpenChangeEvent
(open: boolean)
src/chat-copilot/webapp/src/components/chat/chat-history/ScorerAction.tsx:57
↓ 1 callers
Function
dialogOpenChangeEvent
(open: boolean)
src/picture-submission/webapp/src/components/PictureUpload.tsx:123
↓ 1 callers
Function
disablePluginAndClosePopUp
(page)
src/chat-copilot/webapp/tests/utils.ts:99
↓ 1 callers
Method
earn_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 callers
Function
ensureBackslash
(url: string)
src/picture-submission/webapp/src/libs/services/BaseService.ts:4
↓ 1 callers
Function
ensure_backslash
(url: string)
src/chat-copilot/webapp/src/libs/services/BaseService.ts:22
↓ 1 callers
Function
fetchData
()
src/picture-submission/webapp/src/components/MainView.tsx:51
↓ 1 callers
Method
forwardRequest
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 callers
Method
generateSpeechRecognizer
(token: string, region: string)
src/chat-copilot/webapp/src/libs/services/SpeechService.ts:36
↓ 1 callers
Function
getClassesBubble
()
src/chat-copilot/webapp/src/components/chat/chat-history/ChatHistoryItem.tsx:142
↓ 1 callers
Function
getEnabledPlugins
()
src/chat-copilot/webapp/src/libs/hooks/useChat.ts:409
↓ 1 callers
Function
getLastChatMessageContentsAsStringWHistory
(page, chatHistoryItems)
src/chat-copilot/webapp/tests/utils.ts:117
↓ 1 callers
Function
getOrCreateHubConnection
(store: StoreMiddlewareAPI)
src/chat-copilot/webapp/src/redux/features/message-relay/signalRHubConnection.ts:263
↓ 1 callers
Function
getResponse
({ messageType, value, chatId, contextVariables, processPlan }: GetResponseOptions)
src/chat-copilot/webapp/src/libs/hooks/useChat.ts:145
↓ 1 callers
Function
getTextAreaValue
()
src/chat-copilot/webapp/src/components/chat/ChatInput.tsx:173
↓ 1 callers
Function
getTotalTokenUsage
(previousSum?: number, current?: number)
src/chat-copilot/webapp/src/redux/features/app/appSlice.ts:112
↓ 1 callers
Method
get_assignement
Function to get the conversation guid assigned to a reviewer
src/chat-score/webapi/server/models/conversation.py:106
↓ 1 callers
Function
get_cosmosdb_name
(challenge_id: int, env: str)
k8s/deploy.py:26
↓ 1 callers
Method
get_count
Function to get the connection count
src/chat-score/webapi/server/models/connection.py:50
↓ 1 callers
Function
get_name
(challenge_id: int)
challenges/generate.py:15
↓ 1 callers
Method
get_picture
(self, user_id: str)
src/picture-submission/webapi/server/models/submission.py:52
↓ 1 callers
Method
get_status
(self, user_id: str)
src/picture-submission/webapi/server/controller/submission.py:26
↓ 1 callers
Method
get_time
(self, socket_id: str)
src/chat-score/webapi/server/models/conversation.py:41
↓ 1 callers
Function
handleSave
()
src/chat-copilot/webapp/src/components/chat/shared/EditChatName.tsx:72
↓ 1 callers
Function
hasInteracted
()
src/chat-score/webapp/src/libs/utils/UserInteraction.ts:9
↓ 1 callers
Function
healthz
(rw http.ResponseWriter)
src/loadbalancer/internal/services/reverseproxy/http.go:13
↓ 1 callers
Method
increment
Function to increment the connection count and set the key for the given id
src/chat-score/webapi/server/models/connection.py:15
↓ 1 callers
Function
init
(initRequest: WorkerInitRequestPayload)
src/chat-score/webapp/src/workers/Socket.worker.ts:53
↓ 1 callers
Function
initShowSnippetStates
()
src/chat-copilot/webapp/src/components/chat/chat-history/CitationCards.tsx:50
↓ 1 callers
Function
initSpeechRecognizer
()
src/chat-copilot/webapp/src/components/chat/ChatInput.tsx:112
↓ 1 callers
Method
integrity
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 callers
Function
interactionInProgressHandler
( interactionStatus: InteractionStatus, msalInstance: IPublicClientApplication, accessTokenRequest
src/chat-copilot/webapp/src/libs/auth/TokenHelper.ts:80
↓ 1 callers
Function
isAuthAAD
()
src/chat-copilot/webapp/src/libs/auth/AuthHelper.ts:107
↓ 1 callers
Function
isEndpointValid
(endpoint *endpoint, modelName string)
src/loadbalancer/internal/services/orchestrator/endpoint.go:97
↓ 1 callers
Function
isToday
(date: Date)
src/chat-copilot/webapp/src/components/utils/TextUtils.tsx:10
↓ 1 callers
Function
isUserActive
()
src/chat-score/webapp/src/libs/utils/UserInteraction.ts:10
↓ 1 callers
Method
is_alive
Function to check if the connection is alive
src/chat-score/webapi/server/models/connection.py:43
↓ 1 callers
Function
loadSpecificChat
(chatSession: IChatSession, accessToken: string, loadedConversations: Conversations)
src/chat-copilot/webapp/src/libs/hooks/useChat.ts:215
↓ 1 callers
Function
loadingChatText
()
src/chat-copilot/webapp/src/App.tsx:214
↓ 1 callers
Function
loginHelper
(page, useraccount, password)
src/chat-copilot/webapp/tests/utils.ts:14
↓ 1 callers
Function
main
()
k8s/cosmosdb.py:80
↓ 1 callers
Function
needsMarkdown
(content: string)
src/chat-copilot/webapp/src/components/chat/chat-history/ChatHistoryTextContent.tsx:29
↓ 1 callers
Method
new_conversation
Handle a new conversation and will try to assign it to a connection
src/chat-score/webapi/server/controller/conversation.py:50
↓ 1 callers
Function
onBackendFoundWithAuthCheck
()
src/chat-copilot/webapp/src/components/views/BackendProbe.tsx:36
↓ 1 callers
Function
onCloseDialog
()
src/chat-copilot/webapp/src/components/chat/chat-list/bot-menu/NewBotMenu.tsx:23
↓ 1 callers
Function
onConnect
()
src/chat-score/webapp/src/App.tsx:61
↓ 1 callers
Function
onDeleteStep
(index: number)
src/chat-copilot/webapp/src/components/chat/plan-viewer/PlanBody.tsx:28
↓ 1 callers
Function
onDisconnect
()
src/chat-score/webapp/src/App.tsx:66
↓ 1 callers
Function
onDragLeave
(e: React.DragEvent<HTMLDivElement | HTMLTextAreaElement>)
src/chat-copilot/webapp/src/components/chat/ChatRoom.tsx:66
↓ 1 callers
Function
onError
(json: string)
src/chat-score/webapp/src/App.tsx:101
↓ 1 callers
Function
onPlanAction
()
src/chat-copilot/webapp/src/components/chat/plan-viewer/PlanDialogView.tsx:74
↓ 1 callers
Function
onReview
(json: string)
src/chat-score/webapp/src/App.tsx:80
↓ 1 callers
Function
onReviewDone
()
src/chat-score/webapp/src/App.tsx:88
↓ 1 callers
Function
onSIGTERM
()
src/loadbalancer/pkg/graceful/graceful.go:41
↓ 1 callers
Function
onSaveTitleChange
()
src/chat-copilot/webapp/src/components/chat/shared/EditChatName.tsx:53
↓ 1 callers
Function
onStatusUpdate
(json: string)
src/chat-score/webapp/src/App.tsx:72
↓ 1 callers
Function
onTimeUpdate
(data: string)
src/chat-score/webapp/src/App.tsx:95
↓ 1 callers
Function
openChallenge
(id: number, url?: string)
src/challenge-home/webapp/src/table.tsx:103
↓ 1 callers
Function
parseGetUserResponse
( response: BatchResponse, userIds: string[], usersToRetry: string[], )
src/chat-copilot/webapp/src/libs/hooks/useGraph.ts:140
↓ 1 callers
Method
ping
(self, socket_id: str)
src/chat-score/webapi/server/controller/connection.py:27
↓ 1 callers
Method
pop_from_pool
Function to pop a connection from the pool
src/chat-score/webapi/server/models/connection.py:59
↓ 1 callers
Method
preProcessing
(id *uuid.UUID, rw http.ResponseWriter, req *http.Request)
src/loadbalancer/internal/services/reverseproxy/http.go:52
↓ 1 callers
Function
registerCommonSignalConnectionEvents
(hubConnection: signalR.HubConnection, store: StoreMiddlewareAPI)
src/chat-copilot/webapp/src/redux/features/message-relay/signalRHubConnection.ts:65
↓ 1 callers
Function
registerServices
()
src/loadbalancer/cmd/server/main.go:27
↓ 1 callers
Function
registerSignalREvents
(hubConnection: signalR.HubConnection, store: StoreMiddlewareAPI)
src/chat-copilot/webapp/src/redux/features/message-relay/signalRHubConnection.ts:121
↓ 1 callers
Function
remove_first_backslash
(url: string)
src/chat-copilot/webapp/src/libs/services/BaseService.ts:28
↓ 1 callers
Function
remove_first_backslash
(url: string)
src/picture-submission/webapp/src/libs/services/BaseService.ts:10
↓ 1 callers
Function
reportWebVitals
(onPerfEntry?: ReportHandler)
src/chat-score/webapp/src/reportWebVitals.ts:6
↓ 1 callers
Function
reportWebVitals
(onPerfEntry?: ReportHandler)
src/picture-submission/webapp/src/reportWebVitals.ts:6
↓ 1 callers
Function
requiresUserLevelAuth
(auth: ManifestAuth)
src/chat-copilot/webapp/src/libs/models/PluginManifest.ts:14
↓ 1 callers
Function
resetState
()
src/chat-copilot/webapp/src/redux/app/store.ts:39
↓ 1 callers
Method
run
()
src/loadbalancer/internal/services/orchestrator/orchestrator.go:83
↓ 1 callers
Method
score
Handle the scoring of a conversation
src/chat-score/webapi/server/controller/conversation.py:65
↓ 1 callers
Function
sendChatMessageAndWaitForResponse
(page, message)
src/chat-copilot/webapp/tests/utils.ts:82
↓ 1 callers
Function
sendChatMessageAndWaitForResponseWTime
(page, message, waitTime: number)
src/chat-copilot/webapp/tests/utils.ts:75
↓ 1 callers
Function
sendReview
()
src/chat-copilot/webapp/src/components/chat/chat-history/ScorerAction.tsx:37
↓ 1 callers
Function
sendReviewAsync
()
src/picture-submission/webapp/src/components/PictureUpload.tsx:136
↓ 1 callers
Method
send_flag
(self, user_id: str, flag: str)
src/picture-submission/webapi/server/service/ctfd/ctfd.py:101
↓ 1 callers
Method
send_scoring_request
(self, id: str, picture: str)
src/picture-submission/webapi/server/controller/scoring.py:45
↓ 1 callers
Function
set_ctfd_service_instance
(instance: CtfdService)
src/picture-submission/webapi/server/service/ctfd/ctfd.py:175
↓ 1 callers
Method
set_picture
(self, user_id: str, picture: bytes, mime: str)
src/picture-submission/webapi/server/models/submission.py:62
↓ 1 callers
Method
set_score
(self, id: str, passed: bool, message: str)
src/picture-submission/webapi/server/controller/scoring.py:24
↓ 1 callers
Function
setupDefault
()
src/loadbalancer/internal/config/config.go:64
↓ 1 callers
Function
setupFile
()
src/loadbalancer/internal/config/config.go:40
↓ 1 callers
Function
setupInteractionDetector
()
src/chat-score/webapp/src/libs/utils/UserInteraction.ts:12
↓ 1 callers
Function
setupSignalRConnectionToChatHub
()
src/chat-copilot/webapp/src/redux/features/message-relay/signalRHubConnection.ts:39
↓ 1 callers
Function
setupXssHandler
(challengeSettings: ChallengeSettings)
src/chat-copilot/webapp/src/components/views/BackendProbe.tsx:56
↓ 1 callers
Function
showSnippet
(index: number)
src/chat-copilot/webapp/src/components/chat/chat-history/CitationCards.tsx:62
↓ 1 callers
Function
shutdown
()
src/chat-score/webapp/src/workers/Socket.worker.ts:80
↓ 1 callers
Function
sliderValueChange
(value: number)
src/chat-copilot/webapp/src/components/chat/persona/MemoryBiasSlider.tsx:60
↓ 1 callers
Function
sortConversations
(conversations: Conversations)
src/chat-copilot/webapp/src/components/chat/chat-list/ChatList.tsx:106
← previous
next →
101–200 of 490, ranked by callers