Loading health data...
{{ memberSearch ? 'No members match your search criteria.' : 'Start by adding your first family member.' }}
Please log in to access your health data.
Date: {{ selectedVisit.visit_date_formatted }}
Type: {{ selectedVisit.visit_type_formatted }}
Reason: {{ selectedVisit.reason }}
Doctor: {{ selectedVisit.doctor.name }}
Location: {{ selectedVisit.hospital.name }}
Address: {{ selectedVisit.hospital.address }}
{{ selectedVisit.notes }}
{{ selectedVisit.outcome }}
Date: {{ formatDate(selectedVisit.follow_up_date) }}
Name: {{ selectedDoctor.name }}
Specialty: {{ selectedDoctor.specialty.text || selectedDoctor.specialty }}
Notes: {{ selectedDoctor.notes }}
No contact information available
Name: {{ selectedHospital.name }}
Type: {{ selectedHospital.type.charAt(0).toUpperCase() + selectedHospital.type.slice(1).replace('_', ' ') }}
Website: {{ selectedHospital.website }}
Notes: {{ selectedHospital.notes }}
No contact information available
The prompt serves as initial instructions to the AI model, setting the context and guidelines for how it should respond.
Example prompt components:
LLM Tools allow you to extend your AI assistant with custom functionality.
Define the parameters your tool accepts using JSON Schema format.
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search query"
},
"limit": {
"type": "number",
"description": "Max results"
}
},
"required": ["query"]
}
JavaScript code that executes when the tool is called. Access input parameters via the params object.
async function run(params) {
const { query, limit = 5 } = params;
// Your code here
return {
results: [...]
};
}