KEMBAR78
Add a `pyproject.toml` to `simple_rag` example allowing for declared dependencies by dagardner-nv · Pull Request #284 · NVIDIA/NeMo-Agent-Toolkit · GitHub
Skip to content

Conversation

@dagardner-nv
Copy link
Contributor

@dagardner-nv dagardner-nv commented May 15, 2025

Description

  • Add a pyproject.toml to simple_rag.

    • While this example does not contain any custom components needing to be installed, it does require dependencies (langchain, mem0ai and lxml).
  • Create a new optional ingestion dependency group, declaring a dependency on lxml, currently this is a transitory dependency, this adds an explicit dependency on a version known to be compatible with the langchain_web_ingest.py script.

  • Move ingestion scripts from the simple_rag example to the scripts dir as this script is used by another example.

  • Change the default output dir for langchain_web_ingest.py to .tmp/data, when run as documented this created a data dir at the root of the repo which was not ignored by git.

  • Fix incorrect command output in the automated_description_generation example

Closes #239
Closes #241
Closes #224

By Submitting this PR I confirm:

  • I am familiar with the Contributing Guidelines.
  • We require that all contributors "sign-off" on their commits. This certifies that the contribution is your original work, or you have rights to submit it under the same license, or a compatible license.
    • Any contribution which contains commits that are not Signed-Off will not be accepted.
  • When the PR is ready for review, new or existing tests cover these changes.
  • When the PR is ready for review, the documentation is up to date with these changes.

…lxml, langchain, and mem0ai

Signed-off-by: David Gardner <dagardner@nvidia.com>
@dagardner-nv dagardner-nv self-assigned this May 15, 2025
@dagardner-nv dagardner-nv added improvement Improvement to existing functionality non-breaking Non-breaking change labels May 15, 2025
@dagardner-nv dagardner-nv changed the title Add a pyproject.toml allowing the example to declare dependencies on lxml, langchain, and mem0ai Add a pyproject.toml to simple_rag example allowing for declared dependencies May 15, 2025
@dagardner-nv dagardner-nv marked this pull request as draft May 15, 2025 23:06
…r examples, add an optional 'ingestion' dependency group to declare an explicit dependency on lxml (currently a transitory dep)

Signed-off-by: David Gardner <dagardner@nvidia.com>
…ntation recomends running from the root which creates a data dir at the root which is not ignored

Signed-off-by: David Gardner <dagardner@nvidia.com>
…e logs

Signed-off-by: David Gardner <dagardner@nvidia.com>
Signed-off-by: David Gardner <dagardner@nvidia.com>
…ple-rag-project-239

Signed-off-by: David Gardner <dagardner@nvidia.com>
@dagardner-nv dagardner-nv marked this pull request as ready for review May 16, 2025 00:05
…ple-rag-project-239

Signed-off-by: David Gardner <dagardner@nvidia.com>
Signed-off-by: David Gardner <dagardner@nvidia.com>
@dagardner-nv
Copy link
Contributor Author

/merge

