Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge [email protected] to main #864

Closed
wants to merge 665 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
665 commits
Select commit Hold shift + click to select a range
f6197fa
Merge pull request #786 from NVIDIA/feat/issue-and-PR-template
drazvan Oct 4, 2024
4fa5d7c
Merge pull request #776 from NVIDIA/fix/colang-2/remove-deprecated-wa…
schuellc-nvidia Oct 4, 2024
ce1ed58
Merge pull request #760 from NVIDIA/fix/repeatable-uuid-generation
schuellc-nvidia Oct 4, 2024
19e73ab
Merge pull request #759 from NVIDIA/fix/colang-2/pretty-str-function
schuellc-nvidia Oct 4, 2024
5ce8c0f
Merge pull request #758 from NVIDIA/fix/activating-active-flow-with-p…
schuellc-nvidia Oct 4, 2024
eef798d
Merge pull request #771 from NVIDIA/fix/colang-2/avatar-posture-manag…
schuellc-nvidia Oct 4, 2024
2193705
refactor: use SandboxedEnvironment for Jinja2 templates
Pouyanpi Oct 11, 2024
64c0b6d
Chore: Added correct python command version
ravinder-tw Oct 14, 2024
280c221
Doc: Updating CONTRIBUTING.md
ravinder-tw Oct 14, 2024
61c9070
Update CONTRIBUTING.md
ravinder-tw Oct 14, 2024
3865845
Merge pull request #784 from NVIDIA/feat/bump-langchain-version
Pouyanpi Oct 14, 2024
38ac399
Merge pull request #785 from NVIDIA/fix/nemollm-test
Pouyanpi Oct 14, 2024
e200542
Merge pull request #791 from NVIDIA/fix/relevant-chunks-support-no-us…
Pouyanpi Oct 14, 2024
59be8e0
Merge branch 'develop' into feat/sandboxed-prompt-rendering
Pouyanpi Oct 15, 2024
73c7e47
Merge pull request #793 from vedantnaik19/patch-1
Pouyanpi Oct 15, 2024
8110d1b
Merge pull request #799 from NVIDIA/feat/sandboxed-prompt-rendering
Pouyanpi Oct 15, 2024
264003f
Chore: Updated documentation
ravinder-tw Oct 15, 2024
3ec4b67
Merge pull request #801 from ravinder-tw/patch-1
Pouyanpi Oct 15, 2024
5a48f7c
Doc: Fix incorrect folder name & pre-commit setup in CONTRIBUTING.md …
SSK-14 Oct 15, 2024
52a74af
chore: drop support for Python 3.8 (#803)
Pouyanpi Oct 16, 2024
4a59b18
Update trustworthiness_score return type as per latest cleanlab-studi…
AshishSardana Sep 20, 2024
5ee2d25
feat: Implement tracing module
Pouyanpi Oct 10, 2024
c2bf0fd
feat(tracing): add JSON and OpenTelemetry adapters
Pouyanpi Oct 10, 2024
752ce9e
feat(config): add tracing configuration support
Pouyanpi Oct 10, 2024
31bf67b
refactor(tracing): restructure adapters to avoid circular imports
Pouyanpi Oct 10, 2024
471427a
feat(tracing): add TracingConfig support to Tracer
Pouyanpi Oct 10, 2024
25d4665
fix(adapter_factory): pop name from config before passing to class in…
Pouyanpi Oct 11, 2024
7b95bff
refactor: rename JsonAdapter to FileSystemAdapter
Pouyanpi Oct 11, 2024
0bcf05a
feat(tracing): add tracing support to LLMRails
Pouyanpi Oct 11, 2024
4b0bf25
feat(tests): add tests for tracing adapters
Pouyanpi Oct 11, 2024
2ddb6c7
refactor: rename AdapterConfig to LogAdapterConfig
Pouyanpi Oct 14, 2024
65e6cf6
feat: add async export method to Tracer class
Pouyanpi Oct 14, 2024
5d15837
fix: change trace file extension to .jsonl
Pouyanpi Oct 14, 2024
fa2981b
feat: Implement LogAdapterRegistry for tracing adapters
Pouyanpi Oct 14, 2024
f22d3a9
feat: register tracing adapters in __init__.py
Pouyanpi Oct 14, 2024
124097f
feat: add async support to tracing adapters
Pouyanpi Oct 14, 2024
360b35d
feat: add async support and adapter factory to tracer
Pouyanpi Oct 14, 2024
91c66df
feat(tracing): integrate async tracing in LLMRails
Pouyanpi Oct 14, 2024
47a932a
test(tracing): add async tracing tests
Pouyanpi Oct 14, 2024
728956d
chore: remove adapter_factory
Pouyanpi Oct 14, 2024
2aacec8
fix: handle missing OpenTelemetryAdapter gracefully
Pouyanpi Oct 14, 2024
ee517f7
test: skip test if aiofiles is not installed
Pouyanpi Oct 14, 2024
01841b6
Merge branch 'NVIDIA:develop' into update-cleanlab
AshishSardana Oct 16, 2024
a33602e
docs: add tracing configuration guide
Pouyanpi Oct 14, 2024
2483ad5
fix: reinitialize executor if shut down in OpenTelemetryAdapter
Pouyanpi Oct 16, 2024
cac4b99
feat: add example configuration for tracing
Pouyanpi Oct 16, 2024
a91055a
feat: add tracing dependencies to pyproject.toml
Pouyanpi Oct 16, 2024
ff0c9f2
feat(config): set default values for LogAdapterConfig
Pouyanpi Oct 16, 2024
6927702
refactor: simplify OpenTelemetryAdapter initialization and fix unexpe…
Pouyanpi Oct 16, 2024
13e3f11
refactor: update OpenTelemetryAdapter unit tests
Pouyanpi Oct 16, 2024
4be3307
fix: ensure correct response extraction in LLMRails to conform curren…
Pouyanpi Oct 16, 2024
2520d72
feat: add PassthroughLLMAction for raw LLM requests
Pouyanpi Oct 17, 2024
61dbfc1
feat: add is_colang_2 flag to retrieve_relevant_chunks to handle cont…
Pouyanpi Oct 17, 2024
fcb1651
test: add test for relevant_chunk insertion without knowledge base
Pouyanpi Oct 17, 2024
e31c391
feat: railsignore added for config loading of LLMRails
ajanitshimanga Oct 2, 2024
f6eb37c
feat: railsignore - review changes
ajanitshimanga Oct 3, 2024
16d06c9
feat: integrate .railsignore handling in config loading
Pouyanpi Oct 17, 2024
9934325
refactor: improve performance of .railsignore handling
Pouyanpi Oct 17, 2024
a556b0e
refactor: mock .railsignore path in tests and minor refactoring
Pouyanpi Oct 17, 2024
1865da4
Add Colang commenting feature to VScode extension (#749)
radinshayanfar Oct 17, 2024
11b7292
Merge branch 'NVIDIA:develop' into feature/railsignore_branch
ajanitshimanga Oct 17, 2024
23a57a7
feat: railsignore - finalizing review changes
ajanitshimanga Oct 18, 2024
ced8806
Merge pull request #790 from ajanitshimanga/feature/railsignore_branch
Pouyanpi Oct 18, 2024
2626bd5
fix: move relevant chunks before current conversations (#772)
Pouyanpi Oct 18, 2024
aa45e8e
Merge pull request #809 from NVIDIA/fix/retrieve-chunk-action-newline
Pouyanpi Oct 18, 2024
eaf6c35
Add unique identifier to LLM prompt/response logging message
schuellc-nvidia Oct 15, 2024
6fa0b4a
Add prompt task name to logging messages
schuellc-nvidia Oct 15, 2024
c038b08
Merge pull request #798 from NVIDIA/feat/observability-support
Pouyanpi Oct 18, 2024
c632ebb
fix: handle missing id and task attributes in logs
Pouyanpi Oct 18, 2024
f8a7687
feat: add passthrough flow for raw LLM requests in passthrough module
Pouyanpi Oct 17, 2024
5e5ea8f
test: add unit tests for PassthroughLLMAction
Pouyanpi Oct 17, 2024
cdefd87
Temporary fix for non existing parent_uid bug
schuellc-nvidia Oct 15, 2024
0f02fd1
Merge pull request #779 from NVIDIA/feat/passthrough-colang-2
Pouyanpi Oct 18, 2024
f9e8459
Add test for pattern matching with a sync action in between.
sklinglernv Oct 22, 2024
81b6ed6
Fix TestChat to process events one by one.
sklinglernv Oct 22, 2024
3a9897b
Allow overwriting default event parameters.
sklinglernv Oct 22, 2024
31f1ae8
Add support for arbitrary input events for TestChat and make standard…
sklinglernv Oct 22, 2024
b957b5c
Fix formatting.
sklinglernv Oct 22, 2024
db159c5
fix(pyproject.toml): remove eval from all dependencies
Pouyanpi Oct 22, 2024
e7c23d1
Merge pull request #812 from NVIDIA/fix/undefined-parent-id
schuellc-nvidia Oct 22, 2024
bd110e7
Add missing logging information in Colang 1
schuellc-nvidia Oct 22, 2024
6c38d5f
feat(docker): add eval dependencies to Dockerfile
Pouyanpi Oct 22, 2024
e05ddda
Merge branch 'NVIDIA:develop' into update-cleanlab
AshishSardana Oct 23, 2024
409802b
Add parent instances of restarted activated flow instances
schuellc-nvidia Oct 23, 2024
3e629da
Add support for llama-3.2 models
schuellc-nvidia Oct 25, 2024
a0b4c33
Remove deprecated flow
schuellc-nvidia Oct 25, 2024
721e2c4
Add more models in bot config
schuellc-nvidia Oct 25, 2024
d02707d
Make `source_uid` of events configurable.
sklinglernv Oct 25, 2024
c325725
Add documentation for `event_source_uid` configuration.
sklinglernv Oct 25, 2024
1df4e34
Various documentation updates
schuellc-nvidia Oct 25, 2024
67bfbb9
Merge pull request #816 from NVIDIA/feature/improved-multi-modal-test…
sklinglernv Oct 28, 2024
8e5a070
Merge branch 'develop' into feature/configurable-event-source-uid
sklinglernv Oct 28, 2024
1cd9c91
Merge pull request #823 from NVIDIA/feature/configurable-event-source…
sklinglernv Oct 28, 2024
4213584
Add attention standard library with some basic tests.
sklinglernv Oct 28, 2024
7be822c
Add additional tests and update attention library to latest version (…
sklinglernv Oct 28, 2024
f0e77ed
Add section about supported LLMs
schuellc-nvidia Oct 28, 2024
9f4a2e8
Fixes from @sklinglernv review
schuellc-nvidia Oct 28, 2024
9d2a159
Fix documentation
schuellc-nvidia Oct 28, 2024
6b2fdcd
Merge branch 'develop' into feature/improve_llm_logs
schuellc-nvidia Oct 29, 2024
3e1833b
Merge pull request #811 from NVIDIA/feature/improve_llm_logs
schuellc-nvidia Oct 29, 2024
2d81b26
Fix issue with undefined flow continuation not working with user inte…
schuellc-nvidia Oct 29, 2024
64afbf9
Fix issues with delayed restart of continuation flow
schuellc-nvidia Oct 29, 2024
6afca09
Add unit test
schuellc-nvidia Oct 29, 2024
bc4c31b
Merge pull request #780 from NVIDIA/fix/colang-2/fix-undefined-flow-c…
schuellc-nvidia Oct 29, 2024
a171951
Merge pull request #819 from NVIDIA/fix/cli-tree-command
schuellc-nvidia Oct 29, 2024
3c8ca36
Update docs/colang_2/overview.rst
schuellc-nvidia Oct 29, 2024
82dfb84
Merge pull request #824 from NVIDIA/docs/various-updates
schuellc-nvidia Oct 29, 2024
337cc80
Fix a bug in a code block
schuellc-nvidia Oct 29, 2024
98c7f59
Created missing changelogs group entries
schuellc-nvidia Oct 29, 2024
862cd00
Merge pull request #829 from NVIDIA/feature/colang-2-attention-library
schuellc-nvidia Oct 29, 2024
a872076
Merge pull request #832 from NVIDIA/docs/fix-colang-documentation
schuellc-nvidia Oct 29, 2024
00360fa
Fix else if parsing problem
radinshayanfar Oct 29, 2024
158a6ea
Merge branch 'NVIDIA:develop' into fix/multiline-few-shot-colang-2
radinshayanfar Oct 29, 2024
ca38976
refactor: rename and update import paths in example bot
Pouyanpi Oct 30, 2024
d2865ec
fix: resolve import path issue in config.py
Pouyanpi Oct 30, 2024
543b446
Merge pull request #768 from AshishSardana/update-cleanlab
cparisien Oct 31, 2024
5d6e547
Merge branch 'develop' into fix/import-path-colang-2
Pouyanpi Nov 1, 2024
cfdd335
Merge pull request #835 from NVIDIA/fix/import-path-colang-2
Pouyanpi Nov 1, 2024
5f01564
chore(deps): bump vllm in /nemoguardrails/library/patronusai
dependabot[bot] Nov 1, 2024
880b65b
chore(deps): bump vllm in /nemoguardrails/library/llama_guard
Pouyanpi Nov 1, 2024
95f8418
Merge pull request #833 from radinshayanfar/fix/nested-else-if
schuellc-nvidia Nov 1, 2024
b6672c0
remove redundant matching rules in escape_flow_name
radinshayanfar Nov 1, 2024
ef59b29
Merge branch 'develop' into dependabot/pip/nemoguardrails/library/pat…
Pouyanpi Nov 1, 2024
94f5666
Merge pull request #836 bump vllm from 0.2.7 to 0.5.5
Pouyanpi Nov 1, 2024
733e248
Merge branch 'develop' into fix/multiline-few-shot-colang-2
schuellc-nvidia Nov 4, 2024
b25eaec
Merge pull request #765 from radinshayanfar/fix/multiline-few-shot-co…
schuellc-nvidia Nov 4, 2024
903a387
Patronus Evaluate API Integration (#834)
varjoshi Nov 4, 2024
6be5483
Add new test ChatInterface to run CLI like tests for the CLS example …
sklinglernv Nov 5, 2024
c9663d5
Fix event synchronization.
sklinglernv Nov 5, 2024
9b842aa
CLS tests core.co
sklinglernv Nov 5, 2024
a04a996
CSL core.co tests done. Added UtteranceUserActionStarted to CLI and C…
sklinglernv Nov 5, 2024
f118f9e
Fix wrong flow parameters in `core.co`
sklinglernv Nov 5, 2024
541c612
Tests for development helper flows.
sklinglernv Nov 5, 2024
7faed62
Add test and examples for `timing.co`.
sklinglernv Nov 5, 2024
9116811
Add test and examples for `llmco`.
sklinglernv Nov 5, 2024
36f8f42
Fix CSL tests.
sklinglernv Nov 5, 2024
a47d67f
Add colang 2 documentation test to pytest.ini
sklinglernv Nov 5, 2024
3670f25
Remove duplicated test.
sklinglernv Nov 5, 2024
9391852
Make tests more robust: no model config & update semaphore in curren…
sklinglernv Nov 5, 2024
867708a
Small improvements to CSL tests.
sklinglernv Nov 6, 2024
aef86d7
Few minor fixes to `attention.co`
sklinglernv Nov 6, 2024
487ddae
Revert making the tracking user attention flow active.
sklinglernv Nov 6, 2024
3f40280
Merge pull request #843 from NVIDIA/feature/fix-in-attention-lib
schuellc-nvidia Nov 6, 2024
5ae9d82
Add Private AI Integration (#815)
letmerecall Nov 6, 2024
021eb88
Update evaluate directory reference (#751)
emmanuel-ferdman Nov 6, 2024
9da2b73
doc: update similarity threshold to 0.75 and note (#770)
Pouyanpi Nov 6, 2024
4ce7daf
fix: download nltk's punkt_tab in align_score Dockerfile (#841)
yonromai Nov 6, 2024
d69a7e8
Merge pull request #817 from NVIDIA/fix/remove-eval-dependency
Pouyanpi Nov 7, 2024
3a91324
feat(docs): enhance tracing configuration guide
Pouyanpi Nov 7, 2024
f5ca78c
refactor(config): remove OpenTelemetry from tracing config
Pouyanpi Nov 7, 2024
a4513e2
docs(tracing): add Zipkin setup instructions
Pouyanpi Nov 7, 2024
6f89495
refactor(tracing): move log adapters initialization
Pouyanpi Nov 7, 2024
dffaf45
feat(tracing): add global otel exporter registration
Pouyanpi Nov 7, 2024
30e5fb6
fix(dependencies): add pandas version constraint for eval
Pouyanpi Nov 8, 2024
c43daf3
docs(installation): add notice for dependency resolution
Pouyanpi Nov 8, 2024
90e9f0a
Fix small issues in Colang 2 library examples
sklinglernv Nov 11, 2024
2868903
Merge pull request #842 from NVIDIA/dev/sklingler/automated-csl-docum…
schuellc-nvidia Nov 11, 2024
44ab1d5
Merge pull request #847 from NVIDIA/fix/optional-dependencies-resolution
Pouyanpi Nov 11, 2024
3a40139
Merge in commit (23e27) from Colang doc repo and adjusted to relative…
schuellc-nvidia Nov 11, 2024
33430df
Merge pull request #848 from NVIDIA/docs/update-csl-documentation
sklinglernv Nov 11, 2024
1a77793
Merge pull request #844 from NVIDIA/feat/telemetry-exporter
Pouyanpi Nov 12, 2024
5a13d6f
fix(tests): mock PromptSession to prevent console error
Pouyanpi Nov 12, 2024
76080b7
docs: update role from bot to assistant
Pouyanpi Nov 12, 2024
d4a1a34
docs(installation): update optional dependencies install
Pouyanpi Nov 12, 2024
3ed0629
fix(docs): update pip install instructions note
Pouyanpi Nov 12, 2024
0f1df8e
Merge pull request #853 from NVIDIA/docs/installation-guide-note
Pouyanpi Nov 12, 2024
83a3de1
Merge pull request #852 from NVIDIA/docs/generation-options
Pouyanpi Nov 12, 2024
b6fd4d6
fix: handle multiple output parsers in generation
Pouyanpi Nov 13, 2024
6b040ba
Merge pull request #854 from NVIDIA/fix/streaming-openai-chatgpt-prompts
Pouyanpi Nov 13, 2024
d7cc69a
fix(docs): update CLI section headers from H4 to H3
Pouyanpi Nov 15, 2024
0ae6169
docs: update LLM support table to use Unicode symbols
Pouyanpi Nov 15, 2024
2913924
docs: update admonitions to use MyST syntax
Pouyanpi Nov 15, 2024
5b8bbe2
docs: remove duplicate GCP Text Moderation section
Pouyanpi Nov 15, 2024
fe96fa4
docs: specify shell syntax for CLI example
Pouyanpi Nov 15, 2024
f7d9af0
docs: update detailed logging example output
Pouyanpi Nov 15, 2024
533e461
docs: update migration guide with new options
Pouyanpi Nov 15, 2024
4d5fef6
docs: update vulnerability scanning table to use unicode checkmarks
Pouyanpi Nov 15, 2024
07ee665
docs: update code blocks to use sh syntax highlighting
Pouyanpi Nov 15, 2024
ea09f95
refactor(docs): change underscore to hyphens
Pouyanpi Nov 15, 2024
3f2d4d7
Merge pull request #851 from NVIDIA/fix/test-cli-prompt-toolkit
schuellc-nvidia Nov 15, 2024
0a9e704
refactor(docs): update references to new file names where we use hyph…
Pouyanpi Nov 15, 2024
54e72d2
Merge remote-tracking branch 'origin' into auto-docs
Pouyanpi Nov 15, 2024
4a2ac93
chore: update latest release version in README
Pouyanpi Nov 15, 2024
04c1032
Merge branch 'develop' into docs/update-changelog-docs
schuellc-nvidia Nov 15, 2024
063fcb6
Fix release date in changelog
schuellc-nvidia Nov 15, 2024
7f00c47
Update colang changelog
schuellc-nvidia Nov 15, 2024
11142d3
docs: add deprecation notice for Got It AI integration
mlmonk Nov 15, 2024
bf494d5
docs: fix format for deprecation notice for Got It AI integration
mlmonk Nov 15, 2024
49c6216
Merge pull request #857 from botitai/docs/add-gotitai-deprecation-notice
Pouyanpi Nov 15, 2024
4584183
Merge branch 'develop' into auto-docs
Pouyanpi Nov 15, 2024
8c263f4
docs: update deprecation notice format for Got It AI
Pouyanpi Nov 15, 2024
1c185ff
chore(changelog): update changelog for v0.11.0 release
Pouyanpi Nov 15, 2024
d923763
bump: update version to 0.11.0
Pouyanpi Nov 15, 2024
e568946
docs: update version to 0.11.0
Pouyanpi Nov 15, 2024
36ff90a
fix: move an entry to colang 2 changelog
Pouyanpi Nov 15, 2024
97af191
fix: apply review changes
Pouyanpi Nov 18, 2024
357509f
Merge branch 'docs/update-changelog-docs' into chore/changelog-v0.11.0
schuellc-nvidia Nov 18, 2024
667951f
Add Colang patch fix note to changelog
schuellc-nvidia Nov 18, 2024
8c86ab2
fix(docs): update Garak GitHub links to NVIDIA repo
Pouyanpi Nov 18, 2024
68527c5
Merge pull request #855 from NVIDIA/auto-docs
Pouyanpi Nov 18, 2024
5315b69
Restructure colang changelog adding contributor names
schuellc-nvidia Nov 18, 2024
ebe04b2
Minor changelog fix
schuellc-nvidia Nov 18, 2024
254a45e
Fix Colang name capitalization
schuellc-nvidia Nov 18, 2024
eb0deb2
Update entry
Pouyanpi Nov 18, 2024
11294d9
Merge pull request #858 from NVIDIA/chore/changelog-v0.11.0
Pouyanpi Nov 18, 2024
b8dcc50
Replace all underscore with hyphen characters in folders and rst file…
schuellc-nvidia Nov 18, 2024
c04f6c9
Add migration cross reference
schuellc-nvidia Nov 18, 2024
b83bf78
chore: correct date and PR number in changelog
Pouyanpi Nov 19, 2024
d920a08
Undo accidental changes
schuellc-nvidia Nov 19, 2024
01fceb2
Fix asyncio loop issue in combination with enable_input event
schuellc-nvidia Nov 19, 2024
c01600a
Merge pull request #861 from NVIDIA/fix/chat-cli-loop
Pouyanpi Nov 19, 2024
7104f1f
Merge pull request #860 from NVIDIA/chore/changelog-v0.11.0
Pouyanpi Nov 19, 2024
b897286
feat: migrate to Poetry for dependency management
Pouyanpi Nov 1, 2024
9487c83
chore: add tox configuration for multi-python testing
Pouyanpi Nov 1, 2024
3f7e810
chore: add Makefile for common development tasks
Pouyanpi Nov 1, 2024
19b9d56
chore: update .gitignore for better file management
Pouyanpi Nov 1, 2024
5ef212e
chore: update Dockerfile to use Poetry for dependencies
Pouyanpi Nov 1, 2024
7f5bf4a
chore: add Dockerfile for QA environment setup
Pouyanpi Nov 1, 2024
6ba5f28
ci: update GitLab CI for multi-python and Docker support
Pouyanpi Nov 1, 2024
373d171
ci: remove redundant GitHub Actions workflows
Pouyanpi Nov 1, 2024
85299d2
ci: add reusable GitHub Actions workflow for tests
Pouyanpi Nov 1, 2024
1cb51ce
ci: add PR tests workflow for multi-python support
Pouyanpi Nov 1, 2024
68a0631
ci: add full-tests workflow for multi-OS and Python
Pouyanpi Nov 1, 2024
40d261d
ci: add build script for packaging with Poetry
Pouyanpi Nov 1, 2024
2a09bd0
ci: add GitHub Actions workflow for building and testing wheel
Pouyanpi Nov 1, 2024
b7a30a8
ci: add workflow to test Docker image (not working)
Pouyanpi Nov 1, 2024
284102d
refactor: rename test classes to supress pytest warning
Pouyanpi Nov 1, 2024
fb7eb9b
fix: use temp directory for .railsignore in tests
Pouyanpi Nov 1, 2024
ba1229d
chore: update issue templates with triage labels
Pouyanpi Nov 1, 2024
b625797
chore: add documentation issue template
Pouyanpi Nov 1, 2024
2957146
docs: update CONTRIBUTING.md for Poetry migration
Pouyanpi Nov 1, 2024
f70b5ec
feat(workflows): add lock closed threads workflow
Pouyanpi Nov 12, 2024
7183b31
feat(workflows): add test-published-dist workflow
Pouyanpi Nov 12, 2024
c8cc382
refactor: consolidate dependencies in pyproject.toml
Pouyanpi Nov 13, 2024
b452b77
feat(ci): update cron schedule to 11:00 PM UTC daily
Pouyanpi Nov 13, 2024
0ff66b2
chore(tox): add instructions for using pyenv with tox
Pouyanpi Nov 13, 2024
28444ea
fix(ci): remove image from registry if tests fail
Pouyanpi Nov 19, 2024
4281337
Fix typos in the example prompts to remove some of the IDE warnings
krishna-sreeraj-tw Nov 28, 2024
944bef6
Merge pull request #859 from NVIDIA/docs/fix-underscore-filenames
schuellc-nvidia Nov 28, 2024
5dbdaec
Fix GTP spelling
schuellc-nvidia Nov 28, 2024
dd0fde0
Merge pull request #873 from krishna-sreeraj-tw/develop
Pouyanpi Nov 29, 2024
54328b4
Merge pull request #876 from NVIDIA/feature/colang-highlighting-exten…
schuellc-nvidia Nov 29, 2024
ed2c475
fix(ci): remove Ubuntu from full-tests
Pouyanpi Nov 29, 2024
0be86a4
Fix attention test on Windows.
sklinglernv Nov 29, 2024
b01301f
Update underscore folder names to new hyphen format
schuellc-nvidia Nov 29, 2024
78fbe82
Merge pull request #874 from NVIDIA/fix/multi-modal-demo
schuellc-nvidia Nov 29, 2024
e2344bd
Merge pull request #881 from NVIDIA/fix/colang-2-doc-folder-renaming
schuellc-nvidia Nov 29, 2024
8321685
Merge pull request #879 from NVIDIA/fix/minor-spelling-issues
Pouyanpi Nov 30, 2024
6816c8a
Merge pull request #826 from NVIDIA/feature/poetry
Pouyanpi Dec 2, 2024
5bb4455
Merge pull request #877 from NVIDIA/feature/support-more-llm-models
Pouyanpi Dec 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
72 changes: 72 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: Bug Report
description: File a bug/issue
title: "bug: "
labels: ["bug", "status: needs triage"]
body:
- type: markdown
attributes:
value: |
**Before** reporting an issue, make sure to read the [documentation](https://github.com/NVIDIA/NeMo-Guardrails/tree/develop/docs)
and search [existing issues](https://github.com/NVIDIA/NeMo-Guardrails/issues).

Usage questions such as ***"How do I...?"*** belong in [Discussions](https://github.com/NVIDIA/NeMo-Guardrails/discussions) and will be closed.

Thanks for taking the time to fill out this bug report!
- type: checkboxes
attributes:
label: Did you check docs and existing issues?
description: Make sure you checked all of the below before submitting an issue
options:
- label: I have read all the NeMo-Guardrails docs
required: true
- label: I have updated the package to the latest version before submitting this issue
required: true
- label: (optional) I have used the develop branch
required: false
- label: I have searched the existing issues of NeMo-Guardrails
required: true
- type: input
attributes:
label: "Python version (python --version)"
placeholder: Python 3.10.13
validations:
required: true
- type: input
attributes:
label: "Operating system/version"
placeholder: "MacOS 11.5"
validations:
required: true
- type: input
attributes:
label: "NeMo-Guardrails version (if you must use a specific version and not the latest"
placeholder: 0.10.0
- type: textarea
attributes:
label: Describe the bug
description: A clear and concise description of what the bug is. Please include any related errors you see in logs. If you are using server or chat CLI run it in verbose mode.
validations:
required: true
- type: textarea
attributes:
label: Steps To Reproduce
description: Steps to reproduce the behavior.
placeholder: |
1.
2.
3.
validations:
required: true
- type: textarea
attributes:
label: Expected Behavior
description: A concise description of what you expected to happen.
validations:
required: true

- type: textarea
attributes:
label: Actual Behavior
description: A concise description of what you expected to happen.
validations:
required: true
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Ask a question
url: https://github.com/NVIDIA/NeMo-Guardrails/discussions
about: Use Github discussions instead
49 changes: 49 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: "Documentation Issue"
labels: ["documentation", "status: needs triage"]
title: "doc: "
description: "Did you find any errors, omissions, or unclear sections in the documentation?"

body:
- type: markdown
attributes:
value: |
Thank you for taking the time to file a complete bug report.

Before submitting your issue, please review the [relevant section](https://github.com/NVIDIA/NeMo-Guardrails/tree/develop/CONTRIBUTING.md#suggesting-enhancements-and-new-features) of our documentation.

- type: checkboxes
attributes:
label: Please also confirm the following
options:
- label: I have searched the [main issue tracker](https://github.com/NVIDIA/NeMo-Guardrails/issues) of NeMo Guardrails repository and believe that this is not a duplicate
required: true
- type: dropdown
attributes:
label: Issue Kind
description: |
What best describes the issue?
options:
- "Improving documentation"
- "Error in existing documentation"
- "Missing documentation"
- "Unclear documentation"
- "Other concerns with documentation"
validations:
required: true

- type: input
attributes:
label: Existing Link
description: |
If the documentation in question exists, please provide a link to it.
placeholder: "https://github.com/NVIDIA/NeMo-Guardrails/blob/develop/docs/"
validations:
required: true

- type: textarea
attributes:
label: Description
description: |
Please provide a detailed description of the feature, including any relevant information. You can use markdown syntax.
validations:
required: true
36 changes: 36 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Feature Request
description: Suggest a new feature
title: "feature: "
labels: ["enhancement", "status: needs triage"]
body:
- type: checkboxes
attributes:
label: Did you check the docs?
description: Make sure you read all the docs before submitting a feature request
options:
- label: I have read all the NeMo-Guardrails docs
required: true
- type: textarea
validations:
required: true
attributes:
label: Is your feature request related to a problem? Please describe.
description: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
- type: textarea
validations:
required: true
attributes:
label: Describe the solution you'd like
description: A clear and concise description of what you want to happen.
- type: textarea
validations:
required: true
attributes:
label: Describe alternatives you've considered
description: A clear and concise description of any alternative solutions or features you've considered.
- type: textarea
validations:
required: false
attributes:
label: Additional context
description: Add any other context or screenshots about the feature request here.
18 changes: 18 additions & 0 deletions .github/PULL-REQUEST-TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
## Description

<!-- Describe the big picture of your changes to communicate to the maintainers
why we should accept this pull request. -->

## Related Issue(s)

<!--
If this PR fixes any issues, please link to the issue here.
- Fixes #<issue_number>
-->

## Checklist

- [ ] I've read the [CONTRIBUTING](https://github.com/NVIDIA/NeMo-Guardrails/blob/develop/CONTRIBUTING.md) guidelines.
- [ ] I've updated the documentation if applicable.
- [ ] I've added tests if applicable.
- [ ] @mentions of the person or team responsible for reviewing proposed changes.
22 changes: 22 additions & 0 deletions .github/scripts/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/bash

# Exit immediately if a command exits with a non-zero status.
set -e

# Define variables for paths
PACKAGE_DIR="nemoguardrails"
CHAT_UI_SRC="chat-ui"
EXAMPLES_SRC="examples"
CHAT_UI_DST="$PACKAGE_DIR/chat-ui"
EXAMPLES_DST="$PACKAGE_DIR/examples"

# Copy the directories into the package directory
cp -r "$CHAT_UI_SRC" "$CHAT_UI_DST"
cp -r "$EXAMPLES_SRC" "$EXAMPLES_DST"

# Build the wheel using Poetry
poetry build

# Remove the copied directories after building
rm -rf "$CHAT_UI_DST"
rm -rf "$EXAMPLES_DST"
81 changes: 81 additions & 0 deletions .github/workflows/_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
name: Reusable Tests

on:
workflow_call:
inputs:
os:
description: "Operating system name"
required: true
default: Ubuntu
type: string
image:
description: "Runner image"
required: true
default: ubuntu-latest
type: string
python-version:
description: "Python version to test against"
required: true
default: "3.10"
type: string

defaults:
run:
shell: bash
env:
POETRY_VERSION: 1.8.2

jobs:
tests:
name: ${{ inputs.os }} / Python ${{ inputs.python-version }}
runs-on: ${{ inputs.image }}

steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ inputs.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python-version }}

- name: Get full Python version
id: full-python-version
run: echo "version=$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))")" >> $GITHUB_OUTPUT

- name: Bootstrap poetry (Linux and macOS)
run: |
curl -sSL https://install.python-poetry.org | POETRY_VERSION=${{ env.POETRY_VERSION }} python -

- name: Update PATH (Linux and macOS)
if: runner.os != 'Windows'
run: echo "$HOME/.local/bin" >> $GITHUB_PATH

- name: Update PATH for Windows
if: runner.os == 'Windows'
run: echo "$APPDATA\\Python\\Scripts" >> $GITHUB_PATH

- name: Configure poetry
run: poetry config virtualenvs.in-project true

- name: Set up cache
uses: actions/cache@v4
id: cache
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }}

- name: Ensure cache is healthy
if: steps.cache.outputs.cache-hit == 'true'
run: timeout 10s poetry run pip --version || rm -rf .venv

- name: Check Poetry .lock
run: poetry check --lock

- name: Install dependencies
run: poetry install --with dev

- name: Run pre-commit hooks
run: poetry run make pre_commit

- name: Run pytest
run: poetry run pytest -v
98 changes: 0 additions & 98 deletions .github/workflows/build-wheel.yml

This file was deleted.

Loading
Loading