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.
You can install the Bing Chat API using pip:
pip3 install --upgrade bing-chat
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.
- Introduction
- BingChat Class
- Methods and Usage
- Examples
- Additional Information
- References and Resources
(And so on...)
- 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
Bing Chat API is licensed under the MIT License. See the LICENSE file for more details.
- 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.