feat: Support nested JSON schema for Chain-of-Thought in Apps Script#153
feat: Support nested JSON schema for Chain-of-Thought in Apps Script#153iwas108 wants to merge 1 commit into
Conversation
Refactors `ScreeningController.js` and `FullTextScreeningController.js` to process a new LLM JSON schema containing `final_evaluation` and `logic_trace`. Maps `logic_trace` to a newly dynamically created `Logic_Trace` column, and gracefully falls back to the old flat structure when `final_evaluation` is missing. Fixes nested object stringification to prevent `[object Object]` data mangling in Google Sheets cells. Co-authored-by: iwas108 <64204327+iwas108@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Refactors the Google Apps Script components to process a new nested JSON schema from LLMs for chain-of-thought tracking, adding the data to a new "Logic_Trace" sheet column while retaining backward compatibility.
PR created automatically by Jules for task 10403014394791358286 started by @iwas108