社交网络机器人
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.3.tar.gz
(17.2 kB
view details)
Built Distribution
langup-0.0.3-py3-none-any.whl
(23.6 kB
view details)
File details
Details for the file langup-0.0.3.tar.gz
.
File metadata
- Download URL: langup-0.0.3.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 | c637001f0966207d9c5ef8adeca214c0e92c07fb978ebff82c8c2592471ae9ff |
|
MD5 | 24a43969064eee993f04b75043a5b8cd |
|
BLAKE2b-256 | cc6b287c6795540bee012efe2aee840ce890aee365d1632ea47c2bdf1ab55583 |
File details
Details for the file langup-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: langup-0.0.3-py3-none-any.whl
- Upload date:
- Size: 23.6 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 | 2de34d0787de465c50c9dfa875c1ce1276cec1f303a90d5523cb7e73e1b285ca |
|
MD5 | 5d863982d5ca0d14d84000326ff58c2a |
|
BLAKE2b-256 | ee9c31abeecfc63444eb62925c48da316eaec28245496282908f2601b133c11d |