PyCharacterAI icon indicating copy to clipboard operation
PyCharacterAI copied to clipboard

An unofficial Python api wrapper for character.ai

Results 20 PyCharacterAI issues
Sort by recently updated
recently updated
newest added

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 ![image](https://github.com/Xtr4F/PyCharacterAI/assets/94784342/66f3ae8b-aa82-4f5e-a7d7-3c3016b8d1c9)

(.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...

![Image](https://github.com/user-attachments/assets/069fdfc2-441a-404f-8258-d4b5479b31dd) ![Image](https://github.com/user-attachments/assets/c32fbbe2-6779-4253-95fa-2b186697169d) 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

question

The ai randomly stops when we talk and says `` An error occurred: Cannot send message. Unknown command: filter_user_input``1