Hi,

We are interested in modifying an existing opensource chatgpt clone from https://github.com/ansonbenny/ChatGPT to better suit our needs.

You need to be at least on a upper intermediate level in the tech involved, and then a few more things like MySQL.

We need your full availability for this project and the goal is to get the modifications we need done asap, so we require experience with this stack.

The project is hosted on
https://github.com/ansonbenny/ChatGPT

The modifications we require are:

a) Abstract the user login to an API call via OAuth 2.0.

We are developing a database for our users with PHP and MySQL and our own login system for a larger portal. The system will setup a cookie in the user browser with a session id, and then automatically login users on different parts of the site.

When chatgpt is hosted on the same domain, we would like to use that cookie to automatically login the user.

When it’s hosted on another site, users will be allowed to login by sending an OAuth 2.0 request to our system. It will work similar to a regular SSO with Google.

No registrations are allowed via ChatGPT or user information in the GPT database. We can store temporary anonymous information though, but we can discuss that.

Only login is allowed, either with the cookie or OAuth 2.0.

It will be great if you also have experience in implementing OAuth 2.0 implementation and SSO (Google, Facebook, X, and Orcid) in both PHP and Node. We haven’t yet implemented the OAuth 2.0 system, and we are a bit busy at the moment to do so, so it would help if you know how to do it.

b) Implement database searches and prompt restrictions.

The purpose of the chatbot is exclusively to provide information about our database. It’s a large-ish database of over 4M documents and 6.4M entitles. We already have an api for this that accept keywords and returns a list of relevant content.

We can customize the prompt ourselves, or you can do that if you have experience with prompt engineering.

The goal is to accept greetings, and then refuse to provide any other information that is not found on the database. This means, when a user sends a message, it first needs to detect the intent (what are they trying to find) and question the user if clarification is necessary.

One the bot knows what the user is looking for, be it an entity (people, organizations) or documents, it will send a backend request to our API with a list of relevant keywords or names, and then reply with the list of results.

In case the intent is to research on documents, a summary of the returned documents might be provided, as well as an analysis, but for now this is of lower priority.

c) Design

While the layout is intended to stay largely similar to chatgpt, we need to white label it. That means, we need a way to customize logos (via a settings api call for example), titles, prompt, model, params, etc.

Some color changes or minor design things might be required, but overall the idea is the same as gpt, just more specialized.

Some other relevant requirements:

We need immediate availability and commitment to complete the modifications.

You need to be familiar on how to setup and run Node and the full stack on Ubuntu. This should be done by setting up a subdomain via cloudpanel (cloudpanel.io). We will provide the server with cloudpanel installed and the subdomain. You just need to ensure all requirements are installed and provide us a detailed list of commands to replicate the setup.

Other experience:

This is not a requirement, but we want to ask you what is your experience in implementing admin themes from theme forest with bootstrap 5 and JavaScript, including backend services via api calls and ajax requests.

Also if you have any experience with websockets and are capable of developing a a chat room for users (can be in react for example).

We use apidog for documentation and api testing. Some things are still under construction though, and more will be added on demand.

While these things are not required for this project, we have upcoming projects where these skills are relevant, so we are asking.

Thanks

Hourly Range: $10.00-$50.00

Posted On: July 28, 2024 14:22 UTC
Category: Full Stack Development
Skills:Redux, Web Application, AI Bot, MySQL, Node.js, React, MongoDB, PHP, JavaScript, API

Country: South Africa

click to apply

Powered by WPeMatico