Skip to main content

阿里通义千问逆向工程API

Project description

revTongYi

阿里通义千问Python逆向API

pip install revTongYi --upgrade
import revTongYi

question = "人工智能将对人类社会发展产生什么影响?"

session = revTongYi.Session(
    cookies=cookies_dict,
    firstQuery=question
)

print(
    next(
        session.ask(
            prompt=question
        )
    )
)

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

revtongyi-0.0.0.1.tar.gz (17.5 kB view hashes)

Uploaded Source

Built Distribution

revtongyi-0.0.0.1-py3-none-any.whl (16.2 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