Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikaelvesavuori/chatgpt-api-demo
A basic template to get going using the ChatGPT API.
https://github.com/mikaelvesavuori/chatgpt-api-demo
architecture chatgpt chatgpt-api template
Last synced: about 1 month ago
JSON representation
A basic template to get going using the ChatGPT API.
- Host: GitHub
- URL: https://github.com/mikaelvesavuori/chatgpt-api-demo
- Owner: mikaelvesavuori
- Created: 2023-07-02T16:20:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-02T16:20:58.000Z (over 1 year ago)
- Last Synced: 2024-10-12T22:46:17.122Z (3 months ago)
- Topics: architecture, chatgpt, chatgpt-api, template
- Language: JavaScript
- Homepage:
- Size: 25.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ChatGPT API demo
A basic template to get going using the ChatGPT API.
This project comes with two prompts:
- One that asks to summarize a file's contents (several files provided).
- The second asks to make a PlantUML diagram and respond to a complex architectural question.The code is in the `src` folder. Adapt it as needed.
## Prerequisites
You'll need to [get an OpenAI key](https://help.openai.com/en/articles/4936850-where-do-i-find-my-secret-api-key) to use this.
## Installation
Install with `npm install`.
## Running the code
Run it with `npm start`.