docs: clarify nv ingest package installation (#6822)

* typo

* clarify-nv-ingest-installation
This commit is contained in:
Mendon Kissling 2025-02-25 14:06:17 -05:00 committed by GitHub
commit 25a474c485
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 16 additions and 7 deletions

View file

@ -59,7 +59,7 @@ To use your code in a Python application using the Langflow runtime, you have to
2. Download the flow to your local machine. Make sure the flow path in the script matches the flows location on your machine.
3. Copy and paste the code from the API tab into a Python script file.
3. Copy and paste the code from the **Python Code** tab into a Python script file.
4. Run the script:

View file

@ -13,12 +13,21 @@ The **NVIDIA Ingest** component imports the NVIDIA `Ingestor` client, ingests fi
* An NVIDIA Ingest endpoint. For more information on setting up an NVIDIA Ingest endpoint, see the [NVIDIA Ingest quickstart](https://github.com/NVIDIA/nv-ingest?tab=readme-ov-file#quickstart).
* The **NVIDIA Ingest** component requires the installation of additional dependencies to your Langflow environment. To install the dependencies in a virtual environment, run the following commands:
```bash
source **YOUR_LANGFLOW_VENV**/bin/activate
uv sync --extra nv-ingest
uv run langflow run
```
* The **NVIDIA Ingest** component requires the installation of additional dependencies to your Langflow environment. To install the dependencies in a virtual environment, run the following commands.
* If you have the Langflow repository cloned and installed from source:
```bash
source **YOUR_LANGFLOW_VENV**/bin/activate
uv sync --extra nv-ingest
uv run langflow run
```
* If you are installing Langflow from the Python Package Index:
```bash
source **YOUR_LANGFLOW_VENV**/bin/activate
uv pip install 'langflow[nv-ingest]'
uv run langflow run
```
## Use the NVIDIA Ingest component in a flow