MCPcopy Create free account

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

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

FunctionSetEndpointTokenNextRefresh
(endpoint int, modelName string, tokenAvailable int, requestAvailable int, nextRefresh time.Time)
src/loadbalancer/internal/services/orchestrator/endpoint.go:78
FunctionSettingSection
({ setting, contentOnly })
src/chat-copilot/webapp/src/components/header/settings-dialog/SettingSection.tsx:30
FunctionSettingsDialog
({ open, closeDialog })
src/chat-copilot/webapp/src/components/header/settings-dialog/SettingsDialog.tsx:57
FunctionSettingsDialog
()
src/chat-score/webapp/src/components/SettingsDialog.tsx:27
FunctionShareBotMenu
({ chatId, chatTitle })
src/chat-copilot/webapp/src/components/chat/controls/ShareBotMenu.tsx:19
MethodShutdown
()
src/loadbalancer/internal/services/reverseproxy/reverseproxy.go:202
MethodShutdown
()
src/loadbalancer/internal/services/orchestrator/orchestrator.go:78
FunctionShutdownAll
ShutdownAll the services in the pool
src/loadbalancer/internal/services/service.go:49
FunctionSimplifiedNewBotMenu
()
src/chat-copilot/webapp/src/components/chat/chat-list/bot-menu/SimplifiedNewBotMenu.tsx:14
FunctionSortControlled
()
src/challenge-home/webapp/src/table.tsx:60
FunctionStandardRepliesTable
({onSelectReply})
src/chat-score/webapp/src/components/StandardRepliesTable.tsx:58
MethodStart
()
src/loadbalancer/internal/services/reverseproxy/reverseproxy.go:196
MethodStart
()
src/loadbalancer/internal/services/orchestrator/orchestrator.go:73
FunctionStartAll
StartAll the services in the pool
src/loadbalancer/internal/services/service.go:36
FunctionStepwiseStepView
({ step, index })
src/chat-copilot/webapp/src/components/chat/prompt-dialog/stepwise-planner/StepwiseStepView.tsx:40
FunctionStepwiseThoughtProcessView
({ thoughtProcess })
src/chat-copilot/webapp/src/components/chat/prompt-dialog/stepwise-planner/StepwiseThoughtProcessView.tsx:36
FunctionTabView
({ title, learnMoreDescription, learnMoreLink, children })
src/chat-copilot/webapp/src/components/chat/tabs/TabView.tsx:27
FunctionTokenUsageBar
({ details, totalUsage })
src/chat-copilot/webapp/src/components/token-usage/TokenUsageBar.tsx:12
FunctionTokenUsageGraph
({ promptView, tokenUsage })
src/chat-copilot/webapp/src/components/token-usage/TokenUsageGraph.tsx:69
FunctionTokenUsageLegendItem
({ name, usageCount, items, color })
src/chat-copilot/webapp/src/components/token-usage/TokenUsageLegendItem.tsx:39
FunctionTokenUsageLegendLabel
({ details })
src/chat-copilot/webapp/src/components/token-usage/TokenUsageLegendLabel.tsx:12
FunctionTypingIndicator
()
src/chat-copilot/webapp/src/components/chat/typing-indicator/TypingIndicator.tsx:27
FunctionUserFeedbackActions
({ messageIndex })
src/chat-copilot/webapp/src/components/chat/chat-history/UserFeedbackActions.tsx:24
FunctionUserSettingsMenu
({ setLoadingState })
src/chat-copilot/webapp/src/components/header/UserSettingsMenu.tsx:42
Method__init__
(self, r: Redis, lock: RedisLock, socketio: SocketIO)
src/chat-score/webapi/worker/tasks/tick.py:17
Method__init__
(self, connection_model: ConnectionModel, conversation_model: ConversationModel
src/chat-score/webapi/server/controller/connection.py:12
Method__init__
(self, conversation_model: ConversationModel, connection_model: ConnectionModel,
src/chat-score/webapi/server/controller/conversation.py:16
Method__init__
(self, redis: Redis)
src/chat-score/webapi/server/models/connection.py:12
Method__init__
(self, redis: Redis, lock_name: str, timeout=REDIS_MAX_LOCK)
src/chat-score/webapi/server/models/lock.py:11
Method__init__
(self, redis: Redis, lock: RedisLock)
src/chat-score/webapi/server/models/conversation.py:14
Method__init__
(self, app: Flask, submission_model: SubmissionModel)
src/picture-submission/webapi/server/controller/scoring.py:18
Method__init__
(self, app: Flask, submission_model: SubmissionModel, scoring_controller: ScoringController)
src/picture-submission/webapi/server/controller/submission.py:18
Method__init__
(self, ttl: int)
src/picture-submission/webapi/server/service/cache.py:9
Method__init__
(self, app, submission_model: SubmissionModel)
src/picture-submission/webapi/server/service/ctfd/ctfd.py:28
Method__init__
(self, r: redis.Redis, blob_service_client: BlobServiceClient, app: Flask)
src/picture-submission/webapi/server/models/submission.py:29
Function__require_authentication_if_config
(*args, **kwargs)
docker/ctfd/utils/decorators/__init__.py:45
Function_registered_only
(*args, **kwargs)
docker/ctfd/utils/decorators/__init__.py:112
Function_require_authentication_if_config
(f)
docker/ctfd/utils/decorators/__init__.py:43
Function_require_complete_profile
(*args, **kwargs)
docker/ctfd/utils/decorators/__init__.py:205
Function_require_verified_emails
(*args, **kwargs)
docker/ctfd/utils/decorators/__init__.py:65
Functionactivity_signal
()
src/chat-score/webapi/app.py:57
FunctionaddCustomPlugin
(manifest: PluginManifest, manifestDomain: string)
src/chat-copilot/webapp/src/libs/hooks/usePlugins.ts:18
Functionadmins_only
Decorator that requires the user to be authenticated and an admin :param f: :return:
docker/ctfd/utils/decorators/__init__.py:127
Functionadmins_only_wrapper
(*args, **kwargs)
docker/ctfd/utils/decorators/__init__.py:135
Functionauthed_only
Decorator that requires the user to be authenticated :param f: :return:
docker/ctfd/utils/decorators/__init__.py:81
Functionauthed_only_wrapper
(*args, **kwargs)
docker/ctfd/utils/decorators/__init__.py:89
FunctionbasicBotResponses
(page)
src/chat-copilot/webapp/tests/testsBasic.ts:25
Functionbefore_request
()
src/challenge-home/webapi/app.py:50
FunctionchatTitleChange
(page)
src/chat-copilot/webapp/tests/testsBasic.ts:47
Functionconnect
()
src/chat-score/webapi/app.py:45
Methodconstructor
()
src/chat-copilot/webapp/src/libs/services/GraphService.ts:25
Methodconstructor
(protected readonly serviceUrl: string = BackendServiceUrl)
src/chat-copilot/webapp/src/libs/services/BaseService.ts:41
Methodconstructor
(protected readonly serviceUrl: string = BackendServiceUrl)
src/picture-submission/webapp/src/libs/services/BaseService.ts:40
Functionctfd_auth
(f)
src/picture-submission/webapi/server/middleware/ctfd_auth.py:13
Methoddead_connections
Handle dead connections
src/chat-score/webapi/server/controller/conversation.py:97
FunctiondeleteChat
(chatId: string)
src/chat-copilot/webapp/src/libs/hooks/useChat.ts:478
FunctiondisablePluginAndEvaluateResponse
(page, input, chatbotResponse)
src/chat-copilot/webapp/tests/utils.ts:152
FunctiondocumentUpload
(page)
src/chat-copilot/webapp/tests/testsBasic.ts:60
FunctiondownloadBot
(chatId: string)
src/chat-copilot/webapp/src/libs/hooks/useChat.ts:298
Functionduring_ctf_time_only
Decorator to restrict an endpoint to only be seen during a CTF :param f: :return:
docker/ctfd/utils/decorators/__init__.py:14
Functionduring_ctf_time_only_wrapper
(*args, **kwargs)
docker/ctfd/utils/decorators/__init__.py:22
FunctioneditChat
(chatId: string, title: string, syetemDescription: string, memoryBalance: number)
src/chat-copilot/webapp/src/libs/hooks/useChat.ts:452
FunctioneditRag
(chatId: string, ragDocument: string, ragUserInput?: string)
src/chat-copilot/webapp/src/libs/hooks/useChat.ts:121
FunctionenablePluginAndClosePopUp
(page)
src/chat-copilot/webapp/tests/utils.ts:94
Functionerror_handler
(e: Exception)
src/chat-score/webapi/app.py:66
FunctionexecutePlanAndWaitForResponse
(page)
src/chat-copilot/webapp/tests/utils.ts:106
Functionexecute_code
()
src/chat-copilot/plugins/rce-plugin/app.py:42
Functionfail
()
src/chat-score/webapp/src/components/conversation/ScoringPane.tsx:101
Methodfail_response
(reason: str)
src/picture-submission/webapi/server/service/ctfd/ctfd.py:45
FunctionformatChatTextContent
(messageContent: string)
src/chat-copilot/webapp/src/components/utils/TextUtils.tsx:47
FunctiongetAccessTokenUsingMsal
( inProgress: InteractionStatus, msalInstance: IPublicClientApplication, scopes: string[], ext
src/chat-copilot/webapp/src/libs/auth/TokenHelper.ts:20
FunctiongetChatMemorySources
(chatId: string)
src/chat-copilot/webapp/src/libs/hooks/useChat.ts:346
FunctiongetChatUserById
(id: string, chatId: string, users: IChatUser[])
src/chat-copilot/webapp/src/libs/hooks/useChat.ts:81
FunctiongetContentSafetyStatus
()
src/chat-copilot/webapp/src/libs/hooks/useFile.ts:89
FunctiongetLastChatMessageContentsAsString
(page)
src/chat-copilot/webapp/tests/utils.ts:122
FunctiongetMsalConfig
(authConfig: AuthConfig)
src/chat-copilot/webapp/src/libs/auth/AuthHelper.ts:30
FunctiongetSKaaSAccessToken
(instance: IPublicClientApplication, inProgress: InteractionStatus)
src/chat-copilot/webapp/src/libs/auth/AuthHelper.ts:111
FunctiongetSemanticMemories
(chatId: string, memoryName: string)
src/chat-copilot/webapp/src/libs/hooks/useChat.ts:360
FunctiongetServiceInfo
()
src/chat-copilot/webapp/src/libs/hooks/useChat.ts:467
Functionget_all_challenges
(admin=False, field=None, q=None, **query_args)
docker/ctfd/utils/challenges/__init__.py:21
Functionget_challenge_settings
(**_)
src/picture-submission/webapi/app.py:64
Functionget_cosmosdb_name
(challenge_id: int)
challenges/generate.py:18
Functionget_picture
(ctfd_ticket: CtfdAuthTicket)
src/picture-submission/webapi/app.py:79
Methodget_picture
(self, user_id: str)
src/picture-submission/webapi/server/controller/submission.py:37
Functionget_solve_counts_for_challenges
(challenge_id=None, admin=False)
docker/ctfd/utils/challenges/__init__.py:102
Functionget_solve_ids_for_user_id
(user_id)
docker/ctfd/utils/challenges/__init__.py:90
Functionget_solves_for_challenge_id
(challenge_id, freeze=False)
docker/ctfd/utils/challenges/__init__.py:52
Functionget_status
(ctfd_ticket: CtfdAuthTicket)
src/picture-submission/webapi/app.py:74
FunctiongithubTest
(page)
src/chat-copilot/webapp/tests/testsPlanner.ts:74
FunctiongoToChat
()
src/chat-copilot/webapp/src/components/chat/tabs/RagTab.tsx:98
FunctionhandleClear
()
src/picture-submission/webapp/src/components/PictureUpload.tsx:116
FunctionhandleDrop
(e: React.DragEvent<HTMLTextAreaElement>)
src/chat-copilot/webapp/src/components/chat/ChatInput.tsx:168
FunctionhandleDrop
(event: React.DragEvent<HTMLDivElement>)
src/picture-submission/webapp/src/components/PictureUpload.tsx:63
FunctionhandleFileUpload
(event: React.ChangeEvent<HTMLInputElement>)
src/picture-submission/webapp/src/components/PictureUpload.tsx:71
FunctionhandleImport
( chatId: string, documentFileRef: React.MutableRefObject<HTMLInputElement | null>, fi
src/chat-copilot/webapp/src/libs/hooks/useFile.ts:52
FunctionhandleKeyDown
(event)
src/chat-copilot/webapp/src/components/chat/shared/EditChatName.tsx:79
FunctionhandlePaste
(event: React.ClipboardEvent<HTMLDivElement>)
src/picture-submission/webapp/src/components/PictureUpload.tsx:78
FunctionhandleSpeech
()
src/chat-copilot/webapp/src/components/chat/ChatInput.tsx:135
FunctionhandleSubmit
(options: GetResponseOptions)
src/chat-copilot/webapp/src/components/chat/ChatRoom.tsx:112
FunctionhandleSubmit
(ev: React.FormEvent<HTMLFormElement>)
src/chat-copilot/webapp/src/components/chat/invitation-dialog/InvitationJoinDialog.tsx:43
← previousnext →301–400 of 490, ranked by callers