PremEmbeddings class uses the Prem AI API to generate embeddings for a given text.
Setup
In order to use the Prem API you’ll need to sign up for a Prem account and create an API key. Then install the@langchain/community package:
npm
Usage
Related
- Embedding model conceptual guide
- Embedding model how-to guides
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

