Skip to content

d16sekine/azure-openai-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

azure-openai-box

This is a sample code for Azure Open AI API written in TypeScript.

demo

🚀Feature

  • use Terminal as UI
  • support conversation history

⚙️Requirements

💻Setup

  • clone this repository.
git clone https://github.com/d16sekine/azure-openai-box.git
  • install the libraries
yarn install
  • set the environmental variables in .env
cp .env_example .env

environmental variables

name description
AZURE_OPENAI_API_URL Azure OpenAI's API URL
AZURE_OPENAI_API_KEY Azure OpenAI's API key

🧑‍💻Usage

  • execute the following command.
yarn dev
  • enter your question into the terminal and the answer will be returned to you.

📘Note

  • Conversation history will be deleted upon completion of processing.

💡License

This project is licensed under the terms of the MIT license.

About

Sample code for Azure Open AI API written in TypeScript. It runs in the terminal.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published