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

coaidev/chatnio-bing-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published