MCPcopy Create free account

hub / github.com/cfahlgren1/webllm-playground / functions

Functions43 in github.com/cfahlgren1/webllm-playground

↓ 5 callersFunctionidentifyModelFamily
(model: string)
src/components/ModelSearch/ModelSearch.tsx:42
↓ 3 callersFunctionextractModelDetails
(model: string)
src/components/ModelSearch/ModelSearch.tsx:46
↓ 1 callersFunctioncountModelsPerFamily
(models: string[])
src/components/ModelSearch/ModelSearch.tsx:177
↓ 1 callersFunctiondetermineModelIcon
(model: string)
src/components/ModelSearch/ModelSearch.tsx:36
↓ 1 callersFunctionhandleSend
()
src/components/InputArea.tsx:13
↓ 1 callersFunctionhandleSendMessage
(input: string)
src/App.tsx:76
↓ 1 callersFunctionhandleToggleExpand
(modelName: string)
src/components/ModelSearch/ModelSearch.tsx:96
↓ 1 callersFunctioninitializeWebLLMEngine
( selectedModel: string, temperature: number, topP: number, onCompletion: () => void )
src/utils/llm.ts:28
↓ 1 callersFunctionrenderExampleButtons
()
src/components/ChatBox.tsx:68
↓ 1 callersFunctionrenderMarkdown
(content: string)
src/components/ChatBox.tsx:62
↓ 1 callersFunctionrenderMessages
()
src/components/ChatBox.tsx:85
↓ 1 callersFunctionscrollToBottom
()
src/components/ChatBox.tsx:25
↓ 1 callersFunctionsetProgressCallback
(callback: (progress: string) => void)
src/utils/llm.ts:47
↓ 1 callersFunctionstreamingGenerating
( messages: webllm.ChatCompletionMessageParam[], onUpdate: (currentMessage: string) => void, onFinish: (
src/utils/llm.ts:57
FunctionApp
()
src/App.tsx:32
FunctionChatBox
({ messages, onExampleClick, isGenerating })
src/components/ChatBox.tsx:21
FunctionChatHeader
({ selectedModel, SelectedModelIcon, onClearChat })
src/components/ChatHeader.tsx:9
FunctionChatStats
({ stats, onClose })
src/components/ChatStats.tsx:16
FunctionFamilyFilter
({ sortedModelFamilies, selectedFamilies, onToggleFamilyFilter, })
src/components/ModelSearch/FamilyFilter.tsx:9
FunctionGoogleIcon
({ className = 'w-8 h-8' })
src/components/icons/GoogleIcon.tsx:1
FunctionHeader
({ heading, description })
src/components/Header.tsx:10
FunctionInputArea
({ onSendMessage, isGenerating, isModelLoaded })
src/components/InputArea.tsx:9
FunctionMetaLogo
({ className = 'w-8 h-8' })
src/components/icons/MetaIcon.tsx:1
FunctionMicrosoftIcon
({ className = 'w-8 h-8' })
src/components/icons/MicrosoftIcon.tsx:1
FunctionMistralIcon
({ className = 'w-8 h-8' })
src/components/icons/MistralIcon.tsx:1
FunctionModelList
({ filteredModels, renderModelRow })
src/components/ModelSearch/ModelList.tsx:8
FunctionModelRow
({ baseModel, variants, isExpanded, hasSingleVariant, determineModelIcon, extractModelDetails, o
src/components/ModelSearch/ModelRow.tsx:16
FunctionModelSearch
({ isOpen, onClose, availableModels, onSelectModel, })
src/components/ModelSearch/ModelSearch.tsx:25
FunctionModelSelector
({ selectedModel, setSelectedModel, onModelLoad, isModelLoaded, availableModels, loadProgress
src/components/ModelSelector.tsx:15
FunctionQwenIcon
({ className = 'w-8 h-8' })
src/components/icons/QwenIcon.tsx:1
FunctionSearchInput
({ searchTerm, setSearchTerm, inputRef })
src/components/ModelSearch/SearchInput.tsx:10
FunctionSmolLMIcon
({ className = 'w-8 h-8' })
src/components/icons/SmolLMIcon.tsx:1
FunctionSnowflakeIcon
({ className = 'w-8 h-8' })
src/components/icons/SnowflakeIcon.tsx:1
FunctionhandleChatClear
()
src/App.tsx:120
FunctionhandleEngineInitProgress
(report: { text: string })
src/utils/llm.ts:51
FunctionhandleExampleSelection
(message: string)
src/App.tsx:116
FunctionhandleKeyDown
(event: KeyboardEvent)
src/components/ModelSelector.tsx:34
FunctionhandleModelLoad
()
src/App.tsx:57
FunctionhandleMouseDown
(e: React.MouseEvent)
src/components/ChatStats.tsx:46
FunctionhandleMouseMove
(e: MouseEvent)
src/components/ChatStats.tsx:25
FunctionhandleMouseUp
()
src/components/ChatStats.tsx:33
FunctionhandleOverlayClick
(event: React.MouseEvent<HTMLDivElement>)
src/components/ModelSearch/ModelSearch.tsx:119
FunctionhandleToggleFamilyFilter
(family: string)
src/components/ModelSearch/ModelSearch.tsx:148