Code Monkey home page Code Monkey logo

faustonisida / chatbot-long-short-term-memory Goto Github PK

View Code? Open in Web Editor NEW
160.0 7.0 36.0 240 KB

GPT-3 Chatbot with Long and Short Term Memory and advanced logic built in javascript with openai API - short and long memory, KYC, embeddings, openai, database, flexible, gpt-3.5-turbo, react

HTML 1.64% JavaScript 82.97% CSS 15.39%
databases embeddings javascript openai openai-api ai artificial-intelligence chatbot long-short-term-memory memory

chatbot-long-short-term-memory's People

Contributors

faustonisida avatar shadowdoggie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

chatbot-long-short-term-memory's Issues

Login

Hello, I entered the address http://localhost:5173/ in Google OAuth, but when I try to log in, a blank white window appears and that's it.

Memory / Database

Hey! First of all, amazing work on this chatbot. Very impressive and easy to use and customize.

I am probably doing something wrong in the setup but in my experience, the chatbot isn't remembering anything. It doesn't retain the context of the conversation and asks for information that i already provided.

When i check the db.json file, the only information there is my login info.

Could you please point me in the right direction here? Thank you!

Google Auth Issue

For some reason the auth tab when attempting to login is completely blank. (i added the website to the google servers as well as provided the correct ID)
The error message in chrome is "[GSI LOGGER] The given clientID is not found"
Do you know what the issue could be?

Reroll

Is there a way to add a message reroll function after it has been sent by the bot? Or edit function?

Use without Google Oauth

I wanted to test the code without Google services.
My API key is correct.

   if(!user) {
      return alert('To initiate a conversation with the bot, please log in first.');
    }

So I removed this code is this okay?

The gpt request fails

When I start the server and client everything works fine. I log in to the account successfully and as soon as I send the first message to chat, the server crashes. This is what it looks like in the console:
npm run server

[email protected] server
node index.js

Example app ready
node:internal/process/promises:289
triggerUncaughtException(err, true /* fromPromise */);
^

[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "function Error() { [native code] }".] {
code: 'ERR_UNHANDLED_REJECTION'
}

Node.js v19.1.0

After the 'Example app ready' line you can see the error that throws after i press 'Enter' in the chat page with message 'hi'

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.