https://github.com/perongh/deno-bing-chat
Easy-to-use Bing Chat API for Deno
https://github.com/perongh/deno-bing-chat
Last synced: about 2 months ago
JSON representation
Easy-to-use Bing Chat API for Deno
- Host: GitHub
- URL: https://github.com/perongh/deno-bing-chat
- Owner: PeronGH
- Created: 2023-04-07T04:00:21.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-08T17:01:11.000Z (about 2 years ago)
- Last Synced: 2025-01-19T09:42:20.711Z (4 months ago)
- Language: TypeScript
- Homepage:
- Size: 21.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Deno Bing Chat
## Example
```ts
import { BingChatSession } from '../mod.ts'const session = new BingChatSession(Deno.env.get('BING_COOKIE')!, 'Creative')
console.log('Bing:', await session.send('list 10 words'))
await session.send('which word above is negative?', (p) => console.log(p.text))```
## Credits
This project is based on the [bing-chat](https://github.com/transitive-bullshit/bing-chat).