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"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sqlite3 | |
import requests | |
from datasets import DatasetDict, load_dataset | |
from dotenv import load_dotenv | |
from flask import Flask, jsonify, redirect, render_template, request | |
from transformers import ( | |
DataCollatorForLanguageModeling, | |
GPT2LMHeadModel, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"source ~/.vimrc | |
" Find more examples here: https://jb.gg/share-ideavimrc | |
let mapleader=" " | |
" Don't use Ex mode, use Q for formatting. | |
map Q gq | |
set number relativenumber | |
set clipboard+=unnamed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"settingsVersion": "1.67.7", | |
"exclusionRules": [ | |
{ | |
"pattern": "https?://mail.google.com/*", | |
"passKeys": "" | |
}, | |
{ | |
"pattern": "https?://www.google.com/*", | |
"passKeys": "/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Have j and k navigate visual lines rather than logical ones | |
nmap j gj | |
nmap k gk | |
" Go to beginning/end of line | |
nmap gh ^ | |
nmap gl $ | |
" Cycle between tabs | |
exmap tabprev obcommand workspace:previous-tab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "2.0.122", | |
"settings": { | |
"blur": 0, | |
"brightness": 100, | |
"contrast": 100, | |
"grayscale": 0, | |
"huerotate": 0, | |
"invert": 0, | |
"saturate": 100, |