Skip to main content
Open In ColabOpen on GitHub

GreenNode

GreenNode is a global AI solutions provider and a NVIDIA Preferred Partner, delivering full-stack AI capabilities—from infrastructure to application—for enterprises across the US, MENA, and APAC regions. Operating on world-class infrastructure (LEED Gold, TIA‑942, Uptime Tier III), GreenNode empowers enterprises, startups, and researchers with a comprehensive suite of AI services:

  • Powerful AI Infrastructure: As one of the first hyperscale AI clusters in APAC, powered by NVIDIA H100 GPUs, GreenNode's infrastructure is optimized for high-throughput machine learning and deep learning workloads.
  • GreenNode AI Platform: Designed for technical teams, GreenNode’s self-service AI platform enables fast deployment of Jupyter notebook environments, preconfigured with optimized compute instances. From this portal, developers can launch ML training, fine-tuning, hyperparameter optimization, and inference workflows with minimal setup time. The platform includes access to 100+ curated open-source models and supports integrations with common MLOps tools and storage frameworks.
  • GreenNode Serverless AI: GreenNode Serverless AI features a library of pre-trained production-ready models across domains such as text gen, code gen, text to speech, speech to text, embedding and reranking models. This service is ideal for teams looking to prototype or deploy AI solutions without managing model infrastructure.
  • AI Applications: From intelligent data management and document processing (IDP) to smart video analytics—GreenNode supports real-world AI use cases at scale. Whether you're building your next LLM workflow, scaling AI research, or deploying enterprise-grade applications, GreenNode provides the tools and infrastructure to accelerate your journey.

Installation and Setup​

The GreenNode integration can be installed via pip:

%pip install -qU langchain-greennode
Note: you may need to restart the kernel to use updated packages.

API Key​

To use GreenNode Serverless AI, you'll need an API key which you can obtain from GreenNode Serverless AI. The API key can be passed as an initialization parameter api_key or set as the environment variable GREENNODE_API_KEY.

import getpass
import os

if not os.getenv("GREENNODE_API_KEY"):
os.environ["GREENNODE_API_KEY"] = getpass.getpass("Enter your GreenNode API key: ")

Chat models​

from langchain_greennode import ChatGreenNode

chat = ChatGreenNode(
model="deepseek-ai/DeepSeek-R1-Distill-Qwen-32B", # Choose from available models
temperature=0.6,
top_p=0.95,
)

Usage of the GreenNode Chat Model

Embedding models​

from langchain_greennode import GreenNodeEmbeddings

# Initialize embeddings
embeddings = GreenNodeEmbeddings(
model="BAAI/bge-m3" # Choose from available models
)

Usage of the GreenNode Embedding Model

Rerank​

from langchain_greennode import GreenNodeRerank

# Initialize reranker
rerank = GreenNodeRerank(
model="BAAI/bge-reranker-v2-m3", # Choose from available models
top_n=-1,
)

Usage of the GreenNode Rerank Model