An open API service indexing awesome lists of open source software.

https://github.com/miyako/4d-class-openai

4D.HTTPRequest implementation to call an OpenAI API
https://github.com/miyako/4d-class-openai

4d-class

Last synced: 4 months ago
JSON representation

4D.HTTPRequest implementation to call an OpenAI API

Awesome Lists containing this project

README

          

![version](https://img.shields.io/badge/version-20%2B-E23089)
![platform](https://img.shields.io/static/v1?label=platform&message=mac-intel%20|%20mac-arm%20|%20win-64&color=blue)
[![license](https://img.shields.io/github/license/miyako/4d-class-openai)](LICENSE)
![downloads](https://img.shields.io/github/downloads/miyako/4d-class-openai/total)

# 4d-class-openai
`4D.HTTPRequest` implementation to call an OpenAI API.

![](https://github.com/miyako/4d-class-openai/assets/1725068/9dfb2304-2381-4abf-ac87-1c9b1f381018)

**Note**: place a file named `api.token` adjacent to the project's parent folder. this file should include your API key in plain text.

![](https://github.com/miyako/4d-class-openai/assets/1725068/8bbf529a-76af-4e0c-8c43-9d7e86c7a938)