diff --git a/docs/api_refs/typedoc_plugins/hide_underscore_lc.js b/docs/api_refs/typedoc_plugins/hide_underscore_lc.js index 16919b9e7695..b53d191ce2c6 100644 --- a/docs/api_refs/typedoc_plugins/hide_underscore_lc.js +++ b/docs/api_refs/typedoc_plugins/hide_underscore_lc.js @@ -9,6 +9,28 @@ const { const fs = require("fs"); const path = require("path"); +const WHITELISTED_CHAT_MODEL_INHERITED_METHODS = [ + "invoke", + "stream", + "batch", + "streamLog", + "streamEvents", + "bind", + "bindTools", + "asTool", + "pipe", + "withConfig", + "withRetry", + "assign", + "getNumTokens", + "getGraph", + "pick", + "withFallbacks", + "withStructuredOutput", + "withListeners", + "transform", +]; + const PATH_TO_LANGCHAIN_PKG_JSON = "../../langchain/package.json"; const BASE_OUTPUT_DIR = "./public"; const SCRIPT_HTML = `