Skip to content

Agora-X/Bing-Chat-API

Repository files navigation

Bing Chat API Documentation

Multi-Modality

Bing Chat API

An all-inclusive API endpoint that harnesses the power of ChatGPT-4 for text completions, GPT-4 Vision for vision tasks, and DALL-E 3 for image creation. This comprehensive API is designed to provide a seamless experience for users looking to integrate advanced AI capabilities into their applications. Future integrations will include Windows Copilot, offering a way to control Windows in a manner similar to open-interpreter.

Installation 🐠


You can install the Bing Chat API using pip:

pip3 install --upgrade bing-chat

Usage 🐡


ChatGPT-4 Usage:

import logging
from bing-chat import BingChat

if __name__ == "__main__":
    logging.basicConfig(level=logging.INFO)
    chat = BingChat("")
    initial_message = "Hello, Bing!"
    messages = chat.run(initial_message)
    print("Chat history:", messages)

Disclaimer: Using this API excessively or in ways that violate Bing's terms of service may result in your account being banned. Always ensure you're adhering to platform guidelines and use the API responsibly.

BingChat Documentation

Table of Contents

  1. Introduction
  2. BingChat Class
  3. Methods and Usage
  4. Examples
  5. Additional Information
  6. References and Resources

(And so on...)

Features 🌊


  • Easy to Use: With just a few lines of code, you can start generating text completions.
  • Customizable: Provide your own creative prompts to generate unique text completions.
  • Real-Time Updates: The API provides real-time logging information about the chat session.
  • Multimodal Capabilities: The API integrates ChatGPT-4 for text, GPT-4 Vision for vision tasks, and DALL-E 3 for image creation, offering a wide range of functionalities in a single endpoint.
  • Future Windows Copilot Integration: Upcoming features will allow users to control Windows functionalities, making it a versatile tool for various applications.
  • **Future voice activation for sending prompts

License 📜


Bing Chat API is licensed under the MIT License. See the LICENSE file for more details.

Todo

  • Add Automatic cookie finding seamlessly
  • Simplify endpoints for ease of use
  • Integrate more advanced features of ChatGPT-4
  • Create tests for BingChat
  • Implement human feedback loop for improved chat sessions
  • Support different output formats
  • Develop integration with Windows Copilot for enhanced control over Windows functionalities
  • Develop voice activation for sending prompts

This documentation provides a comprehensive guide on how to interact with the Bing Chat API, leveraging the combined capabilities of ChatGPT-4, GPT-4 Vision, and DALL-E 3.

About

An unofficial API for Bing Chat (GPT4)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages