Chainlit can be mounted as a FastAPI sub application.Documentation Index
Fetch the complete documentation index at: https://docs.chainlit.io/llms.txt
Use this file to discover all available pages before exploring further.
my_cl_app
main
/app. We mount the Chainlit application my_cl_app.py to the /chainlit path.
Start the FastAPI server:
When using FastAPI integration, header authentication is the preferred method
for authenticating users. This approach allows Chainlit to delegate the
authentication process to the parent FastAPI application, providing a more
seamless and secure integration.