Author: Shabbir Poonawala

  • My ‘Janitor’ Script: Automating Server Maintenance with Bash & Docker.

    I got tired of SSH-ing into my server to clean logs and prune Docker images. So I wrote a Cron job and deployed Watchtower.

    Here is the exact Bash script I use to keep my Debian VM clean automatically every morning at 6:25 AM:

    #!/bin/bash
    
    # Clean logs
    sudo /usr/local/bin/docker-systemctl restart zabbix
    
    # Prune Docker images
    sudo docker system prune -af
    
    # Clean up Docker volumes
    sudo docker volume rm $(docker volume ls -f dangling=true -q)
    
    # Clean up unused Docker networks
    sudo docker network rm $(docker network ls -q -f is-isolated=true)
    
    # Reboot the server
    sudo shutdown -r now
    

    With this script, I can ensure my server is always in a healthy state, even when I’m not around.

    Want to learn more about automating server maintenance? Reach out to us at ShahiRaj.

  • Beyond ChatGPT: Connecting LLMs to Private Data via Vector Databases

    ChatGPT is amazing, but it has one major limitation: it doesn’t know your business secrets. I’ll show you how I use n8n + Pinecone to create vector embeddings of private documents, allowing a Large Language Model (LLM) to answer questions based strictly on your internal files without hallucinations.

    With this setup, you can connect your LLM to your private data and get accurate answers every time. No more relying on public knowledge or making assumptions. Learn how to create a secure and private knowledge base using vector databases and LLMs.

  • Beyond ChatGPT: Connecting LLMs to Private Data via Vector Databases

    ChatGPT is amazing, but it has one major limitation: it doesn’t know your business secrets. I’ll show you how I use n8n + Pinecone to create vector embeddings of private documents, allowing a Large Language Model (LLM) to answer questions based strictly on your internal files without hallucinations.

    With this setup, you can connect your LLM to your private data and get accurate answers every time. No more relying on public knowledge or making assumptions. Learn how to create a secure and private knowledge base using vector databases and LLMs.

  • Hallucination Control: How to Force AI to Stick to the Manual

    The biggest fear with AI is that it will make things up. This is known as ‘hallucination.’ To prevent hallucination, we need to configure the AI to stick to the provided context (SOPs) and say ‘I don’t know’ if the answer isn’t in the manual. In this article, we’ll explore how to configure the ‘Temperature’ and ‘System Prompt’ in n8n to achieve this.

    First, let’s understand the concept of hallucination. Hallucination occurs when the AI generates an answer that is not based on the provided context. This can happen when the AI is trained on a large dataset, but the training data is not representative of the real-world scenario.

    To prevent hallucination, we need to configure the AI to stick to the provided context. This can be achieved by setting the ‘Temperature’ parameter in n8n. The ‘Temperature’ parameter controls the level of creativity of the AI. When set to a low value, the AI will provide more factual and less creative responses.

    Additionally, we need to configure the ‘System Prompt’ in n8n. The ‘System Prompt’ parameter controls the context in which the AI generates responses. By setting the ‘System Prompt’ to the relevant SOP or manual, we can ensure that the AI sticks to the provided context.

    By configuring the ‘Temperature’ and ‘System Prompt’ parameters in n8n, we can prevent hallucination and ensure that the AI provides accurate and reliable responses. Contact us to learn more about how to configure n8n for hallucination control.

  • Beyond ChatGPT: Connecting LLMs to Your Own Data (Google Drive & SQL)

    ChatGPT is a game-changer, but it’s limited by its reliance on public data. What if you could harness the power of Large Language Models (LLMs) with your own proprietary data? That’s exactly what I’ve been experimenting with using n8n, Pinecone, and OpenAI.

    The setup involves ingesting documents from Google Drive and SQL databases, creating vector embeddings using Pinecone or Qdrant, and then feeding relevant context to OpenAI. The result is an LLM that answers questions based strictly on your private files.

    This approach has huge implications for companies looking to unlock the full potential of their data. By combining the capabilities of n8n, Pinecone, and OpenAI, you can:

    • Create a custom knowledge graph that reflects your company’s unique data
    • Develop a tailored conversational AI that speaks to your customers and employees
    • Unlock new insights and revenue streams by analyzing your proprietary data

    Ready to take your data to the next level? Let’s dive in and explore the possibilities.

  • Integrating Exotel with OpenAI: Building a Voicebot in n8n

    Handling audio streams can be a real challenge when building voicebots. But what if you could set up a webhook from Exotel, process speech-to-text with Whisper, and generate a natural response in under 2 seconds? That’s exactly what I did with our recent Voice AI project.

    Here’s a step-by-step guide on how I integrated Exotel with OpenAI using n8n:

    • Setup the Exotel webhook to receive audio streams
    • Use Whisper for speech-to-text processing
    • Feed the output into an n8n workflow to generate a natural response

    Want to learn more about building voicebots with n8n? Check out our resources.

  • Revolutionizing Hospital Receptions with Instant Answers: How We Built a ‘Brain’ to Streamline Patient Care

    Hospital receptions are often the first point of contact for patients, but they can also be a source of frustration and inefficiency. From answering questions about insurance coverage to providing detailed information about treatment packages, receptionists often have to dig through files or ask managers while patients wait.

    At Shahi Raj, we’ve developed a solution to this problem by building a RAG AI Agent that can provide instant answers to these questions on WhatsApp. Our agent has ‘read’ every PDF, price list, and insurance policy in the hospital, ensuring 100% accuracy in its responses.

    But how did we do it? In our latest blog post, ‘Building a Hospital ‘Brain’: How we use vector databases and n8n to turn static PDF policies into an interactive chat agent for staff and patients,’ we delve into the technical details of our project.

    With our RAG AI Agent, patients can get the information they need in just 2 seconds, without having to wait for a response from a receptionist. This not only improves the patient experience but also frees up receptionists to focus on more critical tasks.

    Read our blog post to learn more about how we built a ‘brain’ for our hospital and how you can implement similar solutions in your own institution. Visit Shahi Raj to stay ahead of the curve in healthcare innovation.

    #ShahiRaj #HealthcareInnovation #RAGAI #VectorDatabases #n8n #InstantAnswers #PatientCare #HospitalReception

  • The ‘Busy Tone’ Killer: Revolutionizing Hospital Communication with AI Voicebots

    The frustration of hearing a busy signal or endless ringing when calling a hospital is all too familiar. But have you ever stopped to think about the impact it has on both patients and staff?

    Receptionists are the unsung heroes of the hospital, juggling multiple tasks at once. However, they can’t be in two places at once, and the ‘busy’ tone is a constant reminder of this limitation. Every time a patient hears that dreaded tone, it’s not just an inconvenience – it’s a lost consultation fee.

    That’s where our AI Voicebot comes in – a game-changing solution that answers every single call instantly, addressing standard queries and booking appointments. By managing the repetitive overflow, our Voicebot frees up your staff to focus on what matters most: providing exceptional care to patients in the waiting room.

    Imagine a hospital where patients can get the help they need without having to wait, where staff can focus on delivering top-notch care, and where every call is answered with a smile. That’s the vision behind Shahi Raj‘s innovative approach to hospital communication.

    Join the revolution and discover how our AI Voicebot can transform your hospital’s patient experience. Say goodbye to busy tones and hello to a more efficient, more effective way of managing inbound calls.

  • Stop Losing Patients to ‘Office Hours’: How 24/7 WhatsApp Automation fills your doctor’s schedule while your staff sleeps.

    The ‘after-hours’ problem is a silent killer of clinic revenue. Your reception desk closes at 8 PM, but your patients often need to book appointments at 11 PM or 6 AM before work. If they can’t book now, they will go to another hospital.

    Say goodbye to missed opportunities and hello to a 24/7 booking system. Our WhatsApp AI Agent is designed to capture patients exactly when they have the intent, day or night. It books appointments directly into your Google Calendar/EMR, ensuring your doctor’s schedule is always full.

    With our solution, you can:

    • Fill your doctor’s schedule while your staff sleeps
    • Reduce no-shows and last-minute cancellations
    • Increase patient satisfaction with 24/7 booking convenience

    At Shahi Raj, we understand the importance of staying ahead of the competition. That’s why we offer a ready-to-deploy WhatsApp AI Agent that’s tailored to your clinic’s needs. Don’t let office hours hold you back. Contact us today to learn more about our 24/7 WhatsApp automation solution.

    Learn more about our WhatsApp AI Agent: https://www.shahiraj.com

  • Eliminate No-Shows & Scheduling Headaches: Build a Telegram Bot with n8n

    In the fast-paced world of business, meetings are inevitable, but the frustration of coordinating schedules, wrestling with time zones, and dealing with dreaded “no-shows” can be a massive productivity drain. What if you had a relentless personal secretary that not only booked your slots but also ensured attendance, every single time?

    The No-Show Killer: Your Ultimate Meeting Assistant

    At Shahi Raj, we believe that your time is too valuable to be spent on manual follow-ups and wasted appointments. That’s why we’ve developed a robust solution: a Telegram meeting assistant powered by n8n, designed to be your ultimate “No-Show Killer.” This isn’t just about automated scheduling; it’s about intelligent, proactive attendance management.

    Beyond Simple Booking: Key Features for Flawless Meetings

    1. Automated Scheduling: Effortless Coordination

    Forget the endless back-and-forth emails. Our Telegram bot allows participants to easily find and book available slots directly through a familiar messaging interface. It streamlines the entire scheduling process, saving valuable time for both organizers and attendees.

    2. Mastering Time Zones: No More Confusion

    Global teams and remote work make time zone differences a constant challenge. Our n8n-powered bot intelligently handles time zone conversions, ensuring that everyone sees meeting times in their local zone. This eliminates confusion and reduces the likelihood of missed appointments due to geographical discrepancies.

    3. Seamless Google Calendar Synchronization

    A fragmented calendar is a recipe for chaos. Our solution integrates directly with Google Calendar, automatically adding new appointments and updating existing ones. This ensures that all your meetings are consolidated in one place, providing a single source of truth for your schedule and preventing double-bookings.

    4. The “No-Show Killer” Reminders: Ensuring Attendance

    This is where our system truly shines. The core of the “No-Show Killer” feature lies in its automated, strategic reminder system, implemented via cron-jobs in n8n:

    • 2-Hour Nudge: An automated reminder is sent to both the organizer and the attendee two hours before the scheduled call. This provides ample time for preparation or last-minute adjustments.
    • 15-Minute Alert: A final, crucial reminder pings both parties 15 minutes before the meeting. This serves as a timely heads-up, bringing the meeting to the forefront of their minds just when it’s needed most.

    These consistent, automated nudges drastically reduce the chances of someone forgetting a meeting, virtually eliminating the frustration and lost productivity caused by no-shows.

    Transform Your Productivity with Smart Automation

    Imagine a world with zero manual follow-ups, zero wasted time, and a significant boost in meeting attendance. Our Telegram bot, built with the powerful automation capabilities of n8n, transforms this vision into reality. It acts as a tireless digital assistant, ensuring that your meetings are not just scheduled, but actually happen.

    Ready to reclaim your productivity and put an end to the “no-show” nightmare? Explore the innovative solutions offered by Shahi Raj to streamline your business operations and maximize your efficiency.

    #ShahiRaj #AutomatedScheduling #TelegramBot #n8n #ProductivityHacks #NoShowKiller #BusinessAutomation