Provider Slug:
github
Portkey SDK Integration with Github Models
Portkey provides a consistent API to interact with models from various providers. To integrate Github Models with Portkey:1. Install the Portkey SDK
- NodeJS
- Python
2. Initialize Portkey with Github Models
To use Github with Portkey, get your API key from here, then add it to Portkey to create the virtual key.- NodeJS SDK
- Python SDK
3. Invoke Chat Completions
- NodeJS SDK
- Python SDK
Supported Models
Portkey supports all the models (bothChat/completion
and Embeddings
capabilities) on the Github Models marketplace.