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)
- I am getting an error when running the following commands. Maybe I'm not installing it correctly. I have Python 3.12.1 HOT 11
- Bot is not available HOT 2
- client.purge_conversation count doesn't work properly
- About the package with Python call problem
- send_message no longer works HOT 1
- API seems down since yesterday HOT 2
- TypeError: 'NoneType' object is not subscriptable after the chatbot response HOT 4
- RuntimeError: Daily limit reached for capybara. HOT 1
- Rate limit exceeded for sending requests to poe.com. Please try again later。 HOT 9
- 能否自己传入proxy,不用模块自带的proxy HOT 2
- Will there be an Async version of the Library?
- Failed to extract the form key HOT 3
- Add gemini pro in poe-api-wrapper HOT 1
- chat_break not clearing context HOT 2
- Rate limit exceeded for sending requests to poe.com. Please try again later. HOT 7
- Rate limit exceeded for sending requests to poe.com. HOT 9
- No WAY To send a message to a non default bot.
- Is there a way to grab output message citation content ? HOT 4
- get_available_knowledge is limited to the 5 last entries HOT 1
- json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) HOT 6
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.