clean-links-and-add-guidance
This commit is contained in:
parent
a4a8331d8c
commit
e865d0ffd0
1 changed files with 34 additions and 53 deletions
87
README.md
87
README.md
|
|
@ -4,15 +4,14 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div align="center">
|
<div align="center">
|
||||||
<a href="#quick-start" style="color: #0366d6;">🚀 Quick Start</a> |
|
<a href="#quick-start" style="color: #0366d6;">Quick Start</a> |
|
||||||
<a href="#tui-interface" style="color: #0366d6;">💻 TUI Interface</a> |
|
<a href="#tui-interface" style="color: #0366d6;">TUI Interface</a> |
|
||||||
<a href="#docker-deployment" style="color: #0366d6;">🐳 Docker Deployment</a> |
|
<a href="#docker-deployment" style="color: #0366d6;">Docker Deployment</a> |
|
||||||
<a href="#development" style="color: #0366d6;">⚙️ Development</a> |
|
<a href="#development" style="color: #0366d6;">Development</a> |
|
||||||
<a href="#troubleshooting" style="color: #0366d6;">🔧 Troubleshooting</a>
|
<a href="#troubleshooting" style="color: #0366d6;">Troubleshooting</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
OpenRAG is a comprehensive Retrieval-Augmented Generation platform that enables intelligent document search and AI-powered conversations. Users can upload, process, and query documents through a chat interface backed by large language models and semantic search capabilities. The system utilizes Langflow for document ingestion, retrieval workflows, and intelligent nudges, providing a seamless RAG experience. Built with Starlette, Next.js, OpenSearch, and Langflow integration. [](https://deepwiki.com/phact/openrag)
|
OpenRAG is a comprehensive Retrieval-Augmented Generation platform that enables intelligent document search and AI-powered conversations. Users can upload, process, and query documents through a chat interface backed by large language models and semantic search capabilities. The system utilizes Langflow for document ingestion, retrieval workflows, and intelligent nudges, providing a seamless RAG experience. Built with Starlette, Next.js, OpenSearch, and Langflow integration. [](https://deepwiki.com/phact/openrag)
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -27,12 +26,7 @@ OpenRAG is a comprehensive Retrieval-Augmented Generation platform that enables
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
## Quick Start
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## 🚀 Quick Start
|
|
||||||
|
|
||||||
### Prerequisites
|
### Prerequisites
|
||||||
|
|
||||||
|
|
@ -62,7 +56,8 @@ LANGFLOW_CHAT_FLOW_ID=your_chat_flow_id
|
||||||
LANGFLOW_INGEST_FLOW_ID=your_ingest_flow_id
|
LANGFLOW_INGEST_FLOW_ID=your_ingest_flow_id
|
||||||
NUDGES_FLOW_ID=your_nudges_flow_id
|
NUDGES_FLOW_ID=your_nudges_flow_id
|
||||||
```
|
```
|
||||||
See extended configuration, including ingestion and optional variables: [docs/reference/configuration.md](docs/docs/reference/configuration.md)
|
See extended configuration, including ingestion and optional variables: [docs/reference/configuration.mdx](docs/docs/reference/configuration.mdx)
|
||||||
|
|
||||||
### 3. Start OpenRAG
|
### 3. Start OpenRAG
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
@ -80,13 +75,17 @@ Access the services:
|
||||||
- **OpenSearch**: http://localhost:9200
|
- **OpenSearch**: http://localhost:9200
|
||||||
- **OpenSearch Dashboards**: http://localhost:5601
|
- **OpenSearch Dashboards**: http://localhost:5601
|
||||||
|
|
||||||
## 🖥️ TUI Interface
|
With OpenRAG started, ingest and retrieve documents with the [OpenRAG Quickstart](/docs/get-started/quickstart.mdx).
|
||||||
|
|
||||||
|
## TUI interface
|
||||||
|
|
||||||
OpenRAG includes a powerful Terminal User Interface (TUI) for easy setup, configuration, and monitoring. The TUI provides a user-friendly way to manage your OpenRAG installation without complex command-line operations.
|
OpenRAG includes a powerful Terminal User Interface (TUI) for easy setup, configuration, and monitoring. The TUI provides a user-friendly way to manage your OpenRAG installation without complex command-line operations.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### Launching the TUI
|
### Launch OpenRAG with the TUI
|
||||||
|
|
||||||
|
From the repository root, run:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Install dependencies first
|
# Install dependencies first
|
||||||
|
|
@ -96,66 +95,48 @@ uv sync
|
||||||
uv run openrag
|
uv run openrag
|
||||||
```
|
```
|
||||||
|
|
||||||
### TUI Features
|
For the full TUI guide, see [docs/get-started/tui.mdx](docs/docs/get-started/tui.mdx)
|
||||||
|
|
||||||
See the full TUI guide for features, navigation, and benefits: [docs/get-started/tui.mdx](docs/docs/get-started/tui.mdx)
|
## Docker Deployment
|
||||||
|
|
||||||
|
The repository includes two Docker Compose files.
|
||||||
|
They deploy the same applications and containers, but to different environments.
|
||||||
|
|
||||||
|
- [`docker-compose.yml`](https://github.com/langflow-ai/openrag/blob/main/docker-compose.yml) is an OpenRAG deployment with GPU support for accelerated AI processing.
|
||||||
|
|
||||||
|
- [`docker-compose-cpu.yml`](https://github.com/langflow-ai/openrag/blob/main/docker-compose-cpu.yml) is a CPU-only version of OpenRAG for systems without GPU support. Use this Docker compose file for environments where GPU drivers aren't available.
|
||||||
|
|
||||||
## 🐳 Docker Deployment
|
1. Clone the OpenRAG repository.
|
||||||
|
```bash
|
||||||
### Standard Deployment
|
git clone https://github.com/langflow-ai/openrag.git
|
||||||
|
cd openrag
|
||||||
|
```
|
||||||
|
|
||||||
|
2. Build and start all services.
|
||||||
|
|
||||||
|
For the GPU-accelerated deployment, run:
|
||||||
```bash
|
```bash
|
||||||
# Build and start all services
|
|
||||||
docker compose build
|
docker compose build
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
### CPU-Only Deployment
|
For environments without GPU support, run:
|
||||||
|
|
||||||
For environments without GPU support:
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker compose -f docker-compose-cpu.yml up -d
|
docker compose -f docker-compose-cpu.yml up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
More deployment commands and tips: [docs/get-started/docker.mdx](docs/docs/get-started/docker.mdx)
|
For more information, see [docs/get-started/docker.mdx](docs/docs/get-started/docker.mdx)
|
||||||
|
|
||||||
## 🔧 Troubleshooting
|
## Troubleshooting
|
||||||
|
|
||||||
### Podman on macOS
|
For common issues and fixes, see [docs/support/troubleshoot.mdx](docs/docs/support/troubleshoot.mdx).
|
||||||
|
|
||||||
If using Podman on macOS, you may need to increase VM memory:
|
## Development
|
||||||
|
|
||||||
```bash
|
|
||||||
podman machine stop
|
|
||||||
podman machine rm
|
|
||||||
podman machine init --memory 8192 # 8 GB example
|
|
||||||
podman machine start
|
|
||||||
```
|
|
||||||
|
|
||||||
### Common Issues
|
|
||||||
|
|
||||||
See common issues and fixes: [docs/support/troubleshoot.mdx](docs/docs/reference/troubleshoot.mdx)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## 🛠️ Development
|
|
||||||
|
|
||||||
For developers wanting to contribute to OpenRAG or set up a development environment, please see our comprehensive development guide:
|
For developers wanting to contribute to OpenRAG or set up a development environment, please see our comprehensive development guide:
|
||||||
|
|
||||||
**[📚 See CONTRIBUTING.md for detailed development instructions](CONTRIBUTING.md)**
|
**[📚 See CONTRIBUTING.md for detailed development instructions](CONTRIBUTING.md)**
|
||||||
|
|
||||||
The contributing guide includes:
|
|
||||||
- Complete development environment setup
|
|
||||||
- Local development workflows
|
|
||||||
- Testing and debugging procedures
|
|
||||||
- Code style guidelines
|
|
||||||
- Architecture overview
|
|
||||||
- Pull request guidelines
|
|
||||||
|
|
||||||
### Quick Development Commands
|
### Quick Development Commands
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue