Use this file to discover all available pages before exploring further.
Portkey provides a robust and secure gateway to facilitate the integration of various Large Language Models (LLMs) into your applications, including the models hosted on Nscale.
To use Nscale with Virtual Key, get your API key from here. Then add it to Portkey to create the virtual key.
NodeJS SDK
Python SDK
import Portkey from 'portkey-ai'const portkey = new Portkey({ apiKey: "PORTKEY_API_KEY", // defaults to process.env["PORTKEY_API_KEY"] provider:"@PROVIDER" // Your Nscale Virtual Key})
from portkey_ai import Portkeyportkey = Portkey( api_key="PORTKEY_API_KEY", # Replace with your Portkey API key provider="@NSCALE_PROVIDER")