Newbie Trying to Develop a Chat Application for an Organization (With JSON and PDF support)

Hello Community.

I am quite very very new to the ChatGPT as a tool to be used in any program. And here is how I stand -

I recently joined an organization as a programmer (WordPress, PHP). After a month, after the site was ready for deployment, I was asked to assist our programmer who would have developed a ChatBot kind of thing for our organization using ChatGPT and ReactJS. Unfortunately, the programmer met with an accident and has been advised complete rest for two months (owing to a fracture).

Now, my organization has asked me to work on this. As I am not yet aware of ReactJS, I have been given the go-ahead to create a page (for now) using PHP. (this was decided once we confirmed from ChatGPT if it was possible to do the same using PHP). I understand it might be a longer wait time to get a response back unlike if we were using ReactJS, but the seniors seem to be okay with it for now.

Sadly, I have no clue on what and where and how of things here. Here is what I have been asked to come up with -

  1. Create a Page on PHP (later maybe with Python or ReactJS) wherein we would allow the visitor to ask questions
  2. The replies need to come from ChatGPT wherein, the AI would use our provided JSONs and PDFs to generate the replies (in other words, the ChatGPT needs to reply to our customers/visitors using our Office Data).

From what I have read and figured out, I guess, we would need to opt in for some GPT. I would be required to use the API as well.

But I am not sure how to approach. The API part for instance - which one would be good to start off with. Right now, the site is on localhost and not on any server. We would be processing text only (for now) and the text might have URLs occasionally.

I joined the forum a moment ago just with hopes that some of the esteemed and experienced community members might have the time to help me figure out a plan of action which would work out.

For now, all I need is to test and show the Employers that this is achievable (so the test data would be quite small. Once they are okay, we might consider higher investments.

Awaiting any guidelines or suggestions.

Cheers,
Kevin.

Hi Kevin,

welcome to the forums.

I don’t understand what you mean by that. Why would it take longer with PHP? Do you think everything written in PHP must be as slow as the stuff you usually write?

And I mean you want to build a Chat - which means you will need some kind of frontend implementation.

Why don’t you try it with react?

Thanks for the response.

Blockquote
Do you think everything written in PHP must be as slow as the stuff you usually write?

Well, the webserver on which we have been running our PHP website seems to be slower and that is why I had mentioned this. This is slower because of our queries that we have been running via PHP codes. Nothing in general. Another reason I mentioned the slower thing is because I believed that it will take a while to reply back. However, this doubt has now been cleared as I have started reading more about chatGPT.

Blockquote
Why don’t you try it with react?

As I mentioned on my post, the programmer was to do it with React but as I am not versed with it, my seniors asked me to attempt it via PHP for now (that way, they would be able to see if it is doable, and so probably when the coder returns, we can do it on React).

Our site is currently not on WordPress, I am trying to get it on WordPress but it wont be happening before December (that is the time frame that I have been given). it could have been earlier if the chatGPT thing might not have cropped up.