Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ugorsahin/talkingheads
A library to communicate with ChatGPT, Claude, Copilot, Gemini, HuggingChat, and Pi
https://github.com/ugorsahin/talkingheads
browser-automation chatgpt chatgpt-api claude copilot free gemini huggingchat llm-inference python selenium undetected-chromedriver
Last synced: 4 days ago
JSON representation
A library to communicate with ChatGPT, Claude, Copilot, Gemini, HuggingChat, and Pi
- Host: GitHub
- URL: https://github.com/ugorsahin/talkingheads
- Owner: ugorsahin
- License: mit
- Created: 2022-12-04T22:48:50.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-06T13:09:41.000Z (about 2 months ago)
- Last Synced: 2025-01-04T12:44:06.138Z (19 days ago)
- Topics: browser-automation, chatgpt, chatgpt-api, claude, copilot, free, gemini, huggingchat, llm-inference, python, selenium, undetected-chromedriver
- Language: Python
- Homepage:
- Size: 229 KB
- Stars: 296
- Watchers: 5
- Forks: 59
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-ChatGPT-repositories - TalkingHeads - A library to communicate with ChatGPT, Claude, Copilot, Gemini, HuggingChat, and Pi (Others)
README
TalkingHeads 💬
Welcome to TalkingHeads! 💬
TalkingHeads is a Python library that serves as an interface for seamless communication with ChatGPT, Claude, Copilot, Gemini, LeChat, HuggingChat, and Pi 🤖
By leveraging the power of browser automation, this library enables users to effortlessly interact with online chat agents 🚀✨
You can utilize more than one agent by using multiagent module, and improve your workflow with an ensemble of models!
# Prerequisites 📋
- Install Chrome
- Register to the provider you would like to use (or not, and use Pi!)## Installation
```python
pip install talkingheads
```or from source:
```python
pip install git+https://github.com/ugorsahin/TalkingHeads
```## Usage
```python
from talkingheads import PiClientchathead = PiClient()
response = chathead.interact("Hello, how are you today")
print(response)
```## Features
Features | Claude | ChatGPT | Copilot | Gemini | LeChat | HuggingChat | Pi |
|-------------------|--------|---------|---------|--------|--------|-------------|----|
Use without login | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ✅ |
Login* | ➖ | ✅ | ➖ | ➖ | ✅ | ✅ | ➖ |
Interact | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
New Chat | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Regenerate Response | ✅ | ✅ | ❌ | ✅ | ❌ | ❌ | ❌ |
Custom Interactions | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
Search Web | ❌ | ❌ | ✅ | ❌ | ❌ | ✅ | ❌ |
Plugins | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ |
Switch Model | ❌ | ✅ | ✅** | ❌ | ✅ | ✅ | ✅ |
Multimodal (Visual) | ✅ | ➖*** | ✅ | ✅ | ❌ | ❌ | ❌ |✅ (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\* You should use a user profile and login manually to use Gemini, Claude and Copilot.Please take a look at documentation and [FAQ](FAQ.md) to set up a user profile.
\*\* The modes of Copilot (Creative, Balanced and Precise) are accessible with model switch. However, it is unclear if they are different models.
\*\*\* ChatGPT has multimodality, but only for premium users, donate me a premium account if you need that to be implemented!
## 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
```bash
export ChatGPT_UNAME=
export ChatGPT_PWD=>
```
```python
from talkingheads import ChatGPTClientchathead = ChatGPTClient()
response = chathead.interact("Hello, how are you today")
print(response)
```