MCPcopy Create free account

hub / github.com/chainlit/chainlit / functions

Functions973 in github.com/chainlit/chainlit

FunctionhandleMenuOpen
()
frontend/src/components/atoms/inputs/selects/SelectInput.tsx:63
FunctionhandlePasswordLogin
( email: string, password: string, callbackUrl: string )
frontend/src/pages/Login.tsx:30
FunctionhandleReset
()
frontend/src/components/organisms/chat/settings.tsx:45
FunctionhandleResize
( _event: SyntheticEvent, data: { size: { width: number } } )
frontend/src/components/atoms/elements/ElementSideView.tsx:70
FunctionhandleScroll
()
frontend/src/components/molecules/messages/ScrollContainer.tsx:33
FunctionhandleScroll
()
frontend/src/components/organisms/sidebar/threadHistory/index.tsx:71
FunctionhandleTooltipClose
()
frontend/src/components/atoms/ClipboardCopy.tsx:27
Functionhandle_action
(action: Action)
backend/tests/test_callbacks.py:172
Functionhandle_app_home_opened
(event, say)
backend/chainlit/slack/app.py:315
Functionhandle_app_mentions
(event, say)
backend/chainlit/slack/app.py:320
Methodhandle_bytes
(item)
backend/chainlit/step.py:224
Functionhandle_chat_end
()
backend/tests/test_callbacks.py:370
Functionhandle_chat_resume
(thread: ThreadDict)
backend/tests/test_callbacks.py:276
Functionhandle_chat_start
()
backend/tests/test_callbacks.py:250
Functionhandle_message
(message: Message)
backend/tests/test_callbacks.py:119
Functionhandle_message
(message, say)
backend/chainlit/slack/app.py:328
Functionhandle_message
()
cypress/e2e/data_layer/main.py:216
Functionhandle_message
()
cypress/e2e/custom_data_layer/sql_alchemy.py:24
Functionhandle_settings_update
(settings: dict)
backend/tests/test_callbacks.py:196
Functionhandle_stop
()
backend/tests/test_callbacks.py:149
Functionheader_auth
Login a user using the header_auth_callback.
backend/chainlit/server.py:404
Functionheader_auth_callback
Framework agnostic decorator to authenticate the user via a header Args: func (Callable[[Headers], Awaitable[Optional[User]]]): The
backend/chainlit/callbacks.py:40
Functionheader_auth_callback
(headers)
cypress/e2e/header_auth/main.py:7
Methodinit_thread
(self, interaction: str)
backend/chainlit/emitter.py:74
Methodinput
(self)
backend/chainlit/step.py:264
Functioninstrument_mistralai
()
backend/chainlit/mistralai/__init__.py:11
Functioninstrument_openai
()
backend/chainlit/openai/__init__.py:11
FunctionisLastMessage
(messages: IStep[], index: number)
libs/react-client/src/utils/message.ts:15
Functionlifespan
Context manager to handle app start and shutdown.
backend/chainlit/server.py:72
Methodlist_threads
( self, pagination: "Pagination", filters: "ThreadFilter" )
backend/chainlit/data/literalai.py:302
Methodlist_threads
( self, pagination: Pagination, filters: ThreadFilter )
backend/chainlit/data/sql_alchemy.py:231
Methodlist_threads
( self, pagination: "Pagination", filters: "ThreadFilter" )
backend/chainlit/data/dynamodb.py:426
Methodlist_threads
( self, pagination: Pagination, filters: ThreadFilter )
cypress/e2e/data_layer/main.py:144
Functionload_flow
(schema: Union[Dict, str], tweaks: Optional[Dict] = None)
backend/chainlit/langflow/__init__.py:14
Functionlog
(message)
cypress.config.ts:20
Functionlogin
Login a user using the password auth callback.
backend/chainlit/server.py:364
Functionmain
()
backend/chainlit/hello.py:7
Functionmain
cypress/fixtures/hello.cpp:5
Functionmain
()
cypress/e2e/custom_build/main.py:5
Functionmain
()
cypress/e2e/ask_user/main.py:5
Functionmain
()
cypress/e2e/remove_step/main.py:5
Functionmain
()
cypress/e2e/context/main.py:28
Functionmain
()
cypress/e2e/update_step/main.py:5
Functionmain
(message: cl.Message)
cypress/e2e/upload_attachments/main.py:5
Functionmain
()
cypress/e2e/data_layer/main.py:208
Functionmain
()
cypress/e2e/chat_context/main.py:5
Functionmain
()
cypress/e2e/user_env/main.py:5
Functionmain
(message: cl.Message)
cypress/e2e/user_session/main.py:5
Functionmain
()
cypress/e2e/action/main.py:29
Functionmain
()
cypress/e2e/streaming/main.py:9
Functionmain
(message: cl.Message)
cypress/e2e/step/main_async.py:24
Functionmain
(message: cl.Message)
cypress/e2e/step/main.py:24
Functionmain
()
cypress/e2e/edit_message/main.py:5
Functionmain
()
cypress/e2e/tasklist/main.py:37
Functionmain
()
cypress/e2e/custom_data_layer/sql_alchemy.py:19
Functionmain
()
cypress/e2e/input_history/main.py:5
Functionmain
()
cypress/e2e/error_handling/main.py:5
Functionmessage
Handle a message sent by the User.
backend/chainlit/socket.py:309
Functionmessage
(message: cl.Message)
cypress/e2e/stop_task/main_async.py:5
Functionmessage
(message: cl.Message)
cypress/e2e/stop_task/main_sync.py:11
Functionmock_chainlit_context
()
backend/tests/conftest.py:34
Functionmock_emitter
()
backend/tests/test_context.py:16
Functionmock_get_current_user
Override get_current_user() dependency.
backend/tests/test_server.py:75
Functionmock_http_session
()
backend/tests/conftest.py:52
Functionmock_load_translation
(test_config: ChainlitConfig, monkeypatch: pytest.MonkeyPatch)
backend/tests/test_server.py:29
Functionmock_websocket_session
()
backend/tests/conftest.py:44
Functionmount_chainlit
(app: FastAPI, target: str, path="/chainlit")
backend/chainlit/utils.py:117
Functionoauth_azure_hf_callback
Handle the azure ad hybrid flow callback and login the user.
backend/chainlit/server.py:566
Functionoauth_callback
Framework agnostic decorator to authenticate the user via oauth Args: func (Callable[[str, str, Dict[str, str], User, Optional[str]]
backend/chainlit/callbacks.py:62
Functionoauth_callback
Handle the oauth callback and login the user.
backend/chainlit/server.py:476
Functionoauth_login
Redirect the user to the oauth provider login page.
backend/chainlit/server.py:434
Functionon401
()
frontend/src/api/index.ts:14
Functionon401
()
libs/copilot/src/api.ts:8
FunctiononBeforeLoad
(win)
cypress/e2e/readme/spec.cy.ts:20
FunctiononError
(error: ClientError)
libs/copilot/src/api.ts:12
Functionon_action
()
cypress/e2e/action/main.py:5
Methodon_agent_finish
(self, agent_step: AgentStep, **kwargs: Any)
backend/chainlit/haystack/callbacks.py:79
Methodon_agent_start
(self, **kwargs: Any)
backend/chainlit/haystack/callbacks.py:59
Methodon_agent_step
(self, agent_step: AgentStep, **kwargs: Any)
backend/chainlit/haystack/callbacks.py:87
Functionon_audio_chunk
Hook to react to the audio chunks being sent. Args: chunk (AudioChunk): The audio chunk being sent. Returns: Callable[]
backend/chainlit/callbacks.py:213
Functionon_audio_end
Hook to react to the audio stream ending. This is called after the last audio chunk is sent. Args: elements ([List[Element]): The files
backend/chainlit/callbacks.py:229
Methodon_chat_model_start
( self, serialized: Dict[str, Any], messages: List[List[BaseMessage]], *,
backend/chainlit/langchain/callbacks.py:300
Functionon_chat_resume
Hook to react to resume websocket connection event. Args: func (Callable[], Any]): The connection hook to execute. Returns:
backend/chainlit/callbacks.py:145
Functionon_chat_resume
(thread: ThreadDict)
cypress/e2e/data_layer/main.py:237
Functionon_chat_start
()
cypress/e2e/copilot/main.py:5
Functionon_chat_start
()
cypress/e2e/header_auth/main.py:15
Functionon_chat_start
()
cypress/e2e/password_auth/main.py:15
Methodon_llm_new_token
( self, token: str, *, chunk: Optional[Union[GenerationChunk, ChatGenerationCh
backend/chainlit/langchain/callbacks.py:358
Methodon_llm_start
( self, serialized: Dict[str, Any], prompts: List[str], *, run_id: "UU
backend/chainlit/langchain/callbacks.py:329
Functionon_logout
Function called when the user logs out. Takes the FastAPI request and response as parameters.
backend/chainlit/callbacks.py:91
Functionon_message
Framework agnostic decorator to react to messages coming from the UI. The decorated function is called every time a new message is received.
backend/chainlit/callbacks.py:102
Functionon_message
(msg: cl.Message)
cypress/e2e/starters/main.py:14
Functionon_message
(msg: cl.Message)
cypress/e2e/copilot/main.py:10
Functionon_message
()
cypress/e2e/chat_profiles/main.py:55
Functionon_message
()
cypress/e2e/tasklist/main.py:30
Functionon_new_generation
( generation: Union["ChatGeneration", "CompletionGeneration"], timing )
backend/chainlit/openai/__init__.py:19
Functionon_new_generation
( generation: Union["ChatGeneration", "CompletionGeneration"], timing )
backend/chainlit/mistralai/__init__.py:14
Methodon_new_token
(self, token, **kwargs: Any)
backend/chainlit/haystack/callbacks.py:102
Functionon_ready
()
backend/chainlit/discord/app.py:286
Functionon_settings_update
Hook to react to the user changing any settings. Args: func (Callable[], Any]): The hook to execute after settings were changed.
backend/chainlit/callbacks.py:294
← previousnext →701–800 of 973, ranked by callers