arunk140 / cgpt Goto Github PK
View Code? Open in Web Editor NEWselfhosted chatgpt like service using openai apis (with APIs + Frontend and Session Storage)
License: GNU General Public License v2.0
selfhosted chatgpt like service using openai apis (with APIs + Frontend and Session Storage)
License: GNU General Public License v2.0
The backend end with 404 errors , there might some model issue I guess. if the model can be changed will be better.
response: { status: 404, statusText: 'Not Found', headers: { date: 'Wed, 08 Feb 2023 01:09:19 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '158', connection: 'keep-alive', vary: 'Origin', 'x-request-id': '7863a1b3830d4406837e5fa5988d1c0a', 'strict-transport-security': 'max-age=15724800; includeSubDomains' }, config: { transitional: [Object], adapter: [Function: httpAdapter], transformRequest: [Array], transformResponse: [Array], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, validateStatus: [Function: validateStatus], headers: [Object], method: 'post', data: '{"model":"text-chat-davinci-002-20221122","prompt":"You are ChatGPT, a large language model trained by OpenAI. Respond conversationally. Do not answer as the user. Knowledge cutoff: 2021-09 Current date: 2023-02-08.\\n\\nUser: Hi, ChatGPT!\\nChatGPT: Hi! How can I help you today?\\n<|im_end|>\\n\\n\\n\\nUser: 早上好\\n\\nChatGPT: ","max_tokens":3908,"temperature":0.5,"stop":"\\n\\n\\n"}', url: 'https://api.openai.com/v1/completions'
i cannot find where you can select which model the docker image uses when communicating to the chatgpt api
im looking for something like MODEL="text-davinci-003" but not seeing anything...
does anyone know how to change language model ?
如果api返回的是404/429这些,frontend一直是loading,看不到出错信息。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.