Merge branch 'support-multi-embedding' of https://github.com/langflow-ai/openrag into support-multi-embedding
This commit is contained in:
commit
0bb0b621f0
5 changed files with 40 additions and 26 deletions
42
README.md
42
README.md
|
|
@ -18,27 +18,29 @@ OpenRAG is a comprehensive Retrieval-Augmented Generation platform that enables
|
||||||
</div>
|
</div>
|
||||||
<div align="center">
|
<div align="center">
|
||||||
<a href="#quickstart" style="color: #0366d6;">Quickstart</a> |
|
<a href="#quickstart" style="color: #0366d6;">Quickstart</a> |
|
||||||
<a href="#tui-interface" style="color: #0366d6;">TUI Interface</a> |
|
<a href="#install-python-package" style="color: #0366d6;">Python package</a> |
|
||||||
<a href="#docker-deployment" style="color: #0366d6;">Docker Deployment</a> |
|
<a href="#docker-or-podman-installation" style="color: #0366d6;">Docker or Podman</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>
|
||||||
|
|
||||||
## Quickstart
|
## Quickstart
|
||||||
|
|
||||||
To quickly run OpenRAG without creating or modifying any project files, use `uvx`:
|
To run OpenRAG without creating or modifying any project files, use `uvx`:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
uvx openrag
|
uvx openrag
|
||||||
```
|
```
|
||||||
This runs OpenRAG without installing it to your project or globally.
|
|
||||||
To run a specific version of OpenRAG, add the version to the command, such as: `uvx --from openrag==0.1.25 openrag`.
|
This command runs OpenRAG without installing it to your project or globally.
|
||||||
|
|
||||||
|
To run a specific version of OpenRAG, run `uvx --from openrag==VERSION openrag`.
|
||||||
|
|
||||||
## Install Python package
|
## Install Python package
|
||||||
|
|
||||||
To first set up a project and then install the OpenRAG Python package, do the following:
|
To add the OpenRAG Python package to a Python project, use `uv`:
|
||||||
|
|
||||||
1. Create a new project with a virtual environment using `uv init`.
|
1. Create a new project with a virtual environment using `uv init`:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
uv init YOUR_PROJECT_NAME
|
uv init YOUR_PROJECT_NAME
|
||||||
|
|
@ -48,33 +50,33 @@ To first set up a project and then install the OpenRAG Python package, do the fo
|
||||||
The `(venv)` prompt doesn't change, but `uv` commands will automatically use the project's virtual environment.
|
The `(venv)` prompt doesn't change, but `uv` commands will automatically use the project's virtual environment.
|
||||||
For more information on virtual environments, see the [uv documentation](https://docs.astral.sh/uv/pip/environments).
|
For more information on virtual environments, see the [uv documentation](https://docs.astral.sh/uv/pip/environments).
|
||||||
|
|
||||||
2. Add OpenRAG to your project.
|
2. Add OpenRAG to your project:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
uv add openrag
|
uv add openrag
|
||||||
```
|
```
|
||||||
|
|
||||||
To add a specific version of OpenRAG:
|
To add a specific version of OpenRAG, run `uv add openrag==VERSION`.
|
||||||
```bash
|
|
||||||
uv add openrag==0.1.25
|
3. Start the OpenRAG terminal user interface (TUI):
|
||||||
```
|
|
||||||
|
|
||||||
3. Start the OpenRAG TUI.
|
|
||||||
```bash
|
```bash
|
||||||
uv run openrag
|
uv run openrag
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Continue with the [Quickstart](https://docs.openr.ag/quickstart).
|
4. Continue with the [Quickstart](https://docs.openr.ag/quickstart).
|
||||||
|
|
||||||
For the full TUI installation guide, see [TUI](https://docs.openr.ag/install).
|
For all installation options, see the [OpenRAG installation guide](https://docs.openr.ag/install).
|
||||||
|
|
||||||
## Docker or Podman installation
|
## Docker or Podman installation
|
||||||
|
|
||||||
For more information, see [Install OpenRAG containers](https://docs.openr.ag/docker).
|
By default, OpenRAG automatically starts the required containers and helps you manage them.
|
||||||
|
To install OpenRAG with self-managed containers, see the [OpenRAG installation guide](https://docs.openr.ag/docker).
|
||||||
## Troubleshooting
|
|
||||||
|
|
||||||
For common issues and fixes, see [Troubleshoot](https://docs.openr.ag/support/troubleshoot).
|
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
||||||
For developers wanting to contribute to OpenRAG or set up a development environment, see [CONTRIBUTING.md](CONTRIBUTING.md).
|
For developers wanting to contribute to OpenRAG or set up a development environment, see [CONTRIBUTING.md](CONTRIBUTING.md).
|
||||||
|
|
||||||
|
## Troubleshooting
|
||||||
|
|
||||||
|
For common issues and fixes, see [Troubleshoot OpenRAG](https://docs.openr.ag/support/troubleshoot).
|
||||||
|
|
@ -18,7 +18,7 @@ OpenRAG has two Docker Compose files. Both files deploy the same applications an
|
||||||
|
|
||||||
- Install the following:
|
- Install the following:
|
||||||
|
|
||||||
- [Python](https://www.python.org/downloads/release/python-3100/) version 3.10 to 3.13.
|
- [Python](https://www.python.org/downloads/release/python-3100/) version 3.13 or later.
|
||||||
- [uv](https://docs.astral.sh/uv/getting-started/installation/).
|
- [uv](https://docs.astral.sh/uv/getting-started/installation/).
|
||||||
- [Podman](https://podman.io/docs/installation) (recommended) or [Docker](https://docs.docker.com/get-docker/).
|
- [Podman](https://podman.io/docs/installation) (recommended) or [Docker](https://docs.docker.com/get-docker/).
|
||||||
- [`podman-compose`](https://docs.podman.io/en/latest/markdown/podman-compose.1.html) or [Docker Compose](https://docs.docker.com/compose/install/). To use Docker Compose with Podman, you must alias Docker Compose commands to Podman commands.
|
- [`podman-compose`](https://docs.podman.io/en/latest/markdown/podman-compose.1.html) or [Docker Compose](https://docs.docker.com/compose/install/). To use Docker Compose with Podman, you must alias Docker Compose commands to Podman commands.
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ If you prefer running Podman or Docker containers and manually editing `.env` fi
|
||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
- All OpenRAG installations require [Python](https://www.python.org/downloads/release/python-3100/) version 3.10 to 3.13.
|
- All OpenRAG installations require [Python](https://www.python.org/downloads/release/python-3100/) version 3.13 or later.
|
||||||
|
|
||||||
- If you aren't using the automatic installer script, install the following:
|
- If you aren't using the automatic installer script, install the following:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ This quickstart requires the following:
|
||||||
This quickstart uses OpenAI for simplicity.
|
This quickstart uses OpenAI for simplicity.
|
||||||
For other providers, see the complete [installation guide](/install).
|
For other providers, see the complete [installation guide](/install).
|
||||||
|
|
||||||
- [Python](https://www.python.org/downloads/release/python-3100/) version 3.10 to 3.13.
|
- [Python](https://www.python.org/downloads/release/python-3100/) version 3.13 or later.
|
||||||
|
|
||||||
- Microsoft Windows only: To run OpenRAG on Windows, you must use the Windows Subsystem for Linux (WSL).
|
- Microsoft Windows only: To run OpenRAG on Windows, you must use the Windows Subsystem for Linux (WSL).
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,11 @@ import {
|
||||||
DialogTrigger,
|
DialogTrigger,
|
||||||
} from "@/components/ui/dialog";
|
} from "@/components/ui/dialog";
|
||||||
import { StatusBadge } from "@/components/ui/status-badge";
|
import { StatusBadge } from "@/components/ui/status-badge";
|
||||||
|
import {
|
||||||
|
Tooltip,
|
||||||
|
TooltipContent,
|
||||||
|
TooltipTrigger,
|
||||||
|
} from "@/components/ui/tooltip";
|
||||||
import {
|
import {
|
||||||
DeleteConfirmationDialog,
|
DeleteConfirmationDialog,
|
||||||
formatFilesToDelete,
|
formatFilesToDelete,
|
||||||
|
|
@ -156,9 +161,16 @@ function SearchPage() {
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{getSourceIcon(data?.connector_type)}
|
{getSourceIcon(data?.connector_type)}
|
||||||
<span className="font-medium text-foreground truncate">
|
<Tooltip>
|
||||||
{value}
|
<TooltipTrigger asChild>
|
||||||
</span>
|
<span className="font-medium text-foreground truncate">
|
||||||
|
{value}
|
||||||
|
</span>
|
||||||
|
</TooltipTrigger>
|
||||||
|
<TooltipContent side="top" align="start">
|
||||||
|
{value}
|
||||||
|
</TooltipContent>
|
||||||
|
</Tooltip>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue