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 "who are you"
Returns: I am YouBot, a large language model developed by You.com. ...
Note on zsh - you must use single quotes
youchat 'who are you?'
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-1.1.2.tar.gz
(6.1 kB
view hashes)
Built Distribution
Close
Hashes for youchat_py-1.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7e4ad6f0f9a832c6dddbb70076367723d3b4a9071b71dc1a30badc6fc7abfe9 |
|
MD5 | 4d1d0b4192f578880057204f3ac656b7 |
|
BLAKE2b-256 | ecafd9a62328322dde4a4c387800d41e73f551af3f19d7608cb2fd5150fc6270 |