Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Latest commit

 

History

History
50 lines (41 loc) · 669 Bytes

README.md

File metadata and controls

50 lines (41 loc) · 669 Bytes

Chat Nio Bing Service

ChatNio Bing Service

Features

  • Bing Search
  • Websocket API
  • Authenticated
  • Multi-Threaded
  • Multi-Account Pool
  • Account Retry Feature

Install

pip install -r requirements.txt
  • save new bing cookies to ~/cookie.txt
> cookies.txt
[
  [cookies],
  [cookies],
  ...
]
  • configurate config.yaml

API

[websocket] http://localhost:8765/chat

client sent:

{
  "prompt": "string",
  "hash": "string (secret)",
  "model": "creative"
}

stream response:

{
  "response": "string"
}