https://github.com/cr4yfish/openai-test
One-Way translations with automatic source language detection.
https://github.com/cr4yfish/openai-test
gpt-3 javascript nextjs openai react
Last synced: 6 months ago
JSON representation
One-Way translations with automatic source language detection.
- Host: GitHub
- URL: https://github.com/cr4yfish/openai-test
- Owner: cr4yfish
- Created: 2022-09-10T00:47:49.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-18T01:24:59.000Z (over 2 years ago)
- Last Synced: 2025-02-02T18:19:13.487Z (8 months ago)
- Topics: gpt-3, javascript, nextjs, openai, react
- Language: TypeScript
- Homepage: https://gpt-chat-omega.vercel.app
- Size: 239 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# This is a test implementation of the OpenAI API
It's possible to translate a sentence to a different language while choosing which model to use.
## Getting started
1. Make a new folder constants/
2. Make a new file api_key.js
3. Enter your OpenAPI Api key in following manner:```js
const apiKey = "YOUR_API_KEY";
const organization = "YOUR_ORG_ID";const _apiKey = apiKey;
const _organization = organization;export { _apiKey as apiKey, _organization as organization};
```4. Start
```sh
npm run start
```