prsaw
prsaw copied to clipboard
PRSAW, an acronym for "Python Random Stuff API Wrapper", is a wrapper for the Random Stuff API.
keyerror
```py Traceback (most recent call last): File "main.py", line 7, in response = rs.get_ai_response("How are you?") File "D:\Anaconda3\lib\site-packages\apiclient\core.py", line 95, in __call__ return self.sync_call(httpx_request) File "D:\Anaconda3\lib\site-packages\apiclient\core.py", line 100, in sync_cal...
I installed the plugin for my project in python, and the terminal says that there is no module called "prsaw" Error: C:\Users\zip\Desktop\AI_Chat>py ai_bot.py Traceback (most recent call last): File "C:\Users\zip\Desktop\AI_Chat\ai_bot.py",...
Code: ``` from prsaw import RandomStuffV2 rs = RandomStuffV2() response = rs.get_ai_response("How are you?") print(response) rs.close() ``` Error: ``` Traceback (most recent call last): File "main.py", line 8, in response...
Now we can't use old prsaw Where can I get new prsaw coding Plz help me
So i tried asking a few questions and the bot does answer correctly but the problem is it sends a bit of the code aswell Here's the example! https://ibb.co/Zzj2yBg
code: ```py from prsaw import RandomStuff api_key = api_key rs = RandomStuff(api_key = api_key) response = rs.get_ai_response("How are you?") print(response) rs.close()``` error:------------------------------------------------ ```py Ignoring exception in on_message Traceback (most recent...
from prsaw import RandomStuff rs = RandomStuffV2() During import at the first line there is NameError: name 'RandomStuffV2' is not defined. That error is noticed on the page https://pypi.org/project/prsaw/ from...
response = await rs.get_ai_response(message.content.casefold(),dev_name="MetallicWeb7080",bot_name="Tancraft Network") await message.reply(response[0]["message"], mention_author=False) rs.close() The misc for dev_name and bot_name is not working
Warning
It's great , however raising some "json decode errors" frequently , is most cases it's replying although raising error , and sometimes not replying.... is it any issue?