Code Monkey home page Code Monkey logo

marcolivierbouch / openassistantgpt Goto Github PK

View Code? Open in Web Editor NEW
123.0 123.0 44.0 4.57 MB

An Open-Source Saas for Crafting/Building/Creating Chatbots with OpenAI's Assistant API that you can add to your website.

Home Page: https://openassistantgpt.io

License: GNU General Public License v3.0

TypeScript 78.25% CSS 15.08% JavaScript 1.37% Shell 0.04% HTML 0.16% MDX 5.10%
ai artificial-intelligence artificial-neural-networks assistant assistant-app assistant-chat-bots chat-application chatbot chatgpt chatgpt-api customgpt js openaai openai-api openai-assistant-api openai-assistant-api-chatbot support web

openassistantgpt's Introduction

Hi there ๐Ÿ‘‹, I'm Marc-Olivier

Languages and tools:

Projects:

Let's connect:

Click for GitHub Stats

GitHub Stats
Top Language

openassistantgpt's People

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

openassistantgpt's Issues

Can not add API KEY

Describe the bug
When typing our OPEN AI key, the save logo is stuck at loading

Expected behavior
Can expect a toast that it has been accepted

Screenshots
image

Desktop (please complete the following information):

  • OS: [Windows]
  • Browser [Brave]

Is ChatWindow.js script not working?

Describe the bug
When trying to use chatwindow.js, nothing appears on Next.js page

To Reproduce
Steps to reproduce the behavior:

  1. On a Nextjs page, load the the normal chatbot by following instructions and it works fine and loads the following below
return (
        <main className={styles.centerDiv}>
            <Script
                src="https://www.openassistantgpt.io/chatbot.js"
                strategy="afterInteractive"
            />
            <div
                className={styles.chatOverlay}
                id="openassistantgpt-chatbot"
            ></div>
        </main>
    )
drawing
  1. However, attempting to use ChatWindow.js results in nothing appearing
return (
        <main className={styles.centerDiv}>
            <Script
                src="https://www.openassistantgpt.io/chatwindow.js"
                strategy="afterInteractive"
            />
            <div
                className={styles.chatOverlay}
                id="openassistantgpt-chatbot"
            ></div>
        </main>
    )

Expected behavior
I expect a chatWindow widget similar to the OpenAssistant website
image

Screenshots
See above

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: Chrome, Firefox

Additional context
Currently using Next.js 14 App router and trying to add the widget in a client component page

Thanks in advanced!!

InvalidCharacterError

InvalidCharacterError: Failed to execute 'add' on 'DOMTokenList': The token provided ('rose-pine dark') contains HTML space characters, which are not valid in tokens.

Any idea why this is happening?

Is there any plan to switch to assistant v2?

Hi,

firstly I would like to thank you for such a great job. I am able to run this repo locally and make it interactive via the OpenAI api. Recently, OpenAI imports the v2 version for assistant and a separate vectorStore is imported. I would like to know is there any plan to switch the v2 version? or provides an option for user to enable v2 version in a new chatbot?

Thanks

User Inquiry chats aren't scrollable

Describe the bug
When viewing user inquiries, the chat history isn't scrollable.

To Reproduce
Steps to reproduce the behavior:

  1. Go 'here'
  2. Click on the ellipses for a chatbot
  3. Click "User Inquiries"
  4. Select an inquiry

Expected behavior
Ideally this would scroll so that I can view the entire chat history without it getting cut off.

Desktop (please complete the following information):

  • OS: MacOS
  • Browser: Arc
  • Version: 1.41.0

Hello, I want to know Can OpenAssistantGPT be independently deployed as our own service?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Auto Scroll on Chat Widget

Is your feature request related to a problem? Please describe.
We have the OpenAsssistantGPT in a production environment and it appears that when communication with the bot, the chat UI does not automatically scroll down to the most recent message.

Describe the solution you'd like
As the problem describes, I believe he solution would be to have that chatUI automatically scroll down to the most recent message in the chat.

Describe alternatives you've considered
I think an alternative option is that a web developer can edit the Chat Widget code to create this autoscroll feature

Tried to deploy

It worked on vercel, however I cannot make a bot even after scraping . Says no models available even after setting key in settings main config.

image

Config on Vercel

Hello,

I try to deploy on Vercel with default configuration but I have an issue during building. I try to override the command but it doesn't work. Can you share some details about how to deploy ? Thanks for the work !

Allow chats to be saved automatically

Having chats save automatically instead of only when the user submits an inquiry would allow me to improve the chatbot prompt more effectively.

Love this project. Hope to support development soon

Getting empty array in api/models api

Hi I just connected to this repo with my local postgres but the issues is in this api/model always getting [] array as response. But in the production mode https://www.openassistantgpt.io/dashboard/new/chatbot its giving the model name. Have you added those in DB by hand or this suppose to added when a user will add a gpt key?

Also I can see there is one api available to get all the models available associated with my gpt key but why its showing only the 2 model?

Hello, I want to know the OpenAssistantGPT When will support for mobile devices be available?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

instructions

hello, could you please just in short tell us instructions on what we need to do in order to fork it

  1. fork it
  2. create a env file with exactly what keys?
  3. npm install?

i cant get it to work i tried 10 times, the problem is that the models are not being fetched, the api key is being set because it works to upload files etc, but it doesnt work to fetch any models so i cant create any bot succesfully

Response Message

Apologies, this is more of a question and we are unsure if this response below we are receiving is coming from OpenAssistantGPT or from OpenAI:

For Context:
We had a lot of people test our bot at once and we are aware of the rate limits, however, everyone received this message during that rate limit freeze:

โ€œOops! An error has occurred. Please ensure that your OpenAI account is configured correctly with a valid credit card. If the issue persists, feel free to reach out to our support team for assistance. We're here to help!โ€

Thanks for any confirmation!

Error: Failed. `An error occurred. Please try again later.`

Describe the bug
A clear and concise description of what the bug is.
When I go to chatbot and start chatting, anything I ask it gives this reply An error occurred. Please try again later. I think it might be due the the waitForRun function in /api/chatbots/[chatbotId]/chat/route.ts is returning run status as failed.

But how can I fix it?

To Reproduce
Steps to reproduce the behavior:

  1. Go tohttps://www.openassistantgpt.io/dashboard/chatbots/
  2. Click on a Chatbot
  3. Start Chatting with it, ask any question
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.
Should return the response of the question asked

Screenshots
If applicable, add screenshots to help explain your problem.
image

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.