Integrations
Embedchain
In this tutorial, we’ll walk through the steps to create a Chainlit application integrated with Embedchain.
Step 1: Create a Chainlit Application
In app.py
, import the necessary packages and define one function to handle a new chat session and another function to handle messages incoming from the UI.
With Embedchain
app.py
Step 2: Run the Application
To start your app, open a terminal and navigate to the directory containing app.py
. Then run the following command:
Next Steps
Congratulations! You’ve just created your first LLM app with Chainlit and Embedchain.
Happy coding! 🎉
Was this page helpful?