import streamlit as st from frontend.app import pinecone_data_handler,common_functions # # Page Configuration common_functions.config_homepage() # common_functions.set_bg_image("src/frontend/images/health_care_baner.png") def render_admin_portal(): """ Renders the enhanced Admin Portal page with improved UI, navigation, and user guidance. Features: - Upsert data functionality with informative tips. - Delete records feature with enhanced warnings and confirmation prompts. """ # Header Section st.markdown( """
Manage your Pinecone database securely and efficiently.
Use this section to insert or update records in Pinecone.
✅ Ensure your data is correctly formatted before uploading.
❗ Warning: Deleting data is irreversible.
Please confirm your action before proceeding.