Giter VIP home page Giter VIP logo

gptme-impersonating-your-writing-style's Introduction

GPTme-Impersonating-your-writing-style

We’re creating a chatbot that will generate personalized responses for a person. The bot asks to provide a conversation text file from the user, along with some questions as follows -

  • Conversation text file
  • Question asker
  • Question
  • Impersonate whom?
  • Style of response

Post which the bot would generate the response in impersonated person’s style with an additional style of response like sarcastic, analogy, etc.

Ideation

At times we face dilemmas or fall short of time to respond to some questions asked in chats. But sadly, only we can complete our thoughts ourselves. Here is where our product comes to the rescue and provides a personalized way of responding to questions in any style we want. We’re using chatGPT’s API for model GPT3.5-turbo to generate prompts personalized to an individual's unique style of writing and providing a service for it on streamlit.

Included Features -

  • Friend chat - emulate response to chat
  • Analogy maker
  • Sarcastic response generator

Future prospective features -

  • Generating images/memes based on the response of the user
  • Generating color based on the sentiment of the asked question and response
  • Response in the third person
  • Micro horror story generator
  • Create a science fiction book list

Steps to reproduce -

  • clone the repo
  • ADD OPENAI_API_KEY in streamlit_main.py
  • create a venv and install requirement.txt
  • run the following command to up the streamlit app
run streamlit_main.py

Note: We have currently limited the chat history text upto 1000 letters to be vigilant about API costs, but can be increased as per the usecase.

Demo

alt text

gptme-impersonating-your-writing-style's People

Contributors

shu3hamiitkgp avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.