Skip to content

Commit

Permalink
del: archi from readme
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexisVLRT committed Jan 4, 2024
1 parent 096fa04 commit f093768
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,6 @@ streamlit run frontend/app.py
You should than be able to login and chat to the bot:
![](docs/login_and_chat.gif)


## Architecture

### The `frontend`, the `backend`, and the `database`

The whole goal of this repo is to decouple the "computing and LLM querying" part from the "rendering a user interface" part. We do this with a typical 3-tier architecture.

![](docs/3t_architecture.png)

- The [frontend](frontend) is the end user facing part. It reches out to the backend **ONLY** through the REST API. We provide a frontend demo here for convenience, but ultimately it could live in a completely different repo, and be written in a completely different language.
- The [backend](backend) provides a REST API to abstract RAG functionalities. It handles calls to LLMs, tracks conversations and users, handles the state management using a db, and much more. To get the gist of the backend, look at the of the API: http://0.0.0.0:8000/docs
- The [database](database) is only accessed by the backend and persists the state of the RAG application. [Explore the data model here.](https://dbdiagram.io/d/RAGAAS-63dbdcc6296d97641d7e07c8)


## Documentation

To deep dive into under the hood, take a look at the documentation:
Expand Down

0 comments on commit f093768

Please sign in to comment.