Skip to main content

社交网络机器人

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


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.5.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

langup-0.0.5-py3-none-any.whl (23.6 kB view details)

Uploaded Python 3

File details

Details for the file langup-0.0.5.tar.gz.

File metadata

  • Download URL: langup-0.0.5.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for langup-0.0.5.tar.gz
Algorithm Hash digest
SHA256 59ebe8fd315dea7951d23c3b3533a7fe4833c300c3543474db29e2e88ece5e01
MD5 8d26a620008763e9dd37424ac9f4a002
BLAKE2b-256 68b0df7eea0ba454ac7b817453f86c8a7b85ee443bc1191bcfd0164a497406de

See more details on using hashes here.

File details

Details for the file langup-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: langup-0.0.5-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

Hashes for langup-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 22e2191ade32b2faa8cba7a8257e8a21c56772ec579d3417ee7b0a48b616574c
MD5 16f9a320d95da825d64a2ccb311ee33b
BLAKE2b-256 3ece9464e5cd50be883b37bcd36afd150d744bf6cfb33a5f3886bbe337aadd6b

See more details on using hashes here.

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