Simple communication with YouChat in python.
Project description
youchat-py
Simple communication with YouChat in python.
Installation
pip install youchat-py
Usage
usage: youchat [-h] [-out_type OUT_TYPE] MESSAGE
positional arguments:
MESSAGE Message to YouChat
options:
-h, --help show this help message and exit
-out_type OUT_TYPE, -ot OUT_TYPE
Output type
Example 1
Use in CLI mode
> youchat "Hello!"
Returns: `'{"generated_text": "Hello! How can I assist you today?"}'`
> youchat -out_type string "How are you?"
Returns: `'As an AI language model, I don't have feelings in the same way humans ...'`
Example 2
Use in module mode test_unit.py:
from youchat import you_message
print( you_message(text='Hello, World!', out_type="string") )
Returns: '"Hello, World!" is a common phrase used in ...'
Used library
- seleniumbase
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
youchat-py-0.2.2.tar.gz
(5.7 kB
view hashes)
Built Distribution
Close
Hashes for youchat_py-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c5c391373e3a1bcdac7ef0afc9678e1c3c41cec00fd1db74c82a5f3c5349599 |
|
MD5 | 1da7e1562f52e302bae3b3e27ae0e852 |
|
BLAKE2b-256 | 0ea857f8c5774d735bf5fa6c0a49faef484a83e52a3c763563ebf7c7dc7ffcdd |