Kanji
・Ingeniero Cloud / Freelance ・Nacido en 1993 ・De Ehime / Residente en Shibuya, Tokio ・5 años de experiencia en AWS Detalles del perfil
Índice
Following medical advice recommending purine intake restrictions, maintaining accurate daily dietary logs became essential.
While numerous nutrition apps exist on iOS and Android, few easily monitor specific micronutrients such as purine levels or customizable dietary components.
Given ChatGPT’s strong semantic comprehension of food ingredients, querying ChatGPT directly for nutritional breakdowns provided an ideal solution.
By instructing ChatGPT to output structured YAML or JSON, programmatic pipelines can easily parse responses and write records directly into Google Sheets or visualize them in Looker Studio dashboards.
Access the application template spreadsheet here:
gcal-ai-event-manager - Google Sheets Template
In the spreadsheet menu, select File → Make a copy to replicate it into your personal Google Drive.
const.gs
SPREADSHEET_ID
https://docs.google.com/spreadsheets/d/<SPREADSHEET_ID>/edit
// Target Google Spreadsheet ID const SPREADSHEET_ID = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxx'; // Log levels const LOG_LEVELS = { DEBUG: 1, INFO: 2, WARN: 3, ERROR: 4 }; let LOG_LEVEL = LOG_LEVELS.DEBUG; // Target sheet names const SHEET_NAME_EVENT_LIST = '予定一覧'; const SHEET_NAME_RULE = 'ルール'; // Target LLM Model const OPENAI_MODEL = 'gpt-3.5-turbo'; const AI_RESPONSE_HEADER = 'AI による回答'; // Date range queries (0 = today, negative = past days, positive = future days) const DAYS_FROM_TODAY_START = 0; const DAYS_RANGE = -7; // Dry-run mode flag const DRY_RUN = false;
OPEN_AI_API_KEY
ルール
(🍝|🍽️)
TRUE
FALSE
${title}
${description}
予定一覧
🍝 Lunch
---