Skip to content

BetterZ3/ChatGPTClone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

ChatGPTClone

环境

vs code

python3

flask

openai API Key申请地址

https://platform.openai.com/docs/quickstart

ChatGPT指令

  1. code for python flask server with "/prompt" route with POST method and take

string. use openai api and send string as prompt and return response

  1. create "/" default route with GET method and return index.html

  2. code for index.html file with bootstrap. display input field and submit button. on click submit button, check if input is not empty then send POST request to "/prompt" with text from input field as string and display the response.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published