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
↓ 1 callers
Function
download_teams_file
(url: str)
backend/chainlit/teams/app.py:176
↓ 1 callers
Function
download_teams_files
( session: HTTPSession, attachments: Optional[List[Attachment]] = None )
backend/chainlit/teams/app.py:185
↓ 1 callers
Method
ensure_values_serializable
Recursively ensures that all values in the input (dict or list) are JSON serializable.
backend/chainlit/langchain/callbacks.py:117
↓ 1 callers
Function
escapeRegExp
(string: string)
frontend/src/utils/message.ts:11
↓ 1 callers
Function
feedback
()
cypress/e2e/data_layer/spec.cy.ts:11
↓ 1 callers
Function
fetcher
( client: ChainlitAPI, endpoint: string, token?: string )
libs/react-client/src/api/hooks/api.ts:8
↓ 1 callers
Method
findLast
( predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any )
frontend/src/index.d.ts:8
↓ 1 callers
Function
findMessageById
( messages: IStep[], messageId: string )
libs/react-client/src/utils/message.ts:101
↓ 1 callers
Method
flush_method_queue
(self)
backend/chainlit/session.py:277
↓ 1 callers
Method
flush_thread_queues
(self, interaction: str)
backend/chainlit/emitter.py:182
↓ 1 callers
Function
gen_img
()
cypress/e2e/elements/main.py:7
↓ 1 callers
Method
getElementUrl
(id: string, sessionId: string)
libs/react-client/src/api/index.tsx:245
↓ 1 callers
Function
getInputWidth
(hasArrow?: boolean)
frontend/src/components/molecules/messages/components/NotificationCount.tsx:43
↓ 1 callers
Function
getLineCount
(el: HTMLDivElement)
frontend/src/components/organisms/chat/inputBox/input.tsx:31
↓ 1 callers
Function
getLineCount
(el: HTMLDivElement)
libs/copilot/src/components/Input.tsx:27
↓ 1 callers
Method
getLogoEndpoint
(theme: string)
libs/react-client/src/api/index.tsx:250
↓ 1 callers
Method
getOAuthEndpoint
(provider: string)
libs/react-client/src/api/index.tsx:254
↓ 1 callers
Function
getProviderName
(provider: string)
frontend/src/components/molecules/auth/ProviderButton.tsx:19
↓ 1 callers
Function
getToken
()
libs/react-client/src/utils/token.ts:3
↓ 1 callers
Function
get_build_dir
Get the build directory based on the UI build strategy. Args: local_target (str): The local target directory. packaged_targe
backend/chainlit/server.py:156
↓ 1 callers
Function
get_configuration
()
backend/chainlit/auth.py:40
↓ 1 callers
Function
get_current_user
(token: str = Depends(reuseable_oauth))
backend/chainlit/auth.py:87
↓ 1 callers
Method
get_element
( self, thread_id: str, element_id: str )
backend/chainlit/data/base.py:51
↓ 1 callers
Function
get_favicon
Get the favicon for the UI.
backend/chainlit/server.py:922
↓ 1 callers
Function
get_html_template
Get HTML template for the index view.
backend/chainlit/server.py:275
↓ 1 callers
Function
get_markdown_str
Get the chainlit.md file as a string.
backend/chainlit/markdown.py:37
↓ 1 callers
Method
get_thread
(self, thread_id: str)
backend/chainlit/data/literalai.py:351
↓ 1 callers
Method
get_thread
(self, thread_id: str)
backend/chainlit/data/dynamodb.py:482
↓ 1 callers
Method
get_thread_author
(self, thread_id: str)
backend/chainlit/data/base.py:77
↓ 1 callers
Function
get_user
(discord_user: Union[discord.User, discord.Member])
backend/chainlit/discord/app.py:152
↓ 1 callers
Function
get_user
(slack_user_id: str)
backend/chainlit/slack/app.py:168
↓ 1 callers
Function
get_user
(teams_user: ChannelAccount)
backend/chainlit/teams/app.py:153
↓ 1 callers
Method
get_user
(self, identifier: str)
backend/chainlit/data/literalai.py:121
↓ 1 callers
Method
get_user
(self, identifier: str)
backend/chainlit/data/sql_alchemy.py:113
↓ 1 callers
Function
groupByDate
(data: IThread[])
libs/react-client/src/utils/group.ts:3
↓ 1 callers
Function
handleChange
(feedback?: number)
frontend/src/components/organisms/sidebar/threadHistory/filters/FeedbackSelect.tsx:27
↓ 1 callers
Function
handleChangeLanguage
(languageBundle: any)
frontend/src/AppWrapper.tsx:13
↓ 1 callers
Function
handleClose
()
frontend/src/components/molecules/newChatButton.tsx:23
↓ 1 callers
Function
handleClose
()
frontend/src/components/molecules/chatProfiles.tsx:33
↓ 1 callers
Function
handleClose
()
frontend/src/components/atoms/buttons/userButton/index.tsx:12
↓ 1 callers
Function
handleClose
()
frontend/src/components/organisms/chat/settings.tsx:36
↓ 1 callers
Function
handleClose
()
frontend/src/components/organisms/sidebar/threadHistory/DeleteThreadButton.tsx:37
↓ 1 callers
Function
handleClose
()
libs/copilot/src/components/ChatProfiles.tsx:23
↓ 1 callers
Function
handleClose
()
libs/copilot/src/components/NewChatButton.tsx:18
↓ 1 callers
Function
handleConfirm
(newChatProfileWithoutConfirm?: string)
frontend/src/components/molecules/chatProfiles.tsx:39
↓ 1 callers
Function
handleConfirm
(newChatProfileWithoutConfirm?: string)
libs/copilot/src/components/ChatProfiles.tsx:28
↓ 1 callers
Function
handleDeleteThread
(threadId: string)
frontend/src/components/organisms/sidebar/threadHistory/ThreadList.tsx:89
↓ 1 callers
Function
handleFeedbackClick
(nextValue: number)
frontend/src/components/molecules/messages/components/FeedbackButtons.tsx:84
↓ 1 callers
Function
handleHeaderAuth
()
frontend/src/pages/Login.tsx:20
↓ 1 callers
Function
handleImageClick
(name: string, src: string)
frontend/src/components/atoms/elements/Image.tsx:13
↓ 1 callers
Function
handle_message
(turn_context: TurnContext)
backend/chainlit/teams/app.py:290
↓ 1 callers
Function
hasAssistantMessage
(step: IStep)
frontend/src/components/molecules/messages/Messages.tsx:30
↓ 1 callers
Function
hasMessage
(messages: IStep[])
frontend/src/components/organisms/chat/welcomeScreen/index.tsx:20
↓ 1 callers
Function
hasToolStep
(step: IStep)
frontend/src/components/molecules/messages/Messages.tsx:22
↓ 1 callers
Method
headerAuth
()
libs/react-client/src/api/index.tsx:142
↓ 1 callers
Function
init_discord_context
( session: HTTPSession, channel: "MessageableChannel", message: discord.Message, )
backend/chainlit/discord/app.py:134
↓ 1 callers
Function
init_lc_cache
()
backend/chainlit/cache.py:8
↓ 1 callers
Function
init_markdown
Initialize the chainlit.md file if it doesn't exist.
backend/chainlit/markdown.py:27
↓ 1 callers
Function
init_slack_context
( session: HTTPSession, slack_channel_id: str, event, say, thread_ts: Optional[str] = None
backend/chainlit/slack/app.py:130
↓ 1 callers
Function
init_teams_context
( session: HTTPSession, turn_context: TurnContext, )
backend/chainlit/teams/app.py:137
↓ 1 callers
Function
isForIdMatch
(id: string | number | undefined, forId: string)
frontend/src/utils/message.ts:3
↓ 1 callers
Function
isObject
(object: any)
frontend/src/helpers/object.ts:1
↓ 1 callers
Method
is_configured
(self)
backend/chainlit/oauth_providers.py:20
↓ 1 callers
Function
killPort
(port: number)
cypress/support/run.ts:13
↓ 1 callers
Function
lightTheme
(fontFamily?: string, breakpoints?: BreakpointsOptions)
frontend/src/theme/theme.tsx:90
↓ 1 callers
Function
lint_translation_json
(file, truth, to_compare)
backend/chainlit/translations.py:51
↓ 1 callers
Function
lint_translations
()
backend/chainlit/config.py:520
↓ 1 callers
Method
listThreads
( pagination: IPagination, filter: IThreadFilters, accessToken?: string )
libs/react-client/src/api/index.tsx:173
↓ 1 callers
Method
list_threads
( self, pagination: "Pagination", filters: "ThreadFilter" )
backend/chainlit/data/base.py:85
↓ 1 callers
Method
load_translation
(self, language: str)
backend/chainlit/config.py:342
↓ 1 callers
Function
load_user_env
(user_env)
backend/chainlit/socket.py:69
↓ 1 callers
Function
localStorageEffect
(key: string)
frontend/src/state/userInputHistory.ts:8
↓ 1 callers
Function
login
()
cypress/e2e/data_layer/spec.cy.ts:6
↓ 1 callers
Function
logout
Logout the user by calling the on_logout callback.
backend/chainlit/server.py:396
↓ 1 callers
Function
logout
(reload = false)
libs/react-client/src/api/hooks/auth.ts:33
↓ 1 callers
Method
logout
()
libs/react-client/src/api/index.tsx:152
↓ 1 callers
Function
main
()
cypress/support/e2e.ts:7
↓ 1 callers
Function
makeApiClient
(chainlitServer: string)
libs/copilot/src/api.ts:5
↓ 1 callers
Function
make_module_getattr
Leverage PEP 562 to make imports lazy in an __init__.py The registry must be a dictionary with the items to import as keys and the modules th
backend/chainlit/utils.py:62
↓ 1 callers
Function
messageStream
(index: number)
cypress/e2e/streaming/spec.cy.ts:5
↓ 1 callers
Function
nestMessages
(messages: IStep[])
libs/react-client/src/utils/message.ts:5
↓ 1 callers
Function
newSession
()
cypress/e2e/user_session/spec.cy.ts:3
↓ 1 callers
Function
newThread
()
cypress/e2e/data_layer/spec.cy.ts:98
↓ 1 callers
Function
omit
( object: T, ...props: K[] )
frontend/src/utils/omit.ts:1
↓ 1 callers
Function
onChange
(event: any)
frontend/src/components/atoms/inputs/SliderInput.tsx:24
↓ 1 callers
Function
onResolved
(files: File[])
frontend/src/components/molecules/messages/components/AskUploadButton.tsx:40
↓ 1 callers
Function
on_turn
(turn_context: TurnContext)
backend/chainlit/teams/app.py:326
↓ 1 callers
Function
openHistory
()
cypress/support/testUtils.ts:18
↓ 1 callers
Function
openReadme
()
cypress/e2e/readme/spec.cy.ts:3
↓ 1 callers
Method
passwordAuth
(data: FormData)
libs/react-client/src/api/index.tsx:147
↓ 1 callers
Method
peek
(self)
backend/chainlit/haystack/callbacks.py:29
↓ 1 callers
Function
prepareContent
({ elements, content, id, language }: { elements: IMessageElement[]; content?: string; id: strin
frontend/src/utils/message.ts:16
↓ 1 callers
Method
preprocess_content
(self)
backend/chainlit/element.py:293
↓ 1 callers
Function
process_action
(action: Action)
backend/chainlit/socket.py:363
↓ 1 callers
Function
process_discord_message
( message: discord.Message, thread_id: str, thread_name: str, channel: "MessageableChannel",
backend/chainlit/discord/app.py:220
↓ 1 callers
Function
process_message
Process a message from the user.
backend/chainlit/socket.py:256
↓ 1 callers
Function
process_teams_message
( turn_context: TurnContext, thread_name: str, )
backend/chainlit/teams/app.py:222
↓ 1 callers
Method
put
(endpoint: string, data: Payload, token?: string)
libs/react-client/src/api/index.tsx:128
↓ 1 callers
Function
reload_config
Reload the configuration from the config file.
backend/chainlit/config.py:489
↓ 1 callers
Method
remove_actions
(self)
backend/chainlit/message.py:295
← previous
next →
201–300 of 973, ranked by callers