How to use Gpt-4 (1106-preview) with Azure OpenAI Service in node.js

Su Myat, Hlaing 20 Reputation points
2024-01-05T06:19:20.3166667+00:00

Is there any articles about below, please? Development method of Gpt-4 (1106-preview) in azure OpenAI with node.js

-Code Interpreter

-Knowledge Retrieval

-Function Calling

-vision

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
2,210 questions
{count} votes

Accepted answer
  1. Pramod Valavala 20,591 Reputation points Microsoft Employee
    2024-01-05T13:56:11.1633333+00:00

    @Su Myat, Hlaing While I suppose you are referring to these features from a ChatGPT Assistants API perspective, you can still achieve the same using Azure OpenAI as well, except Code Interpreter which is something you will have to implement as your own custom service.

    • Knowledge Retrieval can be achieved by using OpenAI on your Data, which works by leveraging Azure Cognitive Search as a vector store
    • Function Calling is pretty similar for both where you define functions in JSON and the model internally returns the function that needs to be called using an internal prompt for you
    • For Vision Support, you will need to use the GPT-4 Turbo with Vision model instead, which is almost the same as the regular model except that it accepts an image_url type message that enables vision support.
    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful