Skip to content

lin2025/gpt-3-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

gpt-3-web

简介

GPT-3 静态网页 仅一个html文件 打开即用 超级简单

基于GPT3.5(v4.28)代码修改

改英文的原因 lin2025/gpt3.5#1

GPT-3消耗快,建议还是用GPT3.5

在线体验 https://lin2025.gitee.io/gpt-3-web/https://lin2025.github.io/gpt-3-web/

默认模型:text-davinci-003

默认max_tokens: 500

支持的GPT-3模型: text-davinci-002 text-curie-001 text-babbage-001 text-ada-001 davinci curie babbage ada ...

换模型方法:代码中搜索"axios.post",修改'model'和'max_tokens'。验证 + 发送 ,共有两处需要修改。

功能 & 特点

请移步 GPT3.5ChatGPT)版:https://gitee.com/lin2025/gpt3.5/https://github.com/lin2025/gpt3.5/

🌐

A GPT-3 web page, it's a single HTML file.

GPT-3 (v5.1)

Modified based on GPT-3.5 v4.28(20230428) https://github.com/lin2025/gpt3.5/

Demo https://lin2025.github.io/gpt-3-web/

Default model: text-davinci-003

Default max_tokens: 500

GPT-3 models: text-davinci-002 text-curie-001 text-babbage-001 text-ada-001 davinci curie babbage ada ...

You can replace the model in the code with other GPT-3 models, Search for "axios.post" in the code, and then modify the 'model' and 'max_tokens' in the parameter.

About GPT-3 models

https://platform.openai.com/docs/models/gpt-3

https://platform.openai.com/docs/models/model-endpoint-compatibility

OpenAI API price

GPT-3 models vs GPT-3.5 models

  • $0.0200 / 1K tokens **** GPT-3 Davinci
  • $0.0020 / 1K tokens *** GPT-3 Curie
  • $0.0005 / 1K tokens ** GPT-3 Babbage
  • $0.0004 / 1K tokens * GPT-3 Ada
    vs
  • $0.0020 / 1K tokens ***** GPT-3.5

Releases

No releases published

Packages

No packages published

Languages