An AZD Template for a Chainlit Azure Container App
Late last year I was looking for an AZD template that uses Chainlit for a UI application and deploys to Azure Container Apps, but couldn’t find one … so now I’m working on building one.
Chainlit OpenAI AssistantsAPI Azure Container Apps Starter
This is a starter template that works with Azure Developer CLI (AZD) to create a Chainlit application and deploy it to Azure in a matter of minutes. The application code currently uses OpenAI and OpenAI Assistants API - I’m working on adding more functionality to it soon.
The GitHub repository is here: chainlit-openai-assistantsapi-aca-starter. I’ve got the windows version of the README instructions out there, but haven’t updated the local environment steps for Mac yet.
Current functionality:
- Chainlit application builds as docker container and deploys to Azure Container Apps
- Uses OpenAI and Assistants API (need to bring your own keys)
Work in progress:
- Azure Active Directory/Entra ID authentication
- Ability to upload files
- … more to come
If you have any feature requests or comments, please message me @haleyjason on twitter/X.