Azure Functions OpenAI sample

Installation

To install the project, run the following command:

npm install

Usage

To use the project, run the following command:

npm start

Configuration

The project requires the following environment variables to be set:

  • OPENAI_API_KEY: Your OpenAI API key.
  • OPENAI_ENDPOINT: The endpoint for the OpenAI API.