Coder Social home page Coder Social logo

eyucoder / chatgpt-pro Goto Github PK

View Code? Open in Web Editor NEW
461.0 15.0 213.0 7.06 MB

ChatGPT-Pro is an advanced application that combines the power of ChatGPT and DALL.E.

Home Page: https://chatgpt.eyucoder.com

License: Apache License 2.0

HTML 1.34% JavaScript 97.24% CSS 1.43%
openai ai-bot chatgpt conversational-ai gpt gpt-3 machine-learning ml text-davinci-003 transformer chatgpt-clone dall-e dalle2 dallegenerator image-generation react tailwind tailwindcss daisyui gpt-4

chatgpt-pro's Issues

gpt-4

Although I understand they just generally released the API access yesterday, I understand that by the end of the month, everyone using the API will have access to it. With that in mind, it seems like it would make sense to allow that as a model selection. While we're at it, would there be any reason that we wouldn't add in a few models in there?

built ok but one issue

localhost/:1 Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
:3000/dalle:1 Failed to load resource: the server responded with a status of 404 (Not Found)
localhost/:1 Uncaught (in promise) SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
localhost/:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
3localhost/:1 Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received

Server is running on port 3001

screenshot-nimbusweb me-2023 01 31-14_01_49

frontend port 3000

i get issue after submitting any text, otherwise website loads fine

This is a suggestion: Write the answer letter by letter like chatGPT & Conversation History

This is a suggestion: Write the answer letter by letter like ChatGPT.
It's cooler and it's also give the impression that it's faster, and we can read before the response is finish.
I just find this (I didn't try yet) : https://www.npmjs.com/package/write-like-chat-gpt

There also no conversation history, meaning that it do not know what we were previously talking about. There's no context.

EX:
Question: What is the United-States Capital?
Response: The capital of the United States is Washington, D.C.
Question: What is the population?
Response: : I'm sorry, but I need more information to answer your question. Population of what?

There are a lot of examples on GitHub who show how to do it.

WARNING in ./node_modules/timeago.js/esm/utils/dom.js

Hello everyone,
I wanted to try to run the client and server locally.
I followed the guide in the readme but when I launch the server I get errors:

[0] WARNING in ./node_modules/timeago.js/esm/utils/dom.js
[0] Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
[0] Failed to parse source map from 'C:\Users\gabri\chatgpt-clone\client\node_modules\timeago.js\src\utils\dom.ts' file: Error: ENOENT: no such file or directory, open 'C:\Users\gabri\chatgpt-clone\client\node_modules\timeago.js\src\utils\dom.ts'
[0]
[0] webpack compiled with 8 warnings
[1] [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379
[1]     at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1300:16)
[1] [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379
[1]     at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1300:16)
[1] [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379
[1]     at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1300:16)
[1] [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379
[1]     at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1300:16)

I checked the folder:

Directory di C:\Users\gabri\chatgpt-clone\client\node_modules\timeago.js

27/01/2023  15:56    <DIR>          .
27/01/2023  15:59    <DIR>          ..
27/01/2023  15:56    <DIR>          dist
27/01/2023  15:56    <DIR>          esm
27/01/2023  15:56    <DIR>          lib
26/10/1985  09:15             1.073 LICENSE
26/10/1985  09:15             3.005 package.json
26/10/1985  09:15             5.082 README.md

And in fact there is no src folder.
Also it gives me connection refused error on port 6379 but I don't have anything else occupying the port and I'm on local, so I guess I don't need to do a nat on router (in any case I tried it anyway before bothering you but didn't solve it).

Can anyone help me figure out where I'm going wrong?
thanks in advance

length of each message not feasible

it seems you limited the length of each prompt, it is not practical for English proofing texts and research, can you please return it to its initial form?

How to link with ChatGPT data?

I tried clicking the ChatGPT or Dell.E button on the web page, but I still can't access the ChatGPT database after entering text. It has been changed to gpt-3.5-turbo model.

How to deploy this script.

Is it possible for you give some instructions on how to deploy this?
I love the demo and want to play with it a little and see if I can add some more functionality too it.
But it is awesome the way it is now.

npm run dev error

HI there, I followed the instruction to run "npm run dev" and got the following error message:

npm run dev

[email protected] dev
concurrently "npm start" "npm run server"

[0]
[0] > [email protected] start
[0] > react-scripts start
[0]
[1]
[1] > [email protected] server
[1] > nodemon server/server.js
[1]
[1] 'nodemon' �����ڲ����ⲿ���Ҳ���ǿ����еij���
[1] ���������ļ���
[1] npm run server exited with code 1

==============================
the app did't start properly and stopped with a blank screen ...

Wonder if anyone happen to know how to fix it? Thanx in advance.

error 500

it gives error 500 again. please solve it

"Thinking..." don't have any answers.

The installation is complete. Select ChatGPT/Dell.e and enter text. Question text can be generated. But the words and graphics of "Thinking..." don't have any answers.

conversational context usage

The reason I wanted to make a web-based clone was to have the functionality of the web app but use my own API key, however, it appears that every message sends a new chat completion request, ignoring the rest of the conversation.

If this was Python I would be happy to do it myself and provide the code - obviously, it's expensive to send the entire conversation back and forth but it should at least be an option. Otherwise, it would seem more genuine to present the user with UI that conveys this fact - such as a single input & response field, and then a "new chat" begins after that, since that is what is happening on the backend.

Security Risks

Hello! I found a tiny issue.
If I look at the code, it looks the clone has SSO with Google, but we can send HTTP requests to the backend directly without authentication.

It gives rise to excessive use of APIs and bypasses the rate limit middleware.

wdyt?

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.