Spaces:
Runtime error
Runtime error
π§Ή Minor changes
Browse files
README.md
CHANGED
@@ -4,6 +4,18 @@
|
|
4 |
|
5 |
π€ Megabots provides State-of-the-art, production ready bots made mega-easy, so you don't have to build them from scratch π€― Create a bot, now π«΅
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
Note: This is a work in progress. The API might change.
|
8 |
|
9 |
```bash
|
@@ -52,20 +64,6 @@ from megabots import bot, create_interface
|
|
52 |
demo = create_interface(QnABot("qna-over-docs"))
|
53 |
```
|
54 |
|
55 |
-
### Features
|
56 |
-
|
57 |
-
- [x] Create a question answering bot over your documents with one line of code using GPT
|
58 |
-
- [x] Save / load index to reduce costs (Open AI embedings are used to create the index)
|
59 |
-
- [x] Local data source (directory of documents) or S3 data source
|
60 |
-
- [x] FAISS for storing vectors / index
|
61 |
-
- [x] Expose bot over API using FastAPI
|
62 |
-
- [x] Gradio UI
|
63 |
-
- [ ] Integration with [guardrails](https://github.com/ShreyaR/guardrails)
|
64 |
-
- [ ] Integration with [GPTCache](https://github.com/zilliztech/GPTCache)
|
65 |
-
- [ ] Support for other vector databases (e.g. Weaviate, Pinecone)
|
66 |
-
- [ ] Customise prompt
|
67 |
-
- [ ] Support for LLaMA model
|
68 |
-
|
69 |
### Here's how it works
|
70 |
|
71 |
Large language models (LLMs) are powerful, but they can't answer questions about documents they haven't seen. If you want to use an LLM to answer questions about documents it was not trained on, you have to give it information about those documents. To solve this, we use "retrieval augmented generation."
|
|
|
4 |
|
5 |
π€ Megabots provides State-of-the-art, production ready bots made mega-easy, so you don't have to build them from scratch π€― Create a bot, now π«΅
|
6 |
|
7 |
+
The Megabots library can be used to create bots that:
|
8 |
+
|
9 |
+
- βοΈ are production ready bots in minutes
|
10 |
+
- ποΈ can answer questions over documents
|
11 |
+
- π§ββοΈ can act personal assistants and use agents and tools (Coming soon)
|
12 |
+
- π£οΈ can accept voice (Coming soon)
|
13 |
+
- π validate and correct the outputs of large language models (Coming soon)
|
14 |
+
- π° semanticly cache LLM Queries and reduce your LLM API Costs by 10x (Coming soon)
|
15 |
+
- ποΈ are mega-easily to train (Coming soon)
|
16 |
+
|
17 |
+
π€ Megabots is backed by some of the most famous tools for productionalising AI. It uses [LangChain](https://docs.langchain.com/docs/) for managing LLM chains, [FastAPI](https://fastapi.tiangolo.com/) to create a production ready API, [Gradio](https://gradio.app/) to create a UI. At the moment it uses [OpenAI](https://openai.com/) to generate answers, but we plan to support other LLMs in the future.
|
18 |
+
|
19 |
Note: This is a work in progress. The API might change.
|
20 |
|
21 |
```bash
|
|
|
64 |
demo = create_interface(QnABot("qna-over-docs"))
|
65 |
```
|
66 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
### Here's how it works
|
68 |
|
69 |
Large language models (LLMs) are powerful, but they can't answer questions about documents they haven't seen. If you want to use an LLM to answer questions about documents it was not trained on, you have to give it information about those documents. To solve this, we use "retrieval augmented generation."
|