Skip to content

Instantly share code, notes, and snippets.

@Keshav13142
Last active July 11, 2024 10:05
Show Gist options
  • Save Keshav13142/16917734788897d655ed32bda26316ef to your computer and use it in GitHub Desktop.
Save Keshav13142/16917734788897d655ed32bda26316ef to your computer and use it in GitHub Desktop.
LLM prompt

Question

I want you to generate a prompt which I will use to query a LLM to generate care plan data in JSON format using certain parameters I will pass in the query such as weight, height, spo2, avg_heartrate, stepCount, calories_burnt, sleep_duration_in_minutes which is the the average a daily data collected over a week. The output json format should be as follows: { "name": "<careplan_name>", "careplanItems": [ { "title": "careplan_item_title1", "description": "careplan_item_description1" }, { "title": "careplan_item_title2", "description": "careplan_item_description2" }, ..... ] }

Prompt

Generate a care plan in JSON format using the following parameters: weight, height, spo2, avg_heartrate, stepCount, calories_burnt, sleep_duration_in_minutes. The provided data represents the average daily values collected over a week. The output should follow this format:

{ "name": "<careplan_name>", "careplanItems": [ { "title": "careplan_item_title1", "description": "careplan_item_description1" }, { "title": "careplan_item_title2", "description": "careplan_item_description2" }, ... ] } Here are the values:

Weight: 75 kg Height: 175 cm SpO2: 98% Average Heart Rate: 72 bpm Step Count: 8000 Calories Burnt: 2200 Sleep Duration in Minutes: 420 Based on these parameters, generate a comprehensive care plan with a suitable name and a list of care plan items that include titles and descriptions. The care plan should address aspects such as diet, exercise, sleep, and overall well-being.

This query should help generate a care plan JSON based on the given parameters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment