EdgeGPT  by acheong08

Reverse-engineered API for Microsoft Bing Chat (archived)

created 2 years ago
8,002 stars

Top 6.6% on sourcepulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

This project provides a reverse-engineered API for Microsoft's Bing Chat AI, enabling users to programmatically interact with the service. It's targeted at developers and researchers who need to integrate Bing Chat's capabilities into their applications or workflows, offering access to advanced conversational AI and image generation features.

How It Works

The project leverages reverse-engineered WebSocket and HTTP endpoints used by Bing Chat. It handles authentication, session management, and message formatting to mimic the official client. For image generation, it interfaces with Bing's image creation tools, translating text prompts into visual outputs. The library supports asynchronous operations for efficient handling of multiple requests.

Quick Start & Requirements

  • Install via pip: python3 -m pip install EdgeGPT --upgrade
  • Requires Python 3.8+.
  • Microsoft Account with Bing Chat access is optional but recommended for authentication.
  • Selenium is required for automatic cookie setup.
  • Authentication may be region-dependent or IP-dependent; manual cookie collection via browser extensions is detailed.
  • Official documentation and examples are available in the README.

Highlighted Details

  • Supports multiple conversation styles: creative, balanced, and precise.
  • Includes a command-line interface and Python API for both chat and image generation.
  • Offers utilities for extracting specific response components like sources, code, and suggestions.
  • Supports cookie rotation for handling request quotas and authentication.

Maintenance & Community

The project is archived due to the author's lack of time for maintenance. There are no explicit community links (Discord/Slack) or roadmap details provided in the README.

Licensing & Compatibility

The README does not explicitly state a license. Given the reverse-engineered nature and potential reliance on Microsoft's terms of service, commercial use or linking with closed-source projects may be restricted or violate Bing's usage policies.

Limitations & Caveats

The project is archived and no longer actively maintained, meaning it may break with future Bing updates. Authentication can be complex and region-dependent, requiring manual cookie management.

Health Check
Last commit

2 years ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
29 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.