Code Monkey home page Code Monkey logo

chatgptapi's Introduction

说明

1 封装了chatgptapi

2 模型用的最新的 gpt-3.5-turbo。

3 免费接口2:

4 免费接口1:

5 合作接口:无限制

6 可以用在群机器人等场景中

UI 使用地址:

https://chatai.taigoodai.com/

交流:

有合作和想法的伙伴可以加微信一起探讨

接口使用方法:

免费接口2:

此接口直接可调用

curl -X POST "http://chatgpt.taigoodai.com:9028/api/chatgpt/free/call/free2" -H "accept: */*" -H "Content-Type: application/json" -d "{ \"chatgptRequest\": { \"messages\": [ { \"content\": \"你好\", \"role\": \"user\" } ], \"model\": \"gpt-3.5-turbo\" }}"


免费接口1:

注意,此接口要替换apiKey为你自己的Key

curl -X POST "http://chatgpt.taigoodai.com:9028/api/chatgpt/free/call/free1?apiKey=sk-4kxxxxxxx" -H "accept: */*" -H "Content-Type: application/json" -d "{ \"chatgptRequest\": { \"messages\": [ { \"content\": \"帮我写首古诗\", \"role\": \"user\" } ], \"model\": \"gpt-3.5-turbo\" }}"

结果如下图:

chatgptapi's People

Contributors

peintune avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.