https://github.com/tinymce/openai-proxy-reference-implementation
https://github.com/tinymce/openai-proxy-reference-implementation
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tinymce/openai-proxy-reference-implementation
- Owner: tinymce
- License: mit
- Created: 2023-06-30T07:31:01.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-29T05:47:06.000Z (almost 2 years ago)
- Last Synced: 2024-11-15T09:11:44.502Z (about 1 year ago)
- Language: JavaScript
- Size: 244 KB
- Stars: 5
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.TXT
Awesome Lists containing this project
README
# Open AI Proxy Reference Implementation
## Running instructions
1. Install Docker and Docker Compose.
2. Export environment variable, `OPENAI_API_KEY`, containing a Chat GPT 3.5 API key.
3. Run `docker compose up --build`.
4. Open `http://localhost:3000/`.
5. Login with username and password; both initially set to `admin`.
6. Press the AI button on TinyMCE’s toolbar and enter a prompt like _Suggest an inspiring quote by an astronaut._.
7. Replace the editor content with the suggested quote and style it as desired.
8. Press the Save button on TinyMCE’s toolbar.
9. Press the Logout button.
10. Admire the new message of the day.
## Description of components
See [docs/docs.md](docs/docs.md).