diff --git a/README.md b/README.md index 47bf2f2a..2db97a31 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ 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](https://github.com/Kludex/starlette) and [Next.js](https://github.com/vercel/next.js). Powered by [OpenSearch](https://github.com/opensearch-project/OpenSearch), [Langflow](https://github.com/langflow-ai/langflow), and [Docling](https://github.com/docling-project/docling). -Ask DeepWiki +Ask DeepWiki
@@ -26,11 +26,17 @@ OpenRAG is a comprehensive Retrieval-Augmented Generation platform that enables ## Quickstart -Use the OpenRAG Terminal User Interface (TUI) to manage your OpenRAG installation without complex command-line operations. +To quickly run OpenRAG without creating or modifying any project files, use `uvx`: -To quickly install and start OpenRAG, run `uvx openrag`. +```bash +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`. -To first set up a project and then install OpenRAG, do the following: +## Install Python package + +To first set up a project and then install the OpenRAG Python package, do the following: 1. Create a new project with a virtual environment using `uv init`. @@ -42,17 +48,22 @@ To first set up a project and then install OpenRAG, do the following: 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). -2. Ensure all dependencies are installed and updated in your virtual environment. +2. Add OpenRAG to your project. ```bash - uv sync + uv add openrag ``` -3. Install and start the OpenRAG TUI. + To add a specific version of OpenRAG: ```bash - uvx openrag + uv add openrag==0.1.25 ``` - - To install a specific version of the Langflow package, add the required version to the command, such as `uvx --from openrag==0.1.25 openrag`. + +3. Start the OpenRAG TUI. + ```bash + uv run openrag + ``` + +4. Continue with the [Quickstart](https://docs.openr.ag/quickstart). For the full TUI installation guide, see [TUI](https://docs.openr.ag/install). diff --git a/docs/docs/_partial-onboarding.mdx b/docs/docs/_partial-onboarding.mdx index 6fc5c87e..3f2de8fb 100644 --- a/docs/docs/_partial-onboarding.mdx +++ b/docs/docs/_partial-onboarding.mdx @@ -3,7 +3,9 @@ import TabItem from '@theme/TabItem'; ## Application onboarding -The first time you start OpenRAG, whether using the TUI or a `.env` file, you must complete application onboarding. +The first time you start OpenRAG, whether using the TUI or a `.env` file, it's recommended that you complete application onboarding. + +To skip onboarding, click **Skip onboarding**. Values from onboarding can be changed later in the OpenRAG **Settings** page. @@ -17,17 +19,19 @@ Choose one LLM provider and complete only those steps: 3. To load 2 sample PDFs, enable **Sample dataset**. This is recommended, but not required. 4. Click **Complete**. - 5. Continue with the [Quickstart](/quickstart). + 5. To complete the onboarding tasks, click **What is OpenRAG**, and then click **Add a Document**. + 6. Continue with the [Quickstart](/quickstart). - 1. Complete the fields for **watsonx.ai API Endpoint**, **IBM API key**, and **IBM Project ID**. + 1. Complete the fields for **watsonx.ai API Endpoint**, **IBM Project ID**, and **IBM API key**. These values are found in your IBM watsonx deployment. 2. Under **Advanced settings**, select your **Embedding Model** and **Language Model**. 3. To load 2 sample PDFs, enable **Sample dataset**. This is recommended, but not required. 4. Click **Complete**. - 5. Continue with the [Quickstart](/quickstart). + 5. To complete the onboarding tasks, click **What is OpenRAG**, and then click **Add a Document**. + 6. Continue with the [Quickstart](/quickstart). @@ -42,6 +46,7 @@ Choose one LLM provider and complete only those steps: 3. To load 2 sample PDFs, enable **Sample dataset**. This is recommended, but not required. 4. Click **Complete**. - 5. Continue with the [Quickstart](/quickstart). + 5. To complete the onboarding tasks, click **What is OpenRAG**, and then click **Add a Document**. + 6. Continue with the [Quickstart](/quickstart). \ No newline at end of file diff --git a/docs/docs/core-components/agents.mdx b/docs/docs/core-components/agents.mdx index a7c5ef24..88102a60 100644 --- a/docs/docs/core-components/agents.mdx +++ b/docs/docs/core-components/agents.mdx @@ -52,7 +52,7 @@ This filter is the [Knowledge filter](/knowledge#create-knowledge-filters), and For an example of changing out the agent's language model in OpenRAG, see the [Quickstart](/quickstart#change-components). -To restore the flow to its initial state, in OpenRAG, click