/chatnio-bing-service

ChatNio Bing Service

Primary LanguagePythonCreative Commons Zero v1.0 UniversalCC0-1.0

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"
}