import { ... } from "@langchain/core/utils/context";A tagged template function for creating formatted strings.
This utility provides a clean, template literal-based API for string formatting that can be used for prompts, descriptions, and other text formatting needs.
It automatically handles whitespace normalization and indentation, making it ideal for multi-line strings in code.
When using this utility, it will:
\\n (newline), \\`` (backtick), \$(dollar),{` (brace)