Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 826 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 826 Bytes

GitHub Models Samples - JavaScript

This folder contains samples for interacting with GitHub Models using JavaScript.

Multiple model-specific SDKs are compatible with the endpoint served under the GitHub Models catalog, such as openai and mistralai packages for their respective models. This makes it easy to port your existing code using one of those SDKs.

You can also use the azure-ai-inference package for a cross-model unified SDK.

SDKs

Running a sample

To run a JavaScript sample, a command like the following in your terminal:

node samples/js/azure_ai_inference/multi_turn.js