A library to communicate with ChatGPT, Claude, Copilot, Gemini, HuggingChat, and Pi
Project description
TalkingHeads ๐ช
Welcome to TalkingHeads! ๐ค๐
TalkingHeads is a versatile Python library that serves as an interface for seamless communication with ChatGPT, Claude, Copilot, Gemini, HuggingChat, and Pi ๐ค๐ฌ
By leveraging the power of browser automation, this library enables users to effortlessly interact with online LLM tools, 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 talkingheads
or from source:
pip install git+https://github.com/ugorsahin/TalkingHeads
Usage
from talkingheads import PiClient
chathead = PiClient()
answer = chathead.interact("Hello, how are you today")
print(answer)
Features
Features | Gemini | Claude | Copilot | HuggingChat | ChatGPT | Pi |
---|---|---|---|---|---|---|
Use without login | โ | โ | โ | โ | โ | โ |
Login* | โ | โ | โ | โ | โ | โ |
Interact | โ | โ | โ | โ | โ | โ |
New Chat | โ | โ | โ | โ | โ | โ |
Regenerate Response | โ | โ | โ | โ | โ | โ |
Set custom interactions | โ | โ | โ | โ | โ | โ |
Search Web | โ | โ | โ | โ | โ | โ |
Plugins | โ | โ | โ | โ | โ | โ |
Switch Model | โ | โ | โ ** | โ | โ | โ |
โ (Auto) Save the conversation as csv, h5, html, json, orc, pkl, xlsx, xml
- โ : Functionality exists and implemented
- โ : Functionality does not exist
- โ : Fuctionality exists but not implemented
* The first time login is manually done for Gemini, Claude and Copilot. Check documentation for first time setup. Please take a look at FAQ to set up. *** The modes of Copilot (Creative, Balanced and Precise) are accessible with model switch. However, it is unclear if they are different models.
Issues & Contribution
Feel free to dive in, share your knowledge, and collaborate. I would be happy to answer any questions or accept your contributions. Let me know in issues if you need anything.
Enhancing our documentation would be fantastic and appreciated. Help me improve documentation with your valuable contributions. Please indicate your issue with a tag enclosed by square brackets: [FEATURE], [BUG], [DOCUMENTATION], [QUESTION]. If you don't know what to write you can write [MISC]. I will prioritize issues with tags.
Where is old ChatGPT_Automation library?
You can still run your code to connect ChatGPT, follow the below tutorial
export OPENAI_UNAME=<your@email>
export OPENAI_PWD=><password>
from talkingheads import ChatGPTClient
chathead = ChatGPTClient()
answer = chathead.interact("Hello, how are you today")
print(answer)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for talkingheads-0.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2ddb066aa8ea4938fb1de480efbb966417bf87d6d5f728ddd5cddc9bf41cb4b |
|
MD5 | 6fbfa1f5805033c3b28d7a11b9969add |
|
BLAKE2b-256 | 91b7bb3f02fffb6f19d3b991b5acae78b707f1baaeab133c7427985392e7d610 |