{"id":19492662,"url":"https://github.com/agora-lab-ai/bing-chat-api","last_synced_at":"2025-04-25T20:30:31.303Z","repository":{"id":201714737,"uuid":"707379078","full_name":"Agora-Lab-AI/Bing-Chat-API","owner":"Agora-Lab-AI","description":"An unofficial API for Bing Chat (GPT4)","archived":false,"fork":false,"pushed_at":"2023-11-02T23:46:42.000Z","size":251,"stargazers_count":94,"open_issues_count":2,"forks_count":18,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-11-10T02:58:27.023Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Agora-Lab-AI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-10-19T19:17:05.000Z","updated_at":"2024-09-26T07:19:21.000Z","dependencies_parsed_at":"2023-10-25T19:34:29.228Z","dependency_job_id":"2cc40391-8cab-47cc-92ac-8f148667023b","html_url":"https://github.com/Agora-Lab-AI/Bing-Chat-API","commit_stats":null,"previous_names":["agora-x/bing-chat-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Agora-Lab-AI%2FBing-Chat-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Agora-Lab-AI%2FBing-Chat-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Agora-Lab-AI%2FBing-Chat-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Agora-Lab-AI%2FBing-Chat-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Agora-Lab-AI","download_url":"https://codeload.github.com/Agora-Lab-AI/Bing-Chat-API/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224015648,"owners_count":17241535,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T21:22:29.362Z","updated_at":"2024-11-10T21:22:30.045Z","avatar_url":"https://github.com/Agora-Lab-AI.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bing Chat API Documentation\n\n[![Multi-Modality](agorabanner.png)](https://discord.gg/qUtxnK2NMf)\n\n## Bing Chat API\n\nAn 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.\n\n## Installation 🐠\n---------------\n\nYou can install the Bing Chat API using pip:\n\n```\npip3 install --upgrade bing-chat\n```\n\n## Usage 🐡\n--------\n\n### ChatGPT-4 Usage:\n\n```python\nimport logging\nfrom bing-chat import BingChat\n\nif __name__ == \"__main__\":\n    logging.basicConfig(level=logging.INFO)\n    chat = BingChat(\"\")\n    initial_message = \"Hello, Bing!\"\n    messages = chat.run(initial_message)\n    print(\"Chat history:\", messages)\n```\n\n**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.\n\n## BingChat Documentation\n\n### Table of Contents\n\n1. [Introduction](#introduction)\n2. [BingChat Class](#bingchat-class)\n   - [Initialization Parameters](#initialization-parameters)\n3. [Methods and Usage](#methods-and-usage)\n   - [run Method](#run-method)\n4. [Examples](#examples)\n   - [Example 1: Creating a BingChat Instance and Running a Chat Session](#example-1-creating-a-bingchat-instance-and-running-a-chat-session)\n5. [Additional Information](#additional-information)\n6. [References and Resources](#references-and-resources)\n\n(And so on...)\n\n## Features 🌊\n-----------\n\n- **Easy to Use**: With just a few lines of code, you can start generating text completions.\n- **Customizable**: Provide your own creative prompts to generate unique text completions.\n- **Real-Time Updates**: The API provides real-time logging information about the chat session.\n- **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.\n- **Future Windows Copilot Integration**: Upcoming features will allow users to control Windows functionalities, making it a versatile tool for various applications.\n- **Future voice activation for sending prompts\n- \n## License 📜\n----------\n\nBing Chat API is licensed under the MIT License. See the [LICENSE](https://domain.apac.ai/LICENSE) file for more details.\n\n## Todo\n\n- [ ] Add Automatic cookie finding seamlessly\n- [ ] Simplify endpoints for ease of use\n- [ ] Integrate more advanced features of ChatGPT-4\n- [ ] Create tests for BingChat\n- [ ] Implement human feedback loop for improved chat sessions\n- [ ] Support different output formats\n- [ ] Develop integration with Windows Copilot for enhanced control over Windows functionalities\n- [ ] Develop voice activation for sending prompts \n\nThis 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.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagora-lab-ai%2Fbing-chat-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagora-lab-ai%2Fbing-chat-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagora-lab-ai%2Fbing-chat-api/lists"}