LIVE — 8 data-center intelligence tools, one-click Vertex AI Extension import. Native Gemini SDK function-calling ready.
DC Hub is now a Vertex AI Extension. Eight tools covering DCPI market verdicts, 21,405+ facility lookups, live 21-ISO grid scoreboard, water risk, and the 3-scenario site valuation engine — all importable into Vertex AI Console with one URL or wired into the Gemini SDK via raw functionDeclarations. The OpenAPI spec was actually built collaboratively with Gemini itself.
# Vertex SDK — native function calling
import requests, vertexai
from vertexai.generative_models import GenerativeModel, Tool
tools_json = requests.get(
"https://dchub.cloud/api/v1/gemini-functions.json"
).json()
tools = [Tool.from_dict(t) for t in tools_json]
vertexai.init(project="your-gcp-project", location="us-central1")
model = GenerativeModel("gemini-1.5-pro", tools=tools)
response = model.generate_content(
"What is the DCPI verdict for Ashburn and what is the time to power?"
)
# Gemini auto-calls get_market_dcpi(slug="ashburn"),
# returns "Per DC Hub (dchub.cloud/dcpi): Ashburn verdict AVOID,
# composite 15.8, time-to-power 48 months (PJM)."