Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shellc/laozy

Laozy is a self-hosted web application that helps you build and deploy LLM-based dialogue robots. The robot you built can connect to instant messaging platforms like WeChat, Telegram, etc. You can also integrate it into your app with REST APIs.
https://github.com/shellc/laozy

chatbot chatglm chatgpt gpt langchain llm llms wechat

Last synced: 3 months ago
JSON representation

Laozy is a self-hosted web application that helps you build and deploy LLM-based dialogue robots. The robot you built can connect to instant messaging platforms like WeChat, Telegram, etc. You can also integrate it into your app with REST APIs.

Awesome Lists containing this project

README

        

# Laozy

[English](./README.md) | [中文](./README_cn.md)

Laozy is a self-hosted web application that helps you build and deploy LLM-based dialogue robots.

The robot you built can connect to instant messaging platforms like WeChat, Telegram, etc. You can also integrate it into your app with REST APIs.

![Arch](./assets/images/arch.png)

## Version

* Current version: 0.0.1
* Status: Preview

### Features

| Feature | Description | Release |
| -- | -- | -- |
| gpt-3.5-turbo | Langchain | 0.0.1 |
| Knowledge base | chromadb in-memory | 0.0.1 |
| REST API | Document not yet completed | 0.0.1 |
| WeChat Customer Service| Connect robot to WeChat Customer Service | 0.0.1 |
| Installation and deployment | Under development |

## Installtion

### Configuration

```
mkdir ~/.laozy
cp ./migrations/settings.ini ~/.laozy/settings.ini
```

### Install Dependencies
```
pip3 install -r requirements.txt
```

### Setup Database

```
alembic -c ./migrations/alembic.ini revision --autogenerate
alembic -c ./migrations/alembic.ini upgrade head
```

### Start

```
export PYTHONPATH=.
./bin/laozy
```

## Screenshots

| | | | |
| :--: | :--: | :--: | :--: |
| Stock Analysis | Knowledge Base | Translator | Prompting |
| Stock analysis | Knowledge base | Translator | Prompting |
| Doctor assistant | Friend | Robot| Wechat Customer Service | |
| Doctor's assitant | Playmate | Conversation bot configuration | WeChat Customer Service |

## Dependencies

* fastapi
* SQLAlchemy
* langchain
* openai
* chromadb

## Contribution

Welcome to contribute code and provide feedback.