check out the medium article here
Lets start with getting selenium up and running.
python simple_search.py
Instructions before starting a selenium program, its beeter you start chrome on a remote debugging port.
-
add chrome.exe to the environment variable.
-
add chromedriver to path.
-
start an instance of chrome.
chrome.exe --remote-debugging-port=9222 --user-data-dir="C:\selenum\ChromeProfile"
Trying on twitter ?
python twitter_auto.py
Twitter auto is currently working.
chatterbot is an python packages for creating a chatbot. Lets try.
in order to install you need to use chatterbot version 1.04 or something, the latest doesnt work.
pip install chatterbot==1.0.4
doesn't work at all.
https://www.browserstack.com/guide/find-element-by-xpath-in-selenium
Lets focus on whatsapp messages for now.
persistant whatsapp.py
- selenium get the last message out - done.
- create a chatbot using ml - openai. can we use /answer endpoint? - done.
- integrate open_ai_bot.py and persistant_whatsapp.py - done.
- trying hugging face. - done.
Trying to build a chatbot using openai.
openai keys from : "https://beta.openai.com/account/api-keys"
first try of hugging face.
https://www.kaggle.com/fanbyprinciple/hugging-face-conversational-ai/edit
it is a maniac. Right now. Can talk to one person.
gpt_talk_to_one_whatsapp.py
Need - to have better training data. - done to wait for messages again. - not done.
whatsapp_pdf_text_summarisation.py
able to download the file.
able to get pdf summary. need to refine what need to show.
You'll be able to summarize link from test.
file_link_enumerate.py
- working. Not able to summarize using openAI.
hugging_face_summarization.py
It works easily.
TODO - all done.
- check whether this works with pdf. - it works!
- integrate into whatsapp autotext
whatsapp_alltext_getter.py
a . able to extract links
b. fanbot reply configured
able to reply.
c. find better ways to extract text from paragraphs, can you only extract the paragraphs?
able to extract paragraphs.
- add a seperate summarizer for youtube and twitter
- add for pdfs
- fanbot that will say good morning with thought