Skip to content

πŸ§ πŸ“ PersonaBlend AI: Blending BlenderBot & GPT-3.5 Turbo in textbase, crafting a dynamic chatbot for seamless dialogues and insights. Leveraging distress-record, transcript, AWS, and Twilio for enhanced safety. Ready for effortless deployment and tech collaboration.

Notifications You must be signed in to change notification settings

KartikeyMish/PersonaBlend-AI

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

60 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– PersonaBlend AI πŸ§ πŸ“

Welcome to the world of PersonaBlend AI! πŸš€ Where engaging, knowledgeable, and empathetic conversations converge seamlessly! This project represents the culmination of cutting-edge research in the realm of open-domain chatbots, harmoniously blending the brilliance of BlenderBot and ChatGPT within the powerful textbase framework. ✨

πŸ’»Demo Video

Abstract πŸ“œ

Building open-domain chatbots is a fascinating yet challenging pursuit in the realm of machine learning. While the scalability of neural models and training data has shown promise, our project delves deeper to unveil the true potential of chatbots. A meaningful conversation is an art, elegantly weaving engaging topics, attentive listening, insightful questions, enlightening answers, and just the right touch of empathy and personality. We've harnessed these elements to craft an advanced chatbot that excels across diverse communication scenarios.

The Blend 🌐

PersonaBlend AI is a dynamic chatbot designed for everyday interactions. Empowered by BlenderBot, it thrives in friendly, human-like conversations, a feat achieved through rigorous training on the Humane Evaluation of communication. However, we recognize that certain contexts demand more than just casual discourse. For educational insights, intricate calculations, and comprehensive briefings, our chatbot seamlessly transitions to ChatGPT, delivering precision and knowledge tailored to the situation.

Distress Management (Work in Progress) ⚠️

In a world where safety takes precedence, we're weaving an essential feature into PersonaBlend AI. By integrating distress-record, transcript, AWS, and Twilio (currently under development), our chatbot gains the ability to detect and respond to distress signals. It ensures timely communication with relevant authorities, offering an additional layer of security and unwavering support.

Framework: Textbase

✨ Textbase is a framework for building chatbots using NLP and ML. ✨

Just implement the on_message function in main.py, and Textbase will take care of the rest! 😊

Since it is just Python, you can use whatever models, libraries, vector databases, and APIs you want.

Project Features πŸš€

  • Integration of HuggingFace's BlenderBot api πŸ€–
  • Integration of OpenAI's GPT-3.5 Turbo πŸš„
  • distress-record for conversation history πŸ“œ
  • transcript and AWS integration (work in progress) 🌐
  • Twilio integration (work in progress) πŸ“±

I have implemented these features in YourCompanion .

For the API's Integration refer models.py & realted to distress refer voice.py

Installation and Setup πŸ› οΈ

  1. Clone the repository:

    git clone https://github.com/yourusername/personablend-ai
    cd personablend-ai
    
  2. Install the dependencies using Poetry:

    poetry shell
    poetry install
    

Getting Started πŸš€

  1. Set up the necessary API keys:

    • Configure Hugging Face's BlenderBot credentials πŸ€–
    • Set up OpenAI's GPT-3.5 Turbo credentials πŸš„
    • Configure AWS credentials for transcript and other services 🌐
    • Configure Twilio credentials for SMS integration πŸ“±
  2. Implement the on_message function in main.py.

  3. Start the development server:

    poetry run python personablend-ai/textbase/textbase_cli.py test main.py
    
  4. Go to http://localhost:4000 to start chatting with your PersonaBlend AI bot! The bot will automatically reload when you make changes to the code.

Future Enhancements 🌈

  • PyPI package for easy installation πŸ“¦
  • SMS integration using Twilio πŸ“±
  • Web deployment via textbase deploy 🌐
  • Native integration of additional models (Claude, Llama, etc.) 🀩

Contributions 🀝

Contributions are welcome! If you have any suggestions, feedback, or code improvements, feel free to open an issue or submit a pull request.

Happy chatting with your PersonaBlend AI bot! πŸŒπŸ€–

About

πŸ§ πŸ“ PersonaBlend AI: Blending BlenderBot & GPT-3.5 Turbo in textbase, crafting a dynamic chatbot for seamless dialogues and insights. Leveraging distress-record, transcript, AWS, and Twilio for enhanced safety. Ready for effortless deployment and tech collaboration.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages

  • Python 75.4%
  • TypeScript 19.3%
  • JavaScript 2.1%
  • CSS 2.0%
  • HTML 1.2%