This file contains hidden or 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
/* --- Modern Dark Orange Theme for remark.js --- */ | |
/* --- Import Fonts (Optional - Requires internet connection) --- */ | |
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Montserrat:wght@700&display=swap'); | |
/* --- Base Styles --- */ | |
body { | |
font-family: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
background-color: #1e1e1e; /* Base background for outside slides */ | |
color: #f0f0f0; /* Default text color */ |
This file contains hidden or 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 { ChatGoogleGenerativeAI } from "@langchain/google-genai"; | |
import { HumanMessage, AIMessage, ToolMessage } from "@langchain/core/messages"; | |
import { tool } from "@langchain/core/tools"; | |
import { z } from "zod"; | |
let tools = []; | |
// this stores backwards references to the tool functions from their names | |
let toolsByName = {}; | |