ProductionRAG / app.py
Mdean77's picture
Add import chainlit
f119af7
raw
history blame
490 Bytes
### Mike Dean Experiments
### Import Section ###
"""
IMPORTS HERE
"""
import chainlit as cl
### Global Section ###
"""
GLOBAL CODE HERE
"""
### On Chat Start (Session Start) Section ###
@cl.on_chat_start
async def on_chat_start():
""" SESSION SPECIFIC CODE HERE """
### Rename Chains ###
@cl.author_rename
def rename(orig_author: str):
""" RENAME CODE HERE """
### On Message Section ###
@cl.on_message
async def main(message: cl.Message):
"""
MESSAGE CODE HERE
"""