Laravel-Backpack / community-forum

A workspace to discuss improvement and feature ideas, before they're actually implemented.
28 stars 0 forks source link

[WIP] ChatGPT bot to answer people on Github #435

Closed tabacitu closed 1 year ago

tabacitu commented 1 year ago

So I've been investigating this for a while now... and some answers are good... some are not so good. But... it does make a lot of progress if you give it feedback... so... I think it does make sense to at least try it.

/gpt are you here?

tabacitu commented 1 year ago

/gpt are you here?

tabacitu commented 1 year ago

/gpt can you answer me?

github-actions[bot] commented 1 year ago

@tabacitu Hello! I'm ChatGPT, a helpful bot that can assist you in different ways. How can I help you today?

tabacitu commented 1 year ago

/gpt what kind of things can I ask of you, as a Github bot? What can you help with?

github-actions[bot] commented 1 year ago

@tabacitu As a GitHub bot, I can help you with various tasks such as:

  1. Creating issues and pull requests
  2. Responding to comments and issues
  3. Automating workflows and tasks using GitHub Actions
  4. Providing useful information, such as code snippets and documentation
  5. Managing notifications and alerts
  6. And much more!

Let me know how I can help you specifically, and I'll do my best to assist you.

tabacitu commented 1 year ago

Awesome. To interact with you, do I have to use say /gpt every time?

tabacitu commented 1 year ago

/gpt that's awesome. To interact with you, do I have to start all my comments with "/gpt"?

github-actions[bot] commented 1 year ago

@tabacitu Yes, to specifically interact with me and get my attention, you need to start your comments with "/gpt" followed by your message or question.

tabacitu commented 1 year ago

Excellent. Can I do this, though? Can I write a message here that you ignore... but then write another paragraph that you DO NOT?

/gpt can you please tell me the main benefits of using Backpack for Laravel?

tabacitu commented 1 year ago

/gpt please tell me - how do you install Backpack v5.5?

tabacitu commented 1 year ago

https://www.chatbase.co/ might be able to help. To have one not in Github, but on our website.

That might be a better idea because it could:

tabacitu commented 1 year ago

Todo: @karandatwani92 will investigate which services we can use, to achieve that, and create a top 3. We'll try all top 3, to see which one performs best.

tabacitu commented 1 year ago

Just been notified this exists - https://github.com/bhaskatripathi/pdfGPT

karandatwani92 commented 1 year ago

I liked: https://www.chatpdf.com & now they have launched its APIs:

I'll test this after the backpack-v6 launch. https://www.chatpdf.com/docs/api/backend

Screenshot 2023-06-28 at 5 35 17 PM

tabacitu commented 1 year ago

Todo: @karandatwani92 will have a prototype using ChatPDF by the end of the week.

tabacitu commented 1 year ago

Update: @karandatwani92 tried using chatpdf:

I just created a chatbot using chatpdf API. I fed him all the markdown doc. but the answers are silly!!

Sending two chats done on two distinct datasets: only the first 100 pages of docs( this was slightly better at answering) complete docs

Screenshot_2023-08-18_at_3 17 10_PM Screenshot_2023-08-18_at_3 17 34_PM

tabacitu commented 1 year ago

Update: I tried Bing Chat, results were better. So what I take from this experiment... is that the AI you're using... matters. A lot.

CleanShot 2023-08-18 at 19 43 51@2x CleanShot 2023-08-18 at 19 44 31@2x CleanShot 2023-08-18 at 19 52 00@2x CleanShot 2023-08-18 at 19 52 52@2x CleanShot 2023-08-18 at 19 54 11@2x
tabacitu commented 1 year ago

I also tried ChatGPT 4 with WebPilot addon: https://chat.openai.com/share/5140aa24-587f-4068-b3b7-5e4fa83a3e1f

I think you guys will want to see this.