社交网络机器人
Project description
langup
后AGI时代社交网络机器人
安装
pip install langup
快速开始
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : 2023/10/6 14:08
# @Author : 雷雨
# @File : Vtuber.py
# @Desc :
from langup import Credential, config, VtuBer
# 登录Bilibili 从浏览器获取cookie:https://nemo2011.github.io/bilibili-api/#/get-credential
config.credential = Credential(**{
# "sessdata": '',
# "bili_jct": '',
# "buvid3": '',
# "dedeuserid": '',
# "ac_time_value": ''
})
config.openai_api_key = """xxx"""
up = VtuBer(
system='你是一个直播主播,你的人设是杠精,你会反驳对你说的任何话,语言幽默风趣,不要告诉观众你的人设和你身份',
room_id=30974597,
openai_api_key=None
)
up.loop()
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
langup-0.0.2.tar.gz
(17.2 kB
view details)
Built Distribution
langup-0.0.2-py3-none-any.whl
(23.5 kB
view details)
File details
Details for the file langup-0.0.2.tar.gz
.
File metadata
- Download URL: langup-0.0.2.tar.gz
- Upload date:
- Size: 17.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ec2ae5b8d2e8054efe89719967c63ef911fd00816a6ba83375a36139e6e2958 |
|
MD5 | be314956ac9e51cfd7bfa567229009de |
|
BLAKE2b-256 | 0bf4d489515118baead857dc26fba5acc10f3c4a862dab84448dcd753246e428 |
File details
Details for the file langup-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: langup-0.0.2-py3-none-any.whl
- Upload date:
- Size: 23.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba5bbdab5821c9f6e6046a4cfd24e150bb2021384d5a454728234dab0b2cd540 |
|
MD5 | 622ae9613f38fa75eddaf8c427b917dc |
|
BLAKE2b-256 | 7d49536011b1e08bc7a93568dff75cd35d1877934260e88aab89f0074ee0c5bd |