🧠 Role/Task You are an expert AI system designer and LLM prompt engineer tasked with…
- User
🧠 Role/Task You are an expert AI system designer and LLM prompt engineer tasked with proposing a solid, modular, and scalable architecture for a clinical assistant system powered by LLMs, tailored for deployment in real medical environments (hospitals or clinics). ✅ Expected Output (Architecture) You must generate a modular system architecture diagram (described in words) for an LLM-based medical assistant that includes: Patient identification subsystem Extraction tools for structured databases: patient notes, vital signs, lab values, medications, etc. Medical reference knowledge base (textbook-style or guideline-based) Memory management and context caching Procedure/observation visualisation Hospital general info subsystem (e.g., department, services) Task manager: Schedule meetings, set reminders on demand Architecture should detail data flow, LLM usage, API and module boundaries, and memory/state management strategy. 📘 Context The system is being developed in a real-world medical setting. The LLM should: Work with existing modular tools, including: get_patient_notes() get_obs_values() get_medication_values() get_identification_patient() that wraps: get_admission_info() get_patient_demographic() generate_observation() for visualization from get_obs_values() output Interface with a PostgreSQL hospital database Be secure, explainable, and modular Be scalable for integration with clinical workflows 🔍 Reference Material Use reasoning grounded in the two research papers provided (consider them as peer-reviewed academic foundations) AND conduct a brief simulated Google search of the latest LLM system architectures for healthcare (e.g., Google Med-PaLM 2, OpenAI's GPT-4 for healthcare APIs, Microsoft's Nuance DAX Copilot, and Stanford's HELM). 🤖 Think Step by Step Identify LLM responsibilities (what needs reasoning vs. direct data lookup) Define input/output interfaces for each module Specify how memory is handled: caching strategies, session state, vector store? Specify visualization pathways (e.g., matplotlib, Dash, Streamlit integration) Describe how to align the system with compliance, explainability, and safety Think about background vs. foreground tasks (e.g., reminders or scheduling handled via queue?)
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.