PyCharacterAI
PyCharacterAI copied to clipboard
An unofficial Python api wrapper for character.ai
This repository may seem old but I'm currently working on to integrate this api onto a discord bot somehow. I'm also using replit.com as the platform for it to run....
``` import asyncio from PyCharacterAI import Client token = "" async def main(): client = Client() await client.authenticate_with_token(token) username = (await client.fetch_user())['user']['username'] print(f'Authenticated as {username}') character_id = "" chat =...
The project lists `uuid` as a dependency. This causes `pip` to download the dependency from https://pypi.org/project/uuid/. This package is for older versions of Python and is not relevant now for...
after running the specified installation command for PIP, `pip install PyCharacterAI` it gave me this error: ``` Collecting PyCharacterAI Using cached PyCharacterAI-1.1.0.tar.gz (11 kB) Installing build dependencies ... done Getting...
I had to dig a little bit into the code and output a response, in the end I get it, even if I use an example 
(.venv) PS C:\Users\Антон\Desktop\test\examples> python.exe simple_example.py C:\Users\Антон\Desktop\test\.venv\lib\site-packages\curl_cffi\aio.py:137: RuntimeWarning: Proactor event loop does not implement add_reader family of methods required. Registering an additional selector thread for add_reader support. To avoid this warning...
When running an async script using the PyCharacterAI library (which depends on curl_cffi), I encountered a TypeError caused by an invalid enum membership check in the websockets.py file. This error...
  providing url are not valid now, help~~~
struggling to find out the voice_id! I'm trying to make a possible discord bot for the character ai
The ai randomly stops when we talk and says `` An error occurred: Cannot send message. Unknown command: filter_user_input``1