Comments (2)
Yes this api does support multi-users connection
Example:
from poe_api_wrapper import PoeApi
import threading
token = "Token_here"
client1 = PoeApi(token)
client2 = PoeApi(token)
def t1_send():
for chunk in client1.send_message('a2', 'Nice to meet you'):
pass
def t2_send():
for chunk in client2.send_message('a2', 'Print hello world'):
pass
t1 = threading.Thread(target=t1_send)
t2 = threading.Thread(target=t2_send)
t1.start()
t2.start()
t1.join()
t2.join()
from poe-api-wrapper.
Hi, it seems that the example code no longer works. Poe seems to give the same response when two different messages are sent to the same bot at the same time.
from poe-api-wrapper.
Related Issues (20)
- auto_proxy=True
- file attachments HOT 3
- New error? simplejson.errors.JSONDecodeError
- Bug on the result from poe --b BKEY --lat LATKEY
- it looks like api died. with the basic code below it doesn't work =/ HOT 1
- The server is down? Why SubscriptionMutation HOT 1
- Why the api is unstable right now HOT 5
- Issue on uploading txt files HOT 1
- Daily Limit Reached HOT 3
- Can I use the API_Key from poe directly? HOT 2
- Could it be converted to the OpenAI API format?
- With proxy, websocket error
- Could it be possible to support video file attachment
- Release 1.4.1, using Python 3.12.3 on MacOS, doesn't work HOT 2
- Error when uploading file with gemini_1_5_pro_1m HOT 1
- api still works? because I tried several ways here at home and it stopped working =/ HOT 1
- 16 message/day limit for Poe tokens ? HOT 1
- ไปฃ็้ฎ้ข proxy problem
- where is quora.com/poe_api/gql_post ?
- ValueError: I/O operation on closed file problem. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from poe-api-wrapper.