Giter Club home page Giter Club logo

chatgpt's Introduction

Chatgpt on Vercel

vercel-chatgpt

Easily chatgpt api as a service. Deploy with Vercel

Usage

curl https://${your_vercel_chatgpt}.vercel.app/api?ask=${your_ask}

Example

Input

curl https://vercel-chatgpt.vercel.app/api?ask=什么是Java

Output

{
  "status": 200,
  "success": true,
  "message": "ok",
  "data": "Java 是一种广泛使用的编程语言,它可以用于开发各种各样的应用程序,包括移动应用、企业级应用和 Web 应用程序。Java 是一种面向对象的语言,它拥有丰富的类库和工具,可以帮助开发人员更快速地开发应用程序。Java 是跨平台的,这意味着可以在多种操作系统上运行,包括 Windows、macOS 和 Linux 等。Java 程序通常使用一个独立的 Java 虚拟机来执行,这样就可以保证程序在不同平台上的一致性"
}

Deploy your own instance

Deploy with Vercel

Vercel ENV:

SESSION_TOKEN=${your_session_token}

License

MIT

chatgpt's People

Contributors

myprogramsfortt avatar

Watchers

 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.