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 servicesThis guide provides a guide to getting started with
GreenNodeEmbeddings
. It enables you to perform semantic document search using various built-in connectors or your own custom data sources by generating high-quality vector representations of text.
Provider | Package |
---|---|
GreenNode | langchain-greennode |
langchain-greennode
integration package.
api_key
parameter during initialization or set as the environment variable GREENNODE_API_KEY
. You can obtain an API key by registering for an account on GreenNode Serverless AI.
langchain-greennode
package:
GreenNodeEmbeddings
class can be instantiated with optional parameters for the API key and model name:
embeddings
object we initialized above. In this example, we will index and retrieve a sample document in the InMemoryVectorStore
.
GreenNodeEmbeddings
class can be used independently to generate text embeddings without the need for a vector store. This is useful for tasks such as similarity scoring, clustering, or custom processing pipelines.
embed_query
:
embed_documents
: