Facebook Messenger Response Directly From Chat GPT
Status: Closed · Asked by Kisses on · 0 views
I'm having problems with the response of the bot. It only gives pre-made answers based on questions. I would like to utilize chatgpt assistant to give a response based on the question from facebook messenger.
It's as if you're on the chatgpt platform but on facebook messenger (page).
Hey @Kisses
When passing a prompt to the ChatGPT action step, it's crucial to provide clear context by including the user's message and any relevant preceding system messages. This allows ChatGPT to understand the ongoing conversation and generate more coherent responses. Additionally, concise and explicit instructions in the prompt guide the model's behavior.
Dynamically adjusting the prompt as the conversation progresses helps in maintaining context. However, it's important to be mindful of prompt length to avoid truncation.
youtube.com/watch?v=5y7Br0Lc0mc
Sample -

This is the same thing i did. But end up with pre-determined answers. I want what gpt assistant is saying to be the answer to the people who chat the page.
Is there a way to just have a conversation with the chatgpt assistant?
Is there a way to just have a conversation with the chatgpt assistant?
I am sorry to say but no that is not possible to create a live chatbot in such a fashion. But the provided video will work that way only with the help of the prompt you provide in the Chat GPT action step.
how about redirecting the response to replit or any similar platform|? how do you do it
how about redirecting the response to replit or any similar platform|? how do you do it
You can try considering using Google Sheets to store information about threads and users. This way, you can easily process this data using other action steps available in OpenAI. If you're unsure about how to do this, you can watch our video lesson. In the video, we demonstrate using the WhatsApp Cloud API, but you can apply similar techniques for Facebook Messenger.