Personal AI Chat Bot

We have written numerous papers, and have completed numerous projects. I wanna build a bot that reads through these papers and answers the questions in first person perspective.

What should happen:

John Doe visited my web application and uploaded all the stuff, about his interests, his past work, current projects, progress, and challenges. My web application will then generate a chat interface, that he can share with his circle, for example via LinkedIn.

Anyone who accesses the link should be able to ask questions like “Hey John, how did you achieve x accuracy on the ABC scale in your project Y” and the chatbot will reply in the first person “I have used XYZ, which helped me in achieving x accuracy”. “I have used references from PQR paper for the Y project”. Any question we ask about the person John Doe, the chatbot should reply in the First person ‘I did’, ‘I used’, ‘I think’, etc., This chatbot is John Doe himself. and is limited to reply as John Doe only. If anyone asks questions that the bot doesn’t have enough information, it gives a soft reply to send an email, and the bot will send the conversation as an email to John Doe.

Applications: The basic usage I can think of is, that this is like a resume reading bot, that can answer questions on the resume you provide. Celebrities, Comedians, Players, and Scholars, all have their websites. A chatbot that replies like the celebrity “To check on their ongoing projects, tours, ticket buying options” etc.,

Future: I wanna add controls like humor level, slang, mood, languages, attitude etc.,

What to use? How to do?

These are the biggest questions I have right now. I know Bert can be used to achieve a simple question-answering model. And I can use LangChain for certain tasks. But, how do I achieve

  • It needs to produce more generic replies, like human conversations.
  • It should always reply as the owner/ Author of the bot only. In a “first person” only.
3 Likes

Here are the main considerations:

  1. Good Prompt Engineering - this is where you can instruct your model to answer always in the first person, with whatever tone you wish, and only to provide answers that it has the data to back up. I’d recommend Deeplearning’s Prompt Engineering short course to help here.

  2. The data, upon which the answers will be based. Here you need Retrieval Augmented Generation or RAG to ground the answers in facts. The RAG data will consist of the “Knowledge Base” that John Doe uploads. Watch the Deeplearning course on RAG. Llamaindex can help you ingest different kinds of data into the Knowledge Base e.g. PDFs, documents, html pages and so on.

  3. You mentioned Bert, but you can use ChatGPT, or open source models like Llama instead. There are short courses on some of the different LLMs. To build a UI for it, you can use Azure OpenAI for example, or you can use something like Voiceflow, StackAI or other tools with various LLM option in the backend.

Hope this helps!
Mim

Hello @saikbodi

Your idea of creating a personalized AI chatbot that responds in the first person based on a user’s uploaded information is fascinating! It opens up a world of possibilities, especially for individuals like John Doe who want to engage with their audience in a unique and authentic way.

To bring this idea to fruition, I recommend connecting with AI development partners who specialize in natural language processing and chatbot development. They can provide the technical expertise needed to implement and fine-tune the model based on your specific requirements.

Together, you can navigate the complexities of building a personalized AI chatbot that truly reflects the user’s persona. Good luck with your innovative project!

Hej @saikbodi - I’ve been looking for a similar solution to help with initial client meetings. A digital clone able to engage with customers at the customer’s connivence. I haven’t made much headway. I’m not sure if this is a good example of something you’re looking to create https://profg.ai/ . Seems like an effective way to expand the general publics access to the professors knowledge.

This is it. profg.ai is a perfect example of what I want to achieve, and make this feature available globally, Fill the forms provided and an AI that responds in the first person is ready. Thank you for providing the necessary stuff I need for my project.