Forum Discussion
Example: AI Chatbot with source files
Not sure this has been shared here, but this was in LinkedIn by NRZ Malik and I thought I'd share the link here.
- Source file: https://lnkd.in/dxHBKupi
- Code Pastebin: https://lnkd.in/dzE23Sv3
- Preview link: https://lnkd.in/dWf6aDqw
If you have questions, you'll need to engage with him via the LinkedIn link above.
- Alokkukreja-e74Community Member
kindly share with me source file. i am new learner. i want to learn new awesome work. it's really great you help me out, kindly share source file.
Thank you...
- Jürgen_Schoene_Community Member
this is a very nice working "proof of concept"
BUT: never use this or similar simple javascript solutions on a normal LMS server
for every request to chatGPT a "secret" api-key is sent along (comparable to a credit card number)
this key can be extracted without special programs (this is possible with any normal browser with 4 simple clicks)
every request costs money und you have to pay for every request - no matter where they come from
for real solutions you need an additional server
LMS -> special server with the api-key -> Chat GPT -> special server - > LMS
- Alokkukreja-e74Community Member
Thank you so much. received your mail.
- Alokkukreja-e74Community Member
it's not working
Any questions you have about this example, you'll need to direct to NRZ Malik via LinkedIn. There's a link to his profile in the original post.