My AI Twin works 24/7 – Even While I Sleep

Manav PaulManav Paul
5 min read

👋🏻 Hello World! I'm Manav Paul, a 24-year-young spiritual developer passionate about harnessing the power of AI and DevOps to create amazing things. This blog is my digital diary, where I'll be documenting my exploration of this exciting field.
Learn with me:
Master GenAI Series : Dive into my beginner friendly 30-day blog series.


Imagine a world where you have a team of yourself, ready to tackle tasks 24/7. No, it's not a sci-fi movie (although the image might suggest otherwise ). Thanks to Large Language Models (LLMs), we can now create virtual twins – AI assistants that mimic our communication style and handle various tasks.

Intrigued? Here's how I built my "Chitti Army" (inspired by the iconic robots from the movie Robot) using LLMs in just 4 steps. You can follow these steps to create your own virtual workforce!

Your Chitti Army Can Help With:

  • Use it on your web portfolio to allow recruiters/brands to know about yourself

  • Feedback-based answering customer support questions

  • Response to social networks.

Building Your Twin “Chitti” : Step-by-Step

Step 1. Gather Your Data (The Raw Material): 📄

To make your Chitti truly your own, we need to feed it information about you. This includes:

  • Basic Information

  • Communication Style

  • Professional Background

  • Work and Habits

  • Professional Expertise

  • Emotional Responses

  • Values and Beliefs

  • Social Interactions

  • Future Vision

Here's a list of 10 Questions:

Answer these 10 questions then copy and paste them in a notepad file with .txt extension.

# Basic Information: 
Q1. Where are you from? What are your hobbies and interests?
Ans: 
# Communication Style: 
Q2. How would you describe your communication style? How do you typically start and end a conversation?
Ans:
# Professional Background: 
Q3. What is your field of expertise? What are your biggest professional achievements?
Ans:
# Work Habits: 
Q4. How do you typically approach tasks and projects?
Ans:
# Emotional Responses: 
Q5. How do you react to positive and negative feedback? How do you handle stress and conflict?
Ans:
# Goals and Aspirations: 
Q6. What are your short-term and long-term goals?
Ans:
# Values and Beliefs: 
Q7. What are your core values and beliefs?
Ans:
# Humor and Personality: 
Q8. What kind of humor do you appreciate? What’s your sense of humor like?
Ans:
# Social Interactions: 
Q9. How do you interact with people from different backgrounds and cultures?
Ans:
# Future Vision: 
Q10. Where do you see yourself in five years?
Ans:

Once you've finished, copy the transcript and save it as a text file name it anything you like chitti_twin. This file holds the key to your Chitti's personality!

2. Training Your Chitti (The Learning Phase):

Now it's time to train your AI twin on the data you gathered. Here's where DocsGPT comes in:

  1. Head to DocsGPT and create an account if you don't have one already.

  2. Upload your saved text file (chitti_twin) from the Source Docs on the left navbar and give it a name like "chitti_twin" (kept the same name so there is no confusion).

  3. Click "Train" – DocsGPT will use this information to train your virtual self!

3. Setting Up Chitti's Personality (The Identity Forge):

Now that your Chitti is trained, let's define its identity with a prompt:

  1. Go to "Settings" in DocsGPT and find "Active Prompt."

  2. Click "Add New" and name your prompt "chitti_twin."

  3. Paste the following prompt into the "Prompt Text" section:

Prompt: 
You are a virtual twin of [your name]. Act exactly like them, generating responses in their voice. Avoid unprofessional or harmful questions.

Greet users with your name and designation, and ask them theirs along with their reason for chatting. Focus on their objective and avoid personal inquiries. Only ask follow-up questions related to their purpose. 

Adapt your tone (friendly or professional) based on the user's demeanor. Infuse positivity, curiosity, humor, and professionalism into your interactions.

{summaries}

Replace [your name] with your actual name. Feel free to customize the prompt further to tailor your Chitti's responses. Once done, click "Save."

Voila! You've created your first Chitti! Test it out by clicking "New Chat" in DocsGPT.

4. Deploying Your Chitti Army (The Grand Finale):

Currently, your Chitti is confined to DocsGPT. But remember, we want a multi-tasking workforce or the Chitti Army! Here's how to deploy your Chitti across platforms:

  1. Go to "Settings" > "Chatbots" > "Create New."

  2. Name your API key and fill in the required fields.

  3. Select your training data (the uploaded text file), choose a model, and set the Active Prompt to "chitti_twin."

  4. Click "Create" and copy your API key – this is your secret weapon!

Now you can integrate your Chitti into websites, chat applications, or even build custom tools powered by your AI twin!

Here is a short template to test your integration with your DocsGpt API.

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>DocsGPT Widget</title>
  <script src="https://unpkg.com/docsgpt/dist/modern/main.js" type="module"></script>
</head>

<body>
  <div id="app"></div>

  <script type="module">
    window.onload = function() {
      renderDocsGPTWidget('app', {
        apiHost: 'http://localhost:3000',
        apiKey: "YOUR_API_KEY",
        avatar: 'https://d3dg1063dc54p9.cloudfront.net/cute-docsgpt.png',
        title: 'Your Title',
        description: "Your description",
        heroTitle: 'Your hero title',
        heroDescription: 'Your hero description',
        theme: "dark",
        buttonIcon: "https://your-icon",
        buttonBg: "#222327"
      });
    }
  </script>
</body>
</html>

In an era where technology is constantly evolving, the potential for AI to revolutionize our lives is immense. By following these steps, you can create your own AI twin, a powerful tool to boost productivity and streamline your workflow.

Remember, the key to success with AI is to use it as an aid, not a replacement. By combining human creativity and AI efficiency, we can unlock new possibilities and shape the future of work.

So, are you ready to build your own AI twin?

▶ Next → What happens when you search 8.8.8.8 ?
Master GenAI Series

👨🏻‍💻 Connect with me on LinkedIn and X(Twitter).

0
Subscribe to my newsletter

Read articles from Manav Paul directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Manav Paul
Manav Paul

24, Documenting my journey of DevOps | GenAI | Blockchain | NFTs