import streamlit as st import dotenv import os def main(): dotenv.load_dotenv(dotenv_path=os.path.join('.streamlit', '.env')) st.set_page_config(page_title="RAG Agent", page_icon="๐Ÿค–", layout="wide") # audit_page = st.Page("audit_page/audit.py", title="Audit", icon="๐Ÿ“‹", default=True) dialog_page = st.Page("audit_page/dialogue_doc.py", title="Dialoguer avec le document", icon="๐Ÿ’ฌ") kg_page = st.Page("audit_page/knowledge_graph.py", title="Graphe de connaissance", icon="๐Ÿง ") # agents_page = st.Page("agents_page/catalogue.py", title="Catalogue des agents", icon="๐Ÿ“‡") # compte_rendu = st.Page("audit_page/compte_rendu.py", title="Compte rendu", icon="๐Ÿ“") # recommended_agents = st.Page("agents_page/recommended_agent.py", title="Agents recommandรฉs", icon="โญ") # chatbot = st.Page("chatbot_page/chatbot.py", title="Chatbot", icon="๐Ÿ’ฌ") # documentation = st.Page("doc_page/documentation.py", title="Documentation", icon="๐Ÿ“š") pg = st.navigation( { "Graphe de connaissance": [kg_page], } ) pg.run() if __name__ == "__main__": main()