@rapids-bot rapids-bot bot merged commit 9736aed into NVIDIA:develop May 20, 2025
12 checks passed
@dagardner-nv dagardner-nv deleted the david-simple-rag-project-239 branch May 20, 2025 17:18
gfreeman-nvidia pushed a commit to gfreeman-nvidia/AIQToolkit that referenced this pull request May 30, 2025
…dependencies (NVIDIA#284)

* Add a `pyproject.toml` to `simple_rag`.
  * While this example does not contain any custom components needing to be installed, it does require dependencies (langchain, mem0ai and lxml).

* Create a new optional `ingestion` dependency group, declaring a dependency on `lxml`, currently this is a transitory dependency, this adds an explicit dependency on a version known to be compatible with the `langchain_web_ingest.py` script.

* Move ingestion scripts from the `simple_rag` example to the `scripts` dir as this script is used by another example.

* Change the default output dir for `langchain_web_ingest.py` to `.tmp/data`, when run as documented this created a `data` dir at the root of the repo which was not ignored by git.

* Fix incorrect command output in the `automated_description_generation` example

Closes NVIDIA#239
Closes NVIDIA#241
Closes NVIDIA#224

## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/NVIDIA/AIQToolkit/blob/develop/docs/source/resources/contributing.md).
- We require that all contributors "sign-off" on their commits. This certifies that the contribution is your original work, or you have rights to submit it under the same license, or a compatible license.
  - Any contribution which contains commits that are not Signed-Off will not be accepted.
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - David Gardner (https://github.com/dagardner-nv)

Approvers:
  - Yuchen Zhang (https://github.com/yczhang-nv)

URL: NVIDIA#284
Signed-off-by: Greg Freeman <gfreeman@nvidia.com>
ericevans-nv pushed a commit to ericevans-nv/agent-iq that referenced this pull request Jun 3, 2025
…dependencies (NVIDIA#284)

* Add a `pyproject.toml` to `simple_rag`.
  * While this example does not contain any custom components needing to be installed, it does require dependencies (langchain, mem0ai and lxml).

* Create a new optional `ingestion` dependency group, declaring a dependency on `lxml`, currently this is a transitory dependency, this adds an explicit dependency on a version known to be compatible with the `langchain_web_ingest.py` script.

* Move ingestion scripts from the `simple_rag` example to the `scripts` dir as this script is used by another example.

* Change the default output dir for `langchain_web_ingest.py` to `.tmp/data`, when run as documented this created a `data` dir at the root of the repo which was not ignored by git.

* Fix incorrect command output in the `automated_description_generation` example

Closes NVIDIA#239
Closes NVIDIA#241
Closes NVIDIA#224

## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/NVIDIA/AIQToolkit/blob/develop/docs/source/resources/contributing.md).
- We require that all contributors "sign-off" on their commits. This certifies that the contribution is your original work, or you have rights to submit it under the same license, or a compatible license.
  - Any contribution which contains commits that are not Signed-Off will not be accepted.
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - David Gardner (https://github.com/dagardner-nv)

Approvers:
  - Yuchen Zhang (https://github.com/yczhang-nv)

URL: NVIDIA#284
Signed-off-by: Eric Evans <194135482+ericevans-nv@users.noreply.github.com>
ericevans-nv pushed a commit to ericevans-nv/agent-iq that referenced this pull request Jun 3, 2025
…dependencies (NVIDIA#284)

* Add a `pyproject.toml` to `simple_rag`.
  * While this example does not contain any custom components needing to be installed, it does require dependencies (langchain, mem0ai and lxml).

* Create a new optional `ingestion` dependency group, declaring a dependency on `lxml`, currently this is a transitory dependency, this adds an explicit dependency on a version known to be compatible with the `langchain_web_ingest.py` script.

* Move ingestion scripts from the `simple_rag` example to the `scripts` dir as this script is used by another example.

* Change the default output dir for `langchain_web_ingest.py` to `.tmp/data`, when run as documented this created a `data` dir at the root of the repo which was not ignored by git.

* Fix incorrect command output in the `automated_description_generation` example

Closes NVIDIA#239
Closes NVIDIA#241
Closes NVIDIA#224

## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/NVIDIA/AIQToolkit/blob/develop/docs/source/resources/contributing.md).
- We require that all contributors "sign-off" on their commits. This certifies that the contribution is your original work, or you have rights to submit it under the same license, or a compatible license.
  - Any contribution which contains commits that are not Signed-Off will not be accepted.
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - David Gardner (https://github.com/dagardner-nv)

Approvers:
  - Yuchen Zhang (https://github.com/yczhang-nv)

URL: NVIDIA#284
Signed-off-by: Eric Evans <194135482+ericevans-nv@users.noreply.github.com>
ericevans-nv pushed a commit to ericevans-nv/agent-iq that referenced this pull request Jun 3, 2025
…dependencies (NVIDIA#284)

* Add a `pyproject.toml` to `simple_rag`.
  * While this example does not contain any custom components needing to be installed, it does require dependencies (langchain, mem0ai and lxml).

* Create a new optional `ingestion` dependency group, declaring a dependency on `lxml`, currently this is a transitory dependency, this adds an explicit dependency on a version known to be compatible with the `langchain_web_ingest.py` script.

* Move ingestion scripts from the `simple_rag` example to the `scripts` dir as this script is used by another example.

* Change the default output dir for `langchain_web_ingest.py` to `.tmp/data`, when run as documented this created a `data` dir at the root of the repo which was not ignored by git.

* Fix incorrect command output in the `automated_description_generation` example

Closes NVIDIA#239
Closes NVIDIA#241
Closes NVIDIA#224

## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/NVIDIA/AIQToolkit/blob/develop/docs/source/resources/contributing.md).
- We require that all contributors "sign-off" on their commits. This certifies that the contribution is your original work, or you have rights to submit it under the same license, or a compatible license.
  - Any contribution which contains commits that are not Signed-Off will not be accepted.
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - David Gardner (https://github.com/dagardner-nv)

Approvers:
  - Yuchen Zhang (https://github.com/yczhang-nv)

URL: NVIDIA#284
Signed-off-by: Eric Evans <194135482+ericevans-nv@users.noreply.github.com>
AnuradhaKaruppiah pushed a commit to AnuradhaKaruppiah/oss-agentiq that referenced this pull request Aug 4, 2025
…dependencies (NVIDIA#284)

* Add a `pyproject.toml` to `simple_rag`. 
  * While this example does not contain any custom components needing to be installed, it does require dependencies (langchain, mem0ai and lxml).

* Create a new optional `ingestion` dependency group, declaring a dependency on `lxml`, currently this is a transitory dependency, this adds an explicit dependency on a version known to be compatible with the `langchain_web_ingest.py` script.

* Move ingestion scripts from the `simple_rag` example to the `scripts` dir as this script is used by another example.

* Change the default output dir for `langchain_web_ingest.py` to `.tmp/data`, when run as documented this created a `data` dir at the root of the repo which was not ignored by git. 

* Fix incorrect command output in the `automated_description_generation` example

Closes NVIDIA#239
Closes NVIDIA#241
Closes NVIDIA#224

## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/NVIDIA/AIQToolkit/blob/develop/docs/source/resources/contributing.md).
- We require that all contributors "sign-off" on their commits. This certifies that the contribution is your original work, or you have rights to submit it under the same license, or a compatible license.
  - Any contribution which contains commits that are not Signed-Off will not be accepted.
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - David Gardner (https://github.com/dagardner-nv)

Approvers:
  - Yuchen Zhang (https://github.com/yczhang-nv)

URL: NVIDIA#284
scheckerNV pushed a commit to scheckerNV/aiq-factory-reset that referenced this pull request Aug 22, 2025
…dependencies (NVIDIA#284)

* Add a `pyproject.toml` to `simple_rag`. 
  * While this example does not contain any custom components needing to be installed, it does require dependencies (langchain, mem0ai and lxml).

* Create a new optional `ingestion` dependency group, declaring a dependency on `lxml`, currently this is a transitory dependency, this adds an explicit dependency on a version known to be compatible with the `langchain_web_ingest.py` script.

* Move ingestion scripts from the `simple_rag` example to the `scripts` dir as this script is used by another example.

* Change the default output dir for `langchain_web_ingest.py` to `.tmp/data`, when run as documented this created a `data` dir at the root of the repo which was not ignored by git. 

* Fix incorrect command output in the `automated_description_generation` example

Closes NVIDIA#239
Closes NVIDIA#241
Closes NVIDIA#224

## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/NVIDIA/AIQToolkit/blob/develop/docs/source/resources/contributing.md).
- We require that all contributors "sign-off" on their commits. This certifies that the contribution is your original work, or you have rights to submit it under the same license, or a compatible license.
  - Any contribution which contains commits that are not Signed-Off will not be accepted.
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - David Gardner (https://github.com/dagardner-nv)

Approvers:
  - Yuchen Zhang (https://github.com/yczhang-nv)

URL: NVIDIA#284
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Improvement to existing functionality non-breaking Non-breaking change

Projects

None yet

2 participants