Skip to content

Latest commit

 

History

History
63 lines (46 loc) · 1.73 KB

READMEEG.md

File metadata and controls

63 lines (46 loc) · 1.73 KB

Alibaba Cloud Free Big Model BaiLian API Usage Guide

中文 - English

A one-stop big model service platform based on the Tongyi series big model and open source big model.

Free address activation:https://bailian.aliyun.com

Usage demonstration:

Online experience address:

Support this project

Open a Pull Request and fix my code

Python version

  • Recommended version - Python 3.11+

Register

Log in to the Alibaba Cloud Bailian console:https://bailian.console.aliyun.com/

GET access_key_id

GET access_key_secret

GET agent_key

Create free applications on the Alibaba Cloud Bailian platform

GET app_id

session_id It is a session number, ensuring continuous conversation

Add the above content to the designated location in the code

Install

pip install broadscope_bailian

(Optional) It is best to use Alibaba Cloud's official pip

Switching method:

pip config set global.index-url https://mirrors.aliyun.com/pypi/simple
pip config set install.trusted-host mirrors.aliyun.com

Run

python3 main.py
python main.py

Run demonstration:

Disclaimers

This is the official product of Alibaba Cloud Bailian. This personal project is just an interface call method and has no relationship with Alibaba Cloud official. If there is any infringement, please contact me to delete it!