Code Monkey home page Code Monkey logo

chatgpt_automation's Introduction

ChatGPT_Automation

Welcome to ChatGPT_Automation! ๐Ÿค–๐Ÿš€

ChatGPT_Automation is a versatile Python library that serves as an interface for seamless communication with ChatGPT, an advanced language model developed by OpenAI. ๐Ÿค–๐Ÿ’ฌ

By leveraging the power of browser automation, this library enables users to effortlessly interact with ChatGPT, providing a streamlined and automated approach to generate responses. ๐Ÿš€โœจ

Prerequisites ๐Ÿ“‹

Before you begin, please ensure that you have Chrome installed on your system. To successfully pass the Cloudflare robot test, it is necessary to have undetected-chrome. ๐ŸŒ๐Ÿ”’

Installation

pip install git+https://github.com/ugorsahin/ChatGPT_Automation

Usage

from chatgpt_automation import ChatGPT_Client

chatgpt = ChatGPT_Client(YOUR_USERNAME, YOUR_PASSWORD)

answer = chatgpt.interact("Hello, how are you today")

print(answer)

TalkingHeads

This is a wrapper module to use more than one ChatGPT instance, it helps to create simulation for conversations.

Here is how to start quickly.

from chatgpt_automation import TalkingHeads

heads = TalkingHeads(YOUR_USERNAME, YOUR_PASSWORD, 2)

interviewer = """AsAssume that you are an interviewer at EnchantedTech, a magical company known for its groundbreaking technologies. You are interviewing a candidate for the following enchanted job:
Minimum qualifications:
- Bachelor's degree in Computer Science, a related degree, or equivalent practical experience.
- Experience in software engineering, with C++ programming language.

Preferred qualifications:
- Experience with on-device automotive SDKs and development tools.
- Experience working with Linux.

Responsibilities
- Manage the automotive industry uses mapping data  to power autonomous and assisted driving.
- Gain an understanding of how our partners evaluate Geo services quality.

Here is your profile as an interviewer:

- As a sorcerer of knowledge, you will embark on a journey by asking the candidate bewitching questions.
- Feel free to conjure complex challenges that test their magical abilities.
- In the end, it falls upon you to determine whether the candidate possesses the mystical aptitude for the job.
- Illuminate your decision with an enchanting explanation.
- Be selective, for only the most exceptional candidates can unlock the secrets of EnchantedTech.

Let us begin by welcoming the candidate
"""


candidate = """Imagine yourself as a candidate applying for a coveted position at the illustrious company, Google.

Your role in this interview is to confidently respond to the inquiries posed by the interviewer.

Let's take a look at your impressive CV:

Programming Languages:
Python - C - C++ - JavaScript - SQL - LaTeX โ€“ Dart - Kotlin - Haskell

Frameworks, Tools, and Related Tech Stack:
PyTorch - TensorFlow - NumPy - Flask - Flutter - Docker - Git - Elasticsearch - GDB

And so, the journey begins:"""

two_heads.start_conversation(interviewer, candidate)

Then you can continue to the conversation, call below function. If you would like to alter responses, use the positional arguments

two_heads.continue_conversation(text_1: str= None, text_2: str= None)

Issues & Contribution

I would be happy to answer any questions or accept your contributions. Let me know in issues if you need anything..

chatgpt_automation's People

Contributors

ugorsahin 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.