Hey guys, recently I’ve been using either flowGPT, Candy ai, for its chat bots. Recently, a friend of mine also recommended using charfriend.ai and so I tested it out.
Whatever AI it was using for its chats was superb and have spicy chat mode. The dialogues was complete, not too long & not too short either. It seemed pretty solid.
But I’m kind of curious about its VIP . Is it safe? Charfriend.ai is recent? but its character have invoice system be trusted?
What’s a good AI live chat tool that can be easily set up and deployed without spending hours prompting or tweaking canned responses? We tried Intercom for a while but didn’t have much luck (fugazi support). Any tips on affordable HIPAA-compliant options for an online pharmacy?
Hello!! I’m looking for help to understand if I require an engineer/s (Upwork/Fiverr) to build a solution from scratch, or if there’s a solution I can buy / subscribe to that can help me accomplish my goal:
My goal is to develop a ChatGPT-powered bot that provides responses to customers asking for help with specific issues. The bot should be accessible via multiple messaging platforms including Facebook Messenger, WhatsApp, iMessage & a webUI on my website. The responses the bot provides should come from either the internet or custom-built knowledge bases that can be easily updated by a non-technical person on my team.
Design, develop, and deploy a ChatGPT-powered bot. (front-end and back-end)
Integrate the bot with Facebook Messenger, WhatsApp, iMessage & my website for seamless user interactions.
Create custom knowledge bases that can be easily updated to ensure accurate and current responses.
Build features that allow the bot to pull responses from the internet or custom knowledge bases.
Conduct thorough testing to guarantee the bot’s reliability and accuracy.
Provide documentation and support for maintaining and updating the bot.
Hi everyone! I’ve been using ChatGPT for most of my programming work and it’s been pretty hard to work with as of late. It feels like it takes up too much RAM that it lags my entire computer even with just browser and vscode on lol (16gb ram on mac)
That said, I’m looking for alternative solutions or similar services are there any?
If there is none I might make one myself because this is getting tedious to work with even with premium. Is anyone interested in this kind of service? A chatbot service with a stronger code-first framework on different languages (NextJS, Typescript, Python)
Hi all, I built a voice enabled chat app that has different assistants / companions. I think the core functionality of the app is great, I originally built it for my own convenience but it has sort of grown from there. I need some advice on how to re-design the chat interface and I’m not sure whether to go with a FB / Whatsapp bubble style or more of a straightforward Box ala chatGPT. Any advice or feedback you can offer would be amazing. The website is exofi.app
Hello all – I am looking for a chatbot to use on our careers page so that it can suggest suitable jobs to candidates. I’ve seen some of the popular ones and was am not super pleased. They felt too basic. 1. Could you recommend a Chatbot product that does it? 2. Could you share any careers page that has it so that I can see how good it is?
Once your webhook service receives a webhook request, it needs to send a webhook response. The following limitations apply to your response:
The response must occur within a timeout (max 30 seconds) that you configure when creating the webhook resources, otherwise, the request will time out.
The response must be less than or equal to 64 KiB in size.
In this, we increase the session timeout above 30 seconds to avoid the error of webhook timeout.
Why are we required to increase Session Timeout?
When requesting data from an API or retrieving information from databases or AI models like ChatGPT, Claude, Gemini, or LLaMA, there may be delays exceeding the maximum timeout limit of 30 seconds. To prevent encountering a webhook timeout error, extending the session timeout duration is necessary.
How to Increase the Session Timeout?
Here’s a step-by-step guide:
1. Dialogflow Setup
Sign in to the Dialogflow CX console and create a new agent. Give the Agent name as you like. You will find the below screen for the new agent:
Now navigate to ‘Start Page’. Click on the ‘Default Welcome Intent’ and add a new page of a name you like we have used ‘page_1’. Click on Save after adding a new page.
Navigate to ‘page_1’. Click on the Routes to add a new route and create a new intent ‘intent_1’.
In ‘intent_1’, add Training Phrases like ‘I want to increase the webhook’ and Save the intent.
In ‘intent_1’, add a new parameter ‘$session.params.text = null’ in Condition of ‘page_1’.
To do the transition, add a new page ‘page_2’ and click Save after adding a new page.
Navigate to page ‘page_2’ and in Condition, add parameter condition ‘$session.params.text = null’.
Now, Enable webhook (create webhook if not created) and add webhook with tag ‘response’. Click on Save after adding a webhook.
Add a new route in ‘page_2’ and in Condition, add parameter ‘$session.params.text = True’.
Now, add an agent response, which will be displayed after the webhook timeout. Click on Save after adding the agent response.
Now, click on the State Handler, select Event Handler, and click Apply.
To do the Transition, add a new page ‘page_3’, and click Save after adding a new page.
Navigate to page ‘page_3’. Click on the Routes to add a new route and in Condition, select ‘Customize expression’ and add ‘true’.
Now, Enable webhook and add webhook with tag ‘get_response’. Add a previous page ‘page_2’ and Save after adding a previous page.
2. Webhook Code
from flask import Flask, request, jsonify import time
app = Flask(__name__)
# Webhook endpoint to handle POST requests @app.route('/webhook', methods=['POST']) def webhook(): # Get the JSON data from the request data = request.get_json(silent=True, force=True) # Extract the tag from the JSON data tag = data["fulfillmentInfo"]["tag"] target_page = data['pageInfo']['currentPage'] if tag == 'response': parameters_sending(target_page)
if tag == "get_response": # Simulate delay and then fetch content from a file count = 0 while True: time.sleep(1) count += 1 print("entering get response") with open("user_name.txt", "r") as file: content = file.read().strip() if content: # If content exists, prepare response with the content reply = { "fulfillmentResponse": { "messages": [ { "text": { "text": [ f'Message received: {content}' ] } } ] }, "sessionInfo": { "parameters": {"test": "True"}, }, } # Clear the content of the file with open("user_name.txt", "w") as file: file.write("") return jsonify(reply)
# Function to perform a background task def parameters_sending(target_page): time.sleep(8) print("completed") # Write a message to a file with open("user_name.txt", "w") as file: file.write("Your Testing Is Successfully Executed.")
# Main function to start the Flask app if __name__ == '__main__': app.run(debug=True)
Conclusion
Extending the session timeout from the default 30 seconds is important to handle any delays that might occur when getting data from APIs or databases. By giving more time for responses, we avoid running into errors that could disrupt the flow of information between services. This adjustment ensures that operations run smoothly, ultimately enhancing the overall user experience.