MCPcopy Create free account

hub / github.com/nat/openplayground / functions

Functions281 in github.com/nat/openplayground

↓ 1 callersFunctionnormalize_parameter
(parameter: number)
app/src/pages/compare.tsx:56
↓ 1 callersMethodopenai_text_generation
(self, provider_details: ProviderDetails, inference_request: InferenceRequest)
server/lib/inference/__init__.py:327
↓ 1 callersFunctionprovidersButtons
()
app/src/pages/settings.tsx:456
↓ 1 callersFunctionreducer
(state: State, action: Action)
app/src/hooks/ui/use-toast.tsx:72
↓ 1 callersMethodrender
()
app/src/pages/playground.tsx:278
↓ 1 callersFunctionresetEditorState
()
app/src/pages/playground.tsx:599
↓ 1 callersFunctionrun
Run the OpenPlayground server. This command starts the OpenPlayground server with the specified options. Arguments: --host, -H: The
server/app.py:334
↓ 1 callersFunctionsaveSettings
()
app/src/app.tsx:90
↓ 1 callersFunctionsearchProviderModels
(providerName: string, searchTerm: string)
app/src/pages/settings.tsx:443
↓ 1 callersFunctionsearchResults
()
app/src/pages/settings.tsx:63
↓ 1 callersFunctionselectHistoryItem
(entry)
app/src/app.tsx:571
↓ 1 callersFunctionselectedModelsCard
()
app/src/pages/settings.tsx:256
↓ 1 callersFunctionsetAPIKey
(apiKey: string )
app/src/pages/settings.tsx:381
↓ 1 callersFunctionsetModelsContext
(newModels)
app/src/app.tsx:486
↓ 1 callersFunctionsplit_tasks_by_provider
(tasks: List[InferenceRequest])
server/lib/api/inference.py:123
↓ 1 callersFunctionstartTimer
()
app/src/pages/compare.tsx:76
↓ 1 callersMethodstop
(self)
server/app.py:134
↓ 1 callersFunctionstopTimer
()
app/src/pages/compare.tsx:84
↓ 1 callersFunctionstream_response
(global_state, uuid)
server/lib/api/inference.py:82
↓ 1 callersMethodtext_generation
(self, inference_request: InferenceRequest)
server/app.py:291
↓ 1 callersMethodto_camel_case
(snake_str)
server/lib/entities.py:125
↓ 1 callersMethodto_dict
Serialize this object to a minimal dictionary, for storing in Redis.
server/lib/sse.py:37
↓ 1 callersMethodupdate_provider_api_key
(self, provider_name: str, api_key: str)
server/lib/storage.py:171
↓ 1 callersFunctionuseDebounce
(func, delay)
app/src/app.tsx:130
↓ 1 callersFunctionvalidate_parameters
(model, parameters)
server/lib/api/inference.py:68
FunctionAPIContextWrapper
({children})
app/src/app.tsx:150
FunctionAlertDialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
app/src/components/ui/alert-dialog.tsx:73
FunctionAlertDialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
app/src/components/ui/alert-dialog.tsx:59
FunctionAlertDialogPortal
({ className, children, ...props }: AlertDialogPrimitive.AlertDialogPortalProps)
app/src/components/ui/alert-dialog.tsx:12
FunctionAllSelectedModels
({enabledModels, toggleModel}: AllSelectedModelsProps)
app/src/pages/settings.tsx:255
FunctionApp
()
app/src/app.tsx:642
FunctionCompare
()
app/src/pages/compare.tsx:968
FunctionCustomAlertDialogue
({dialog})
app/src/pages/compare.tsx:934
FunctionCustomAlertDialogue
({dialog})
app/src/pages/playground.tsx:893
FunctionDecorated
(props: any)
app/src/pages/compare.tsx:195
FunctionDecorated
(props: any)
app/src/pages/playground.tsx:485
FunctionDialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
app/src/components/ui/dialog.tsx:80
FunctionDialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
app/src/components/ui/dialog-sheet-base.tsx:78
FunctionDialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
app/src/components/ui/sheet.tsx:115
FunctionDialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
app/src/components/ui/right-sheet.tsx:82
FunctionDialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
app/src/components/ui/dialog.tsx:66
FunctionDialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
app/src/components/ui/dialog-sheet-base.tsx:64
FunctionDialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
app/src/components/ui/sheet.tsx:101
FunctionDialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
app/src/components/ui/right-sheet.tsx:68
FunctionDialogPortal
({ className, children, ...props }: DialogPrimitive.DialogPortalProps)
app/src/components/ui/dialog.tsx:13
FunctionDialogPortal
({ className, children, ...props }: DialogPrimitive.DialogPortalProps)
app/src/components/ui/dialog-sheet-base.tsx:11
FunctionDialogPortal
({ type, className, children, ...props }: DialogPortalProps)
app/src/components/ui/sheet.tsx:49
FunctionDialogPortal
({ className, children, ...props }: DialogPrimitive.DialogPortalProps)
app/src/components/ui/right-sheet.tsx:13
FunctionErrorPage
()
app/src/error-page.tsx:3
FunctionHistorySidePanel
()
app/src/pages/playground.tsx:52
FunctionInputArea
()
app/src/components/inputarea.tsx:4
FunctionModelCardStats
(props: any)
app/src/pages/compare.tsx:61
FunctionModelsCompletion
({showDialog})
app/src/pages/compare.tsx:689
FunctionMultiSelect
({ maxOptions, tooltipContent, defaultOptions, disabled = false, onValueChange, })
app/src/components/multi-select.tsx:15
FunctionNavBar
({ tab, children }: any)
app/src/components/navbar.tsx:4
FunctionParamaterSlider
({ title, defaultValue, disabled, min, max, step, normalizeInputData, normalizeSliderData, t
app/src/components/parameter-slider.tsx:28
FunctionParametersSidePanel
({ showModelDropdown, showModelList })
app/src/components/parameters-side-panel.tsx:35
FunctionParametersTable
()
app/src/pages/compare.tsx:842
FunctionPlayground
()
app/src/pages/playground.tsx:926
FunctionPlaygroundContextWrapper
({page, children})
app/src/app.tsx:348
FunctionPromptArea
({showDialog})
app/src/pages/compare.tsx:512
FunctionPromptCompletionEditor
({showDialog})
app/src/pages/playground.tsx:295
FunctionPromptEditor
({editorState, setEditorState, ...props}: any)
app/src/pages/compare.tsx:436
FunctionProviderCredentials
({provider, providerRequiresAPIKey, apiKey, setAPIKey}: ProviderProps)
app/src/pages/settings.tsx:118
FunctionProviderModelSelection
({ provider, apiKey, providerRequiresAPIKey, providerModels, toggleModel }: ProviderProps)
app/src/pages/settings.tsx:181
FunctionProviderSearchModels
({ provider, providerModels, providerRequiresAPIKey, apiKey, providerSearchURL, providerSearchResu
app/src/pages/settings.tsx:40
FunctionProviderView
(props: ProviderProps)
app/src/pages/settings.tsx:231
FunctionProviderWithRoutes
()
app/src/app.tsx:602
FunctionSettings
()
app/src/pages/settings.tsx:303
FunctionToaster
()
app/src/components/ui/toaster.tsx:14
FunctionTooltip
({ ...props })
app/src/components/ui/tooltip.tsx:8
Method__aleph_alpha_text_generation__
(self, provider_details: ProviderDetails, inference_request: InferenceRequest)
server/lib/inference/__init__.py:642
Method__anthropic_text_generation__
(self, provider_details: ProviderDetails, inference_request: InferenceRequest)
server/lib/inference/__init__.py:604
Method__call__
(cls, *args, **kwargs)
server/lib/event_emitter.py:17
Method__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor, stops = [])
server/lib/inference/huggingface/helpers.py:8
Method__cohere_text_generation__
(self, provider_details: ProviderDetails, inference_request: InferenceRequest)
server/lib/inference/__init__.py:334
Method__download_loop__
(self)
server/app.py:240
Method__enter__
(self)
server/app.py:67
Method__eq__
(self, other)
server/lib/sse.py:87
Method__exit__
(self, exc_type, exc_val, exc_tb)
server/app.py:71
Method__forefront_text_generation__
(self, provider_details: ProviderDetails, inference_request: InferenceRequest)
server/lib/inference/__init__.py:463
Method__huggingface_text_generation__
(self, provider_details: ProviderDetails, inference_request: InferenceRequest)
server/lib/inference/__init__.py:381
Method__init__
(self, new_stderr)
server/app.py:63
Method__init__
(self, model, output_buffer)
server/app.py:80
Method__init__
(self, sse_queue: SSEQueueWithTopic)
server/app.py:138
Method__init__
(self, storage: Storage)
server/app.py:194
Method__init__
(self, storage)
server/app.py:272
Method__init__
(self)
server/lib/event_emitter.py:24
Method__init__
(self, models_json_path: str = None, env_file_path: str = None)
server/lib/storage.py:25
Method__init__
(self)
server/lib/sseserver.py:7
Method__init__
(self)
server/lib/sseserver.py:25
Method__init__
(self, *args, serialize_as_list=True, **kwargs)
server/lib/entities.py:30
Method__init__
( self, name: str, models: List[Model], remote_inference: bool = False, default_capabilities:
server/lib/entities.py:47
Method__init__
(self, *args, serialize_models_as_list=True, **kwargs)
server/lib/entities.py:106
Method__init__
Create a server-sent event. :param data: The event data. If it is not a string, it will be serialized to JSON using the
server/lib/sse.py:20
Method__init__
(self, sse_topic)
server/lib/inference/__init__.py:85
Method__init__
(self, sse_topic)
server/lib/inference/__init__.py:133
Method__init__
(self, stops = [])
server/lib/inference/huggingface/helpers.py:5
Method__init__
(self, model_name: str)
server/lib/inference/huggingface/hf.py:27
Method__local_text_generation__
(self, provider_details: ProviderDetails, inference_request: InferenceRequest)
server/lib/inference/__init__.py:569
← previousnext →101–200 of 281, ranked by callers