Unofficial CLOVA X API
Project description
Naver Clova X Unofficial API
Unofficial API for Naver Clova X, a Korean AI LLM (Language Model) service.
Install
pip install clovax
How can I get cookie file?
- Install Get cookies.txt LOCALLY
- Export cookie
- Set cookie file path to
get_cookie
function
Usage
Start a conversation
from clovax import ClovaX
c = ClovaX()
c.get_cookie("[Your netscape cookie file]")
log = c.start("Hello world!")
print(log["text"])
Continue a conversation
from clovax import ClovaX
c = ClovaX()
c.get_cookie("[Your netscape cookie file]")
log = c.start("Hello world!")
print(log["text"])
log = c.continue_conversation("Who are you?")
print(log["text"])
Regenerate a conversation
from clovax import ClovaX
c = ClovaX()
c.get_cookie("[Your netscape cookie file]")
log = c.start("Hello world!")
log = c.regenerate()
print(log["text"])
TODO
- Login using given naver ID and password
- Get existed conversation using conversation ID
- Proxy support
- Support personas
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
clovax-0.0.5.tar.gz
(5.4 kB
view hashes)
Built Distribution
clovax-0.0.5-py3-none-any.whl
(5.7 kB
view hashes)