https://github.com/przeprogramowani/ai-openai-api-examples
Experiments with OpenAI API, Svelte and TypeScript
https://github.com/przeprogramowani/ai-openai-api-examples
Last synced: 12 months ago
JSON representation
Experiments with OpenAI API, Svelte and TypeScript
- Host: GitHub
- URL: https://github.com/przeprogramowani/ai-openai-api-examples
- Owner: przeprogramowani
- Created: 2023-05-19T08:34:21.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-05-19T08:37:30.000Z (about 3 years ago)
- Last Synced: 2025-03-30T23:28:18.844Z (about 1 year ago)
- Language: Svelte
- Size: 1.02 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OpenAI API - Experiments

## What's inside
There are three examples that you can test on your own:
* Completion API (based on GPT-4 model)
* Image API (based on DALL-E model)
* Transcription API (based on Whisper model)
## Prerequisite
Create `openapi.json` file in root of the project with the following content:
```json
{
"openAiApiKey": "YOUR_API_KEY_HERE"
}
```
Enjoy!