Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chainlit/chainlit
/ functions
Functions
973 in github.com/chainlit/chainlit
⨍
Functions
973
◇
Types & classes
248
↳
Endpoints
28
↓ 2 callers
Method
__init__
( self, # Id of the session id: str, client_type: ClientType, # Thread
backend/chainlit/session.py:60
↓ 2 callers
Method
_convert_message_role
(self, role: str)
backend/chainlit/langchain/callbacks.py:135
↓ 2 callers
Method
_get_current_timestamp
(self)
backend/chainlit/data/dynamodb.py:60
↓ 2 callers
Method
_get_session_property
Helper method to get a property from the session.
backend/chainlit/emitter.py:136
↓ 2 callers
Method
_process_content
(self, content, set_language=False)
backend/chainlit/step.py:237
↓ 2 callers
Method
_should_ignore_run
(self, run: Run)
backend/chainlit/langchain/callbacks.py:422
↓ 2 callers
Method
_update_item
(self, key: Dict[str, Any], updates: Dict[str, Any])
backend/chainlit/data/dynamodb.py:74
↓ 2 callers
Method
attachment_to_element_dict
(self, attachment: Attachment)
backend/chainlit/data/literalai.py:39
↓ 2 callers
Method
checkToken
(token: string)
libs/react-client/src/api/index.tsx:60
↓ 2 callers
Function
check_file
(target: str)
backend/chainlit/utils.py:96
↓ 2 callers
Function
clean_content
(message: discord.Message)
backend/chainlit/discord/app.py:210
↓ 2 callers
Function
connect
(sid, environ)
backend/chainlit/socket.py:103
↓ 2 callers
Method
create_step
(self, step_dict: "StepDict")
backend/chainlit/data/base.py:63
↓ 2 callers
Method
delete
(endpoint: string, data: Payload, token?: string)
libs/react-client/src/api/index.tsx:136
↓ 2 callers
Function
describeSyncAsync
( title: string, callback: (mode: ExecutionMode) => void )
cypress/support/testUtils.ts:39
↓ 2 callers
Method
emit_call
Get the 'emit_call' property from the session.
backend/chainlit/emitter.py:152
↓ 2 callers
Function
ensure_jwt_secret
()
backend/chainlit/auth.py:20
↓ 2 callers
Function
fetchThreads
( cursor?: string | number, isLoadingMore?: boolean )
frontend/src/components/organisms/sidebar/threadHistory/index.tsx:83
↓ 2 callers
Function
flatten_args_kwargs
(func, *args, **kwargs)
backend/chainlit/step.py:68
↓ 2 callers
Method
get_all_user_threads
Fetch all user threads up to self.user_thread_limit, or one thread by id if thread_id is provided.
backend/chainlit/data/sql_alchemy.py:446
↓ 2 callers
Method
get_current_timestamp
(self)
backend/chainlit/data/sql_alchemy.py:99
↓ 2 callers
Method
get_thread
(self, thread_id: str)
backend/chainlit/data/base.py:91
↓ 2 callers
Method
get_token
(self, code: str, url: str)
backend/chainlit/oauth_providers.py:23
↓ 2 callers
Method
get_user
(self, identifier: str)
backend/chainlit/data/base.py:24
↓ 2 callers
Method
get_user_info
(self, token: str)
backend/chainlit/oauth_providers.py:26
↓ 2 callers
Function
handleFeedbackChanged
(feedback?: number, comment?: string)
frontend/src/components/molecules/messages/components/FeedbackButtons.tsx:54
↓ 2 callers
Function
i18nSetupLocalization
()
frontend/src/i18n/index.ts:9
↓ 2 callers
Function
init_config
Initialize the configuration file if it doesn't exist.
backend/chainlit/config.py:387
↓ 2 callers
Function
is_oauth_enabled
()
backend/chainlit/auth.py:27
↓ 2 callers
Function
load_config
Load the configuration from the config file.
backend/chainlit/config.py:503
↓ 2 callers
Function
load_settings
()
backend/chainlit/config.py:454
↓ 2 callers
Function
makeTheme
( variant: 'dark' | 'light', fontFamily?: string, breakpoints?: BreakpointsOptions )
frontend/src/theme/theme.tsx:124
↓ 2 callers
Function
onClick
()
frontend/src/pages/ResumeButton.tsx:44
↓ 2 callers
Function
onSubmit
()
frontend/src/components/molecules/auth/AuthVerifyEmail.tsx:31
↓ 2 callers
Function
overrideTheme
(theme: Theme)
frontend/src/App.tsx:48
↓ 2 callers
Function
persist_user_session
(thread_id: str, metadata: Dict)
backend/chainlit/socket.py:40
↓ 2 callers
Function
process_content
(content: Any)
backend/chainlit/langchain/callbacks.py:232
↓ 2 callers
Method
process_message
(self, payload: MessagePayload)
backend/chainlit/emitter.py:213
↓ 2 callers
Function
process_slack_message
( event, say, thread_id: str, thread_name: Optional[str] = None, bind_thread_to_user=False
backend/chainlit/slack/app.py:243
↓ 2 callers
Function
removeToken
()
libs/react-client/src/utils/token.ts:19
↓ 2 callers
Method
render
()
frontend/src/components/atoms/ErrorBoundary.tsx:31
↓ 2 callers
Function
run_chainlit
(target: str)
backend/chainlit/cli/__init__.py:36
↓ 2 callers
Method
safely_send_steps
(self, steps)
backend/chainlit/data/literalai.py:181
↓ 2 callers
Method
send
(self)
backend/chainlit/element.py:289
↓ 2 callers
Method
send_action_response
( self, id: str, status: bool, response: Optional[str] = None )
backend/chainlit/emitter.py:364
↓ 2 callers
Function
send_count
()
cypress/e2e/data_layer/main.py:202
↓ 2 callers
Method
send_element
(self, element_dict: ElementDict)
backend/chainlit/slack/app.py:40
↓ 2 callers
Method
set_chat_settings
(self, settings: Dict[str, Any])
backend/chainlit/emitter.py:361
↓ 2 callers
Method
update
Send the message to the UI and persist it in the cloud if a project ID is configured. Return the ID of the message.
backend/chainlit/message.py:274
↓ 2 callers
Function
useFetch
(endpoint: string | null)
frontend/src/hooks/useFetch.tsx:20
↓ 1 callers
Method
__init__
( self, session: Union["HTTPSession", "WebsocketSession"], emitter: Optional["BaseChai
backend/chainlit/context.py:40
↓ 1 callers
Method
__init__
(self, step_id: str)
backend/chainlit/discord/app.py:30
↓ 1 callers
Method
_append_to_last_tokens
(self, token: str)
backend/chainlit/langchain/callbacks.py:85
↓ 1 callers
Method
_build_llm_settings
( self, serialized: Dict, invocation_params: Optional[Dict] = None, )
backend/chainlit/langchain/callbacks.py:197
↓ 1 callers
Method
_check_if_answer_reached
(self)
backend/chainlit/langchain/callbacks.py:62
↓ 1 callers
Method
_clean_content
Recursively checks and converts bytes objects in content.
backend/chainlit/step.py:219
↓ 1 callers
Method
_compare_last_tokens
(self, last_tokens: List[str])
backend/chainlit/langchain/callbacks.py:68
↓ 1 callers
Method
_convert_message
( self, message: Union[Dict, BaseMessage], )
backend/chainlit/langchain/callbacks.py:168
↓ 1 callers
Method
_convert_message_dict
( self, message: Dict, )
backend/chainlit/langchain/callbacks.py:147
↓ 1 callers
Method
_get_non_ignored_parent_id
(self, current_parent_id: Optional[str] = None)
backend/chainlit/langchain/callbacks.py:406
↓ 1 callers
Method
_get_parent_id
(self, event_parent_id: Optional[str] = None)
backend/chainlit/llama_index/callbacks.py:40
↓ 1 callers
Method
_get_run_parent_id
(self, run: Run)
backend/chainlit/langchain/callbacks.py:401
↓ 1 callers
Method
acall
(self)
backend/chainlit/__init__.py:98
↓ 1 callers
Function
addIndentMessage
( messages: IStep[], indent: number, newMessage: IStep, currentIndentation: number = 0 )
libs/react-client/src/utils/message.ts:45
↓ 1 callers
Function
addMessageToParent
( messages: IStep[], parentId: string, newMessage: IStep )
libs/react-client/src/utils/message.ts:79
↓ 1 callers
Method
add_task
(self, task: Task)
backend/chainlit/element.py:283
↓ 1 callers
Function
another_async_function
()
cypress/e2e/context/main.py:22
↓ 1 callers
Function
async_function
()
cypress/e2e/context/main.py:18
↓ 1 callers
Function
async_function_from_sync
()
cypress/e2e/context/main.py:7
↓ 1 callers
Function
authenticate_user
(token: str = Depends(reuseable_oauth))
backend/chainlit/auth.py:62
↓ 1 callers
Function
buildInputHistory
(userInputs: UserInput[])
frontend/src/components/organisms/chat/history/index.tsx:21
↓ 1 callers
Method
build_debug_url
(self)
backend/chainlit/data/base.py:106
↓ 1 callers
Function
capitalizeFirstLetter
(string: string)
frontend/src/components/molecules/auth/ProviderButton.tsx:15
↓ 1 callers
Function
clean_content
(message: str)
backend/chainlit/slack/app.py:163
↓ 1 callers
Function
clean_content
(activity: Activity)
backend/chainlit/teams/app.py:218
↓ 1 callers
Function
clean_metadata
(metadata: Dict, max_size: int = 1048576)
backend/chainlit/session.py:38
↓ 1 callers
Method
clean_result
Recursively change UUID -> str and serialize dictionaries
backend/chainlit/data/sql_alchemy.py:102
↓ 1 callers
Function
clear_on_timeout
(_sid)
backend/chainlit/socket.py:234
↓ 1 callers
Function
cli
()
backend/chainlit/cli/__init__.py:31
↓ 1 callers
Function
closeHistory
()
cypress/support/testUtils.ts:23
↓ 1 callers
Function
compare_json_structures
Compare the structure of two deeply nested JSON objects. Args: truth (dict): The 'truth' JSON object. to_compare (dict): The
backend/chainlit/translations.py:6
↓ 1 callers
Method
configure_tracer
(self)
backend/chainlit/telemetry.py:52
↓ 1 callers
Function
context_preserving_coroutine
()
backend/chainlit/sync.py:30
↓ 1 callers
Function
continueThread
()
cypress/e2e/data_layer/spec.cy.ts:88
↓ 1 callers
Function
create_chainlit_context
()
backend/tests/conftest.py:12
↓ 1 callers
Method
create_element
(self, element: "Element")
backend/chainlit/data/base.py:47
↓ 1 callers
Method
create_step
(self, step_dict: "StepDict")
backend/chainlit/data/literalai.py:249
↓ 1 callers
Method
create_step
(self, step_dict: "StepDict")
backend/chainlit/data/sql_alchemy.py:294
↓ 1 callers
Function
darkTheme
(fontFamily?: string, breakpoints?: BreakpointsOptions)
frontend/src/theme/theme.tsx:56
↓ 1 callers
Method
default
(self, obj)
backend/chainlit/session.py:31
↓ 1 callers
Function
deleteMessageById
(messages: IStep[], messageId: string)
libs/react-client/src/utils/message.ts:143
↓ 1 callers
Method
deleteThread
(threadId: string, accessToken?: string)
libs/react-client/src/api/index.tsx:190
↓ 1 callers
Method
delete_element
(self, element_id: str, thread_id: Optional[str] = None)
backend/chainlit/data/base.py:58
↓ 1 callers
Method
delete_feedback
( self, feedback_id: str, )
backend/chainlit/data/base.py:32
↓ 1 callers
Method
delete_thread
(self, thread_id: str)
backend/chainlit/data/base.py:81
↓ 1 callers
Function
detectSound
()
libs/react-client/src/useAudio.ts:143
↓ 1 callers
Function
download_discord_file
(url: str)
backend/chainlit/discord/app.py:175
↓ 1 callers
Function
download_discord_files
( session: HTTPSession, attachments: List[discord.Attachment] )
backend/chainlit/discord/app.py:184
↓ 1 callers
Function
download_slack_file
(url, token)
backend/chainlit/slack/app.py:209
↓ 1 callers
Function
download_slack_files
(session: HTTPSession, files, token)
backend/chainlit/slack/app.py:219
← previous
next →
101–200 of 973, ranked by callers