A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://python.langchain.com/docs/integrations/providers/greennode/ below:

GreenNode | 🦜️🔗 LangChain

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:

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",
temperature=0.6,
top_p=0.95,
)

Usage of the GreenNode Chat Model

Embedding models​
from langchain_greennode import GreenNodeEmbeddings


embeddings = GreenNodeEmbeddings(
model="BAAI/bge-m3"
)

Usage of the GreenNode Embedding Model

Rerank​
from langchain_greennode import GreenNodeRerank


rerank = GreenNodeRerank(
model="BAAI/bge-reranker-v2-m3",
top_n=-1,
)

Usage of the GreenNode Rerank Model


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4