MCPcopy Create free account

hub / github.com/chainlit/chainlit / functions

Functions973 in github.com/chainlit/chainlit

FunctionWidget
({ config }: Props)
libs/copilot/src/widget.tsx:16
Function_PlotlyElement
({ element }: Props)
frontend/src/components/atoms/elements/Plotly.tsx:15
Method__aenter__
(self)
backend/chainlit/step.py:428
Method__aexit__
(self, exc_type, exc_val, exc_tb)
backend/chainlit/step.py:441
Method__call__
(self, func)
backend/chainlit/step.py:417
Function__dir__
()
backend/chainlit/__init__.py:188
Method__enter__
(self)
backend/chainlit/step.py:458
Method__exit__
(self, exc_type, exc_val, exc_tb)
backend/chainlit/step.py:473
Function__getattr__
(name)
backend/chainlit/utils.py:69
Method__init__
(self, msg="Chainlit context not found", *args, **kwargs)
backend/chainlit/context.py:18
Method__init__
( self, title: str, status: TaskStatus = TaskStatus.READY, forId: Optional[str
backend/chainlit/element.py:260
Method__init__
(self)
backend/chainlit/telemetry.py:17
Method__init__
( self, name: Optional[str] = config.ui.name, type: TrueStepType = "undefined",
backend/chainlit/step.py:181
Method__init__
Initialize with the user session.
backend/chainlit/emitter.py:35
Method__init__
Initialize with the user session.
backend/chainlit/emitter.py:132
Method__init__
(self)
backend/chainlit/oauth_providers.py:35
Method__init__
(self)
backend/chainlit/oauth_providers.py:91
Method__init__
(self)
backend/chainlit/oauth_providers.py:157
Method__init__
(self)
backend/chainlit/oauth_providers.py:239
Method__init__
(self)
backend/chainlit/oauth_providers.py:315
Method__init__
(self)
backend/chainlit/oauth_providers.py:382
Method__init__
(self)
backend/chainlit/oauth_providers.py:449
Method__init__
(self)
backend/chainlit/oauth_providers.py:507
Method__init__
(self)
backend/chainlit/oauth_providers.py:571
Method__init__
( self, # Id of the session id: str, client_type: ClientType, # Thread
backend/chainlit/session.py:165
Method__init__
( self, # Id from the session cookie id: str, # Associated socket id s
backend/chainlit/session.py:213
Method__init__
( self, content: Union[str, Dict], author: Optional[str] = None, language: Opt
backend/chainlit/message.py:209
Method__init__
( self, content: str, author: str = config.ui.name, fail_on_persist_error: boo
backend/chainlit/message.py:310
Method__init__
( self, content: str, author: str = config.ui.name, type: MessageStepType = "a
backend/chainlit/message.py:353
Method__init__
( self, content: str, accept: Union[List[str], Dict[str, List[str]]], max_size
backend/chainlit/message.py:415
Method__init__
( self, content: str, actions: List[Action], author=config.ui.name, ti
backend/chainlit/message.py:492
Method__init__
( self, inputs: List[InputWidget], )
backend/chainlit/chat_settings.py:14
Method__init__
(self, session: HTTPSession, channel: "MessageableChannel")
backend/chainlit/discord/app.py:60
Method__init__
(self, api_key: str, server: Optional[str])
backend/chainlit/data/literalai.py:33
Method__init__
( self, conninfo: str, ssl_require: bool = False, storage_provider: Optional[B
backend/chainlit/data/sql_alchemy.py:37
Method__init__
( self, account_url: str, container: str, credential: Optional[ Un
backend/chainlit/data/storage_clients.py:31
Method__init__
(self, bucket: str)
backend/chainlit/data/storage_clients.py:89
Method__init__
( self, table_name: str, client: Optional["DynamoDBClient"] = None, storage_pr
backend/chainlit/data/dynamodb.py:40
Method__init__
( self, answer_prefix_tokens: Optional[List[str]] = None, stream_final_answer: bool =
backend/chainlit/langchain/callbacks.py:33
Method__init__
(self)
backend/chainlit/langchain/callbacks.py:112
Method__init__
( self, # Token sequence that prefixes the answer answer_prefix_tokens: Optional[List[
backend/chainlit/langchain/callbacks.py:258
Method__init__
Initialize the base callback handler.
backend/chainlit/llama_index/callbacks.py:27
Method__init__
(self)
backend/chainlit/haystack/callbacks.py:17
Method__init__
( self, agent: Agent, stream_final_answer: bool = False, stream_final_answer_a
backend/chainlit/haystack/callbacks.py:40
Method__init__
( self, session: HTTPSession, app: AsyncApp, channel_id: str, say,
backend/chainlit/slack/app.py:26
Method__init__
(self, session: HTTPSession, turn_context: TurnContext)
backend/chainlit/teams/app.py:45
Method__len__
(self)
backend/chainlit/haystack/callbacks.py:20
Method__post_init__
(self)
backend/chainlit/element.py:87
Method__post_init__
(self)
backend/chainlit/element.py:279
Method__post_init__
(self)
backend/chainlit/element.py:344
Method__post_init__
(self)
backend/chainlit/element.py:368
Method__post_init__
(self)
backend/chainlit/action.py:27
Method__post_init__
( self, )
backend/chainlit/input_widget.py:17
Method__post_init__
( self, )
backend/chainlit/input_widget.py:81
Method_build_resource
( resource: "Resource", resource_attributes: "Attributes", service_name: str,
backend/chainlit/telemetry.py:22
Method_noop
(self, *args, **kwargs)
backend/chainlit/llama_index/callbacks.py:202
Method_on_error
(self, error: BaseException, *, run_id: UUID, **kwargs: Any)
backend/chainlit/langchain/callbacks.py:605
Method_on_run_update
Process a run upon update.
backend/chainlit/langchain/callbacks.py:495
Method_persist_run
(self, run: Run)
backend/chainlit/langchain/callbacks.py:398
Method_start_trace
(self, run: Run)
backend/chainlit/langchain/callbacks.py:449
Functiona
({ children, ...props })
frontend/src/components/molecules/Markdown.tsx:108
Functionaction_callback
Callback to call when an action is clicked in the UI. Args: func (Callable[[Action], Any]): The action callback to execute. First pa
backend/chainlit/callbacks.py:279
Functionasync_wrapper
(*args, **kwargs)
backend/chainlit/step.py:98
Functionaudio_chunk
Handle an audio chunk sent by the user.
backend/chainlit/socket.py:318
Functionaudio_end
Handle the end of the audio stream.
backend/chainlit/socket.py:329
Functionauth
(request: Request)
backend/chainlit/server.py:359
Functionauth_callback
(username: str, password: str)
cypress/e2e/data_layer/main.py:229
Functionauth_callback
(username: str, password: str)
cypress/e2e/password_auth/main.py:7
Functionauth_callback
(username: str, password: str)
cypress/e2e/chat_profiles/main.py:47
Functionauth_callback
(username: str, password: str)
cypress/e2e/custom_data_layer/sql_alchemy.py:30
Functionauth_func
(username: str, password: str)
backend/tests/test_callbacks.py:21
Functionauthor_rename
Useful to rename the author of message to display more friendly author names in the UI. Args: func (Callable[[str], Awaitable[str]]):
backend/chainlit/callbacks.py:247
Functionbuild_anon_user_identifier
(environ)
backend/chainlit/socket.py:86
Methodbuild_debug_url
(self)
backend/chainlit/data/literalai.py:113
Methodbuild_debug_url
(self)
backend/chainlit/data/sql_alchemy.py:71
Methodbuild_debug_url
(self)
backend/chainlit/data/dynamodb.py:582
Methodbuild_debug_url
(self)
cypress/e2e/data_layer/main.py:195
Functioncache
(func)
backend/chainlit/cache.py:32
Functioncall_action
Handle an action call from the UI.
backend/chainlit/socket.py:373
Functionchainlit_create_secret
(args=None, **kwargs)
backend/chainlit/cli/__init__.py:219
Functionchainlit_hello
(args=None, **kwargs)
backend/chainlit/cli/__init__.py:204
Functionchainlit_init
(args=None, **kwargs)
backend/chainlit/cli/__init__.py:212
Functionchainlit_lint_translations
(args=None, **kwargs)
backend/chainlit/cli/__init__.py:229
Functionchainlit_run
( target, watch, headless, debug, ci, no_cache, ssl_cert, ssl_key, host,
backend/chainlit/cli/__init__.py:153
Functionchange_settings
Handle change settings submit from the UI.
backend/chainlit/socket.py:400
Functionchat_profile
(current_user: cl.User)
cypress/e2e/chat_profiles/main.py:20
Functionclean_session
(sid)
backend/chainlit/socket.py:201
Methodclear
(self)
backend/chainlit/chat_context.py:47
Methodclear
(self, event: Literal["clear_ask", "clear_call_fn"])
backend/chainlit/emitter.py:71
Methodclear
(self)
backend/chainlit/haystack/callbacks.py:32
Functioncode
({ ...props })
frontend/src/components/molecules/Markdown.tsx:123
MethodcomponentDidCatch
(error: Error, errorInfo: ErrorInfo)
frontend/src/components/atoms/ErrorBoundary.tsx:27
Functionconnection_successful
(sid)
backend/chainlit/socket.py:168
Methodconstructor
(message: string, detail?: string)
libs/react-client/src/api/index.tsx:27
Methodconstructor
( public httpEndpoint: string, public type: 'webapp' | 'copilot' | 'teams' | 'slack' | 'discord',
libs/react-client/src/api/index.tsx:44
Methodcreate_element
(self, element: "Element")
backend/chainlit/data/literalai.py:190
Methodcreate_element
(self, element: "Element")
backend/chainlit/data/sql_alchemy.py:377
Methodcreate_element
(self, element: "Element")
backend/chainlit/data/dynamodb.py:196
Methodcreate_element
(self, element: "Element")
cypress/e2e/data_layer/main.py:175
Methodcreate_step
(self, step_dict: "StepDict")
backend/chainlit/data/dynamodb.py:310
← previousnext →501–600 of 973, ranked by callers