From the course: Build No-Code AI Agents for Finance
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Trend and ratio prep (code)
From the course: Build No-Code AI Agents for Finance
Trend and ratio prep (code)
- When building workflows, it's important to use the right tool for the job for each step. We use AI in areas where it excels, and code or rule-based decisioning in areas where appropriate. Our aim here is to give the AI agents as much data as we can, without relying on them to transform the data or perform basic calculations. So we're gonna add two quick helpers for our downstream agents. The first one prepares simple trend signals. The next one will tag rows so that the ratios are accurate and the headers do not sneak into the calculations. So we're going to add a Code node, searching for Code here, JavaScript, and we're going to paste in our code. Notice when I added this, let me go back to the canvas, I clicked the plus button, and I didn't come off of one of the existing plus buttons here. So when I do that, our node is kind of floating in space out here. We wanna connect it to the actuals, not the budget,…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.