import { ... } from "langchain/hub/node";Infer modelProvider from the id namespace to avoid className collisions. For non-langchain packages, extracts the provider name from the namespace. e.g., ["langchain", "chat_models", "vertexai", "ChatVertexAI"] -> "google-vertexai" e.g., ["langchain_deepseek", "chat_models", "ChatDeepSeek"] -> "deepseek"
Pull a prompt from the hub.
Push a prompt to the hub. If the specified repo doesn't already exist, it will be created.