Complete your first AI app in 3 minutes.
Initialize the Project
Install Packages
Create chat.py
chat.py
file in the src/python
directory.Edit index.mdx
index.mdx
to use the Python function created earlier.Add API key to .env
.env
file.Start the Local Server
localhost:8080
to open the app.