Skip to main content

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


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)

Uploaded Source

Built Distribution

juchats-0.0.1-py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page