LFM2-WebGPU / src /tools /index.ts
mlabonne's picture
Add demo source code (#1)
68185ce verified
raw
history blame
671 Bytes
import SPEAK_TOOL from "./speak.js?raw";
import GET_LOCATION_TOOL from "./get_location.js?raw";
import SLEEP_TOOL from "./sleep.js?raw";
import GET_TIME_TOOL from "./get_time.js?raw";
import RANDOM_NUMBER_TOOL from "./random_number.js?raw";
import MATH_EVAL_TOOL from "./math_eval.js?raw";
import TEMPLATE_TOOL from "./template.js?raw";
import OPEN_WEBPAGE_TOOL from "./open_webpage.js?raw";
export const DEFAULT_TOOLS = {
speak: SPEAK_TOOL,
get_location: GET_LOCATION_TOOL,
sleep: SLEEP_TOOL,
get_time: GET_TIME_TOOL,
random_number: RANDOM_NUMBER_TOOL,
math_eval: MATH_EVAL_TOOL,
open_webpage: OPEN_WEBPAGE_TOOL,
};
export const TEMPLATE = TEMPLATE_TOOL;