Metadata-Version: 2.1
Name: langup
Version: 0.0.4
Summary: 社交网络机器人
Home-page: https://github.com/jiran214/langup-ai/tree/master
Author: ran
Author-email: jiran214@qq.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: edge-tts (==6.1.8)
Requires-Dist: bilibili-api-python (==16.1.0)
Requires-Dist: openai (==0.28.0)
Requires-Dist: langchain (~=0.0.286)
Requires-Dist: ratelimit (==2.2.1)
Requires-Dist: pygame (~=2.5.1)
Requires-Dist: scipy (==1.7.3)
Requires-Dist: httpx (~=0.24.1)
Requires-Dist: requests (~=2.31.0)
Requires-Dist: pydantic (~=2.3.0)
Requires-Dist: urllib3 (==1.2.7)
Requires-Dist: aiofiles (~=23.2.1)
Requires-Dist: setuptools (~=65.5.1)

# langup
后AGI时代社交网络机器人

## 安装
```shell
pip install langup
```

## 快速开始
```python
#!/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()
```
