No project description provided
Project description
Juchats API wrapper.
Example:
import os
from juchats.chat import Juchats
from dotenv import load_dotenv
import asyncio
load_dotenv()
async def api():
token = os.getenv('JTOKEN')
juchats = Juchats(token, model='deepseek-chat')
async with juchats:
await juchats.chat("3.11 3.9 两个浮点数谁大?具体分析一下,给出你的原因。",
show_stream=True)
if __name__ == '__main__':
asyncio.run(api())
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
juchats-0.0.1.tar.gz
(3.9 kB
view hashes)