Create a chat bot for my Cloudflare pages site.

I have a basic single page static website hosted in Cloudflare pages. I want to configure a "chat" box, where website visitors can simply ask questions about the services and work i offer. The chatbot should use openai. I have read https://developers.cloudflare.com/workers/tutorials/openai-function-calls-workers/, https://blog.cloudflare.com/magic-in-minutes-how-to-build-a-chatgpt-plugin-with-cloudflare-workers/ and https://blog.cloudflare.com/langchain-and-cloudflare/ but not 100% sure which is the right one for me.
2 Replies
Mackenly
Mackenly9mo ago
ChatGTP Plugin = A plugin for ChatGPT Function Calling = A pattern than GTP uses for requesting data from your application that you didn't originally provide LangChain = Answering questions about documents using LLMs Neither of those articles cover building chatbots. You *may * use function calling in advanced chatbots, but that's a complex use case. Something like this may be helpful: https://www.geeksforgeeks.org/how-to-build-a-chatbot-using-chatgpt/# But ultimately I'd suggest either using a SaaS that does this for you or hiring a developer. This isn't a simple thing to build.
GeeksforGeeks
How to build a chatbot using ChatGPT? - GeeksforGeeks
A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.
adrwh
adrwh9mo ago
Thank you. I think what I really need is the Langchain option using a web/url document loader (which would be a url to my own website). Then the website visitor can ask some additional questions about the website and get answers.