MCPcopy Create free account

hub / github.com/Chainlit/cookbook / functions

Functions447 in github.com/Chainlit/cookbook

Functionmain
(message: cl.Message)
pinecone/app.py:52
Functionmain
(message: cl.Message)
langgraph-memory/app.py:49
Functionmain
(message: cl.Message)
llava/app.py:315
Functionmain
(message: cl.Message)
reverse_proxy/clapp.py:5
Functionmain
(message: cl.Message)
pdf-qa/app.py:114
Functionmain
(message: cl.Message)
llama-index/app.py:53
Functionmain
()
confirm-action/app.py:5
Functionmain
(message: cl.Message)
archive/groq-llama3-llamaindex-hf/app.py:43
Functionmain
(message: cl.Message)
archive/langchain-ask-human/app.py:79
Functionmain
(message: cl.Message)
llama-index-googledocs-qa/app.py:97
Functionmain
(message: cl.Message)
baseten-llama-2-chat/app.py:12
Functionmain
(message: cl.Message)
openai-data-analyst/app.py:213
Functionmain
Optimized message handler
loader-animation/app.py:39
Functionmove_map_to
(latitude: float, longitude: float)
map-canvas/app.py:11
FunctionmutationObserverCallback
(mutationsList, observer)
auth/public/script.js:13
Functionneed_file_upload
When the user's question mentions handling files, you need to upload files, you can call this function. Parameters: None
archive/openai-functions-codeinterpreter/plugins/common/functions.py:5
Functionneed_install_package
If the user's question mentions installing packages, and the packages need to be installed, you can call this function. Parameters: packa
archive/openai-functions-codeinterpreter/plugins/python/functions.py:21
FunctionnestMessages
(messages: IStep[])
react-native-chat/react-native-client/libs/cl-sdk-1.2/utils/message.ts:5
Functionoauth_callback
( provider_id: str, token: str, raw_user_data: Dict[str, str], default_user: cl.User, )
auth/app.py:8
Functionoauth_callback
This function is an OAuth callback handler. It is triggered when the user authorizes the application with a third-party provider. It rece
langchain-azure-agent/app.py:229
Functionon_audio_chunk
(chunk: cl.InputAudioChunk)
openai-whisper/app.py:105
Functionon_audio_chunk
(chunk: cl.InputAudioChunk)
realtime-assistant/app.py:107
Functionon_audio_start
()
openai-whisper/app.py:97
Functionon_audio_start
()
realtime-assistant/app.py:91
Functionon_chat_end
This function is called when a chat ends. It sets the current_thread value in the user session to None.
langchain-azure-agent/app.py:245
Functionon_chat_resume
(thread: ThreadDict)
resume-chat/app_lean.py:23
Functionon_chat_resume
(thread: ThreadDict)
resume-chat/app.py:48
Functionon_chat_resume
(thread)
langgraph-memory/app.py:44
Functionon_chat_resume
This function is triggered when the chat application is resumed after being paused. It initializes the ConversationSummaryBufferMemory with t
langchain-azure-agent/app.py:212
Functionon_chat_start
()
chroma-qa-chat/app.py:63
Functionon_chat_start
()
pyautogen/app.py:97
Functionon_chat_start
()
pyautogen/async_app.py:100
Functionon_chat_start
()
react-native-chat/backend/cl_app.py:22
Functionon_chat_start
()
custom-logo/app.py:7
Functionon_chat_start
()
local-llm/ollama.py:15
Functionon_chat_start
()
resume-chat/app_lean.py:18
Functionon_chat_start
()
resume-chat/app.py:42
Functionon_chat_start
()
custom-frontend/backend/cl_app.py:20
Functionon_end
()
realtime-assistant/app.py:118
Methodon_event
(self, event)
openai-data-analyst/app.py:123
Methodon_exception
(self, exception: Exception)
openai-data-analyst/app.py:127
Methodon_image_file_done
(self, image_file)
openai-data-analyst/app.py:134
Methodon_llm_end
(self, response, *, run_id, parent_run_id, **kwargs)
chroma-qa-chat/app.py:108
Methodon_llm_end
(self, response: str, **kwargs)
langchain-azure-agent/app.py:83
Methodon_llm_new_token
(self, token: str, **kwargs)
langchain-azure-agent/app.py:80
Functionon_mcp
(connection, session: ClientSession)
mcp-linear/app.py:56
Functionon_mcp
(connection, session: ClientSession)
mcp/app.py:44
Functionon_message
(message: cl.Message)
chroma-qa-chat/app.py:88
Functionon_message
(message: cl.Message)
fly-io-deployment/app.py:10
Functionon_message
(msg: cl.Message)
deepseek-r1/ollama.py:10
Functionon_message
(msg: cl.Message)
deepseek-r1/deepseek_api.py:13
Functionon_message
(message: cl.Message)
openai-whisper/app.py:203
Functionon_message
(message: cl.Message)
react-native-chat/backend/cl_app.py:31
Functionon_message
(message: cl.Message)
local-llm/ollama.py:30
Functionon_message
(message: cl.Message)
realtime-assistant/app.py:77
Functionon_message
(message: cl.Message)
resume-chat/app_lean.py:40
Functionon_message
(message: cl.Message)
resume-chat/app.py:63
Functionon_message
(msg: cl.Message)
copilot/app.py:5
Functionon_message
(msg: cl.Message)
mcp-linear/app.py:148
Functionon_message
(message: cl.Message)
custom-frontend/backend/cl_app.py:29
Functionon_message
Handle incoming user messages
ai-web-search-linkup/app.py:287
Functionon_message
(msg: cl.Message)
window-message/app.py:12
Functionon_message
(msg: cl.Message)
mcp/app.py:120
Functionon_message
(message: cl.Message)
openai-functions-streaming/app.py:132
Functionon_message
(msg: cl.Message)
map-canvas/app.py:120
Functionon_message
(message: cl.Message)
humanlayer-openai/app.py:164
Functionon_message
(msg: cl.Message)
suggestions/app.py:5
Functionon_message
(message: cl.Message)
aws-ecs-deployment/app.py:10
Methodon_retriever_end
(self, documents, *, run_id, parent_run_id, **kwargs)
chroma-qa-chat/app.py:103
Methodon_run_step_created
(self, run_step: RunStep)
openai-data-analyst/app.py:39
Functionon_start
()
fly-io-deployment/app.py:5
Functionon_start
()
map-canvas/app.py:113
Functionon_start
()
aws-ecs-deployment/app.py:5
Functionon_test_action
()
map-canvas/app.py:90
Methodon_text_created
(self, text)
openai-data-analyst/app.py:42
Methodon_text_delta
(self, delta, snapshot)
openai-data-analyst/app.py:47
Methodon_text_done
(self, text)
openai-data-analyst/app.py:51
Methodon_tool_call_created
(self, tool_call)
openai-data-analyst/app.py:80
Methodon_tool_call_delta
(self, delta, snapshot)
openai-data-analyst/app.py:89
Methodon_tool_call_done
(self, tool_call)
openai-data-analyst/app.py:130
MethodpasswordAuth
(data: FormData)
react-native-chat/react-native-client/libs/cl-sdk-1.2/api/index.tsx:147
Methodpatch
(endpoint: string, data: Payload, token?: string)
react-native-chat/react-native-client/libs/cl-sdk-1.2/api/index.tsx:132
Functionpre_model_hook
(state)
langchain-azure-agent/app.py:50
Functionpython_exec
Exexute code. \nNote: This endpoint current supports a REPL-like environment for Python only.\n\nArgs:\n request (CodeExecutionRequest): The r
archive/openai-functions-codeinterpreter/plugins/python/functions.py:8
Functionquery_stock_price_handler
Queries the latest stock price information for a given stock symbol.
realtime-assistant/realtime/tools.py:25
Functionrag_search
Use this tool, the rag search tool, to access a large collection of documents that can be searched using semantic search. Think carefully about how
langchain-azure-agent/tools/rag_search.py:16
Functionrandom_secret
(length: int = 64)
auth/inject_custom_auth.py:9
Functionread_main
(request: Request)
reverse_proxy/app.py:8
Functionreimburse_order
(order_id, reason)
humanlayer-openai/app.py:25
Methodremove_tool
(self, name)
realtime-assistant/realtime/__init__.py:559
Functionrename
(orig_author)
archive/agent-image-editing/app.py:22
Functionrename
(orig_author: str)
archive/haystack/app.py:92
Methodreset
(self)
realtime-assistant/realtime/__init__.py:515
Functionrun
(message: cl.Message)
local-llm/llama2-chat.py:61
Functionrun_conversation
(message: cl.Message)
openai-concurrent-functions/app.py:60
Functionrun_conversation
(message: cl.Message)
archive/openai-functions-codeinterpreter/app.py:223
Functionrun_conversation
(message: cl.Message)
archive/openai-functions/app.py:119
Functionrun_convo
(message: cl.Message)
langgraph-tavily/app.py:129
Methodsend
( self, message: Union[Dict, str], recipient: Agent, request_reply: Optional[b
pyautogen/app.py:75
MethodsetFeedback
( feedback: IFeedback, accessToken?: string )
react-native-chat/react-native-client/libs/cl-sdk-1.2/api/index.tsx:157
← previousnext →301–400 of 447, ranked by callers