Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/pandodao/botastic

An AI framework for building cool things.
https://github.com/pandodao/botastic

ai chatbot chatgpt llm

Last synced: about 2 months ago
JSON representation

An AI framework for building cool things.

Awesome Lists containing this project

README

        

# Botastic

An AI framework for building cool things.

## 👀 Overview

![architecture](docs/arch.png)

## 💡 Motivation

- LLMs are fantastic for knowledge generation and reasoning as they're pre-trained on large amounts of publicly available data.
- In practice, we need LLMs to be able to reason about our own data. Fine-tuning them is often impractical. Embedding data into LLMs is a viable alternative, but requires domain expertise, and considerable effort to dealing with prompt limitations
- Botastic aims to make it easy to embed your own data into LLMs.
- Botastic also aims to provide out-of-the-box solutions to satisfy common use cases.
- It would to be easily integrated into existing systems and scalable to meet business requirements.
- We're building AI-based applications, we need Botastic to simplify the process.

## 🚀 Features

- [x] 🔌 Connect to OpenAI's LLM
- [x] 💾 Store and manage your own data as LLM's external brain
- [x] 🌐 Restful APIs
- [x] 💬 Conversations management to help you build dialogue interface based applications
- [x] 🤖 Bot/Avatar management and builtin useful bots: emotion recognition, sentiment analysis, spam checker, etc. Please refer to [TBD].
- [ ] 🧩 Customize Middlewares to extend Botastic's functionality
- [ ] 💾 Store vectors in Postgres and other databases
- [ ] 📦 Better strategies to split the data and build text chunks
- [ ] 📤 Export data
- [ ] 🙋‍♂️ Support other LLMs
- [ ] 📚 Fine-tune own models

## Getting Started

1. visit [https://developers.pando.im/console/botastic](https://developers.pando.im/console/botastic) to get your API key/secret, and create a new bot.
2. run the following command to talk to Botastic

```bash
curl --location --request POST 'https://botastic-api.pando.im/api/conversations/oneway' \
--header 'X-BOTASTIC-APPID: YOUR_BOTASTIC_APP_ID' \
--header 'Content-Type: application/json' \
--data-raw '{
"bot_id": YOUR_BOT_ID,
"content": "How do you view the future of blockchain, and what benefits does it have for human being? Respond as short as possible like a Zen Master.",
"category": "plain-text"
}'
```

## Documentation

Please refer to [Guide](https://developers.pando.im/guide/botastic.html) and [API Reference](https://developers.pando.im/references/botastic/api.html) for more details.

## Showcases

- [Ask Vitalik](https://ask-vitalik.xingchi.dev): A digital avatar of Vitalik Buterin.
- [Ask Scott Alexander](https://ask-scott.pages.dev/): A digital avatar of Scott Alexander.
- The author also wrote a [blog post](https://fayezheng.hashnode.dev/effortlessly-develop-custom-chatbots-a-code-light-approach) about how she built it.

## Installation

### Manually

Please refer to [docs/install.md](docs/install.md) for manual installation.

### Docker

TBD