Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ragapp/ragapp

The easiest way to use RAG in any enterprise
https://github.com/ragapp/ragapp

Last synced: about 1 month ago
JSON representation

The easiest way to use RAG in any enterprise

Awesome Lists containing this project

README

        

Logo - RAGapp

The easiest way to use Agentic RAG in any enterprise.

As simple to configure as OpenAI's custom GPTs, but deployable in your own cloud infrastructure using Docker. Built using LlamaIndex.


Get Started ·
Endpoints ·
Deployment ·
Contact



Screenshot

## Get Started

To run, start a docker container with our image:

```shell
docker run -p 8000:8000 ragapp/ragapp
```

Then, access the Admin UI at http://localhost:8000/admin to configure your RAGapp.

You can use hosted AI models from OpenAI or Gemini, and local models using [Ollama](https://ollama.com/).

> _Note_: To avoid [running into any errors](https://github.com/ragapp/ragapp/issues/22), we recommend using the latest version of Docker and (if needed) Docker Compose.

## Endpoints

The docker container exposes the following endpoints:

- Admin UI: http://localhost:8000/admin
- Chat UI: http://localhost:8000
- API: http://localhost:8000/docs

> _Note_: The Chat UI and API are only functional if the RAGapp is configured.

## Security

### Authentication

Just the RAGapp container doesn't come with any authentication layer by design. This is the task
of an API Gateway routing the traffic to RAGapp.
This step heavily depends on your cloud provider and the services you use.
For a pure Docker Compose environment, you can look at our [RAGapp with management UI](./deployments/multiple-ragapps) deployment.

### Authorization

Later versions of RAGapp will support restricting access based on access tokens forwarded from an API Gateway or similar.

## Deployment

### Using Docker Compose

You can easily deploy RAGapp to your own infrastructure with one of these Docker Compose deployments:

1. [RAGapp with Ollama and Qdrant](./deployments/single)
2. [Multiple RAGapps with a management UI](./deployments/multiple-ragapps)

### Kubernetes

It's easy to deploy RAGapp in your own cloud infrastructure. Customized K8S deployment descriptors are coming soon.

## Development

### RAGApp:

> _Important_: Parts of this project's source code is dynamically retrieved from the [create-llama](https://github.com/run-llama/create-llama) project. Before committing changes, make sure to update the source code by calling `make build-frontends`.

Move to [src/ragapp](src/ragapp) directory and start with these commands:

```shell
export ENVIRONMENT=dev
poetry install --no-root
make build-frontends
make dev
```

Then, to check out the admin UI, go to http://localhost:3000/admin.

> _Note_: Make sure you have [Poetry](https://python-poetry.org/) installed.

## Contact

Questions, feature requests or found a bug? [Open an issue](https://github.com/ragapp/ragapp/issues/new/choose) or reach out to [marcusschiesser](https://github.com/marcusschiesser).

## Star History

[![Star History Chart](https://api.star-history.com/svg?repos=ragapp/ragapp&type=Date)](https://star-history.com/#ragapp/ragapp&Date)