- 
                Notifications
    
You must be signed in to change notification settings  - Fork 557
 
refactor(providers): remove support for deprecated nemollm engine #1076
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will remove these functions in 0.15.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FWIW, this is already fixed in #1040
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what this test is trying to do 🫤
There will be another PR that restructure all the tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is already fixed in #1040
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-  remove 
nemoguardrails/llm/providers/nemollm.py -  remove 
tests/llm_providers/test_nemollm.py -  fix table in  
docs/user-guides/llm-support.md-> https://nvidia.github.io/NeMo-Guardrails/review/pr-1076/user-guides/llm-support.html#llm-support-and-guidance -  raise exception instead of warning 
nemoguardrails/llm/providers/providers.py-> 
          Documentation preview | 
    
17bf3f3    to
    86a7498      
    Compare
  
    86a7498    to
    3dcff99      
    Compare
  
    There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, approving! Just one place with nemollm referenced:
./tests/test_configs/autoalign/config.yml:3:    engine: nemollm
Could you swap this out for a Llama or openai model and then merge?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Pouyanpi , some further comments.
| self.env.filters["last_turns"] = last_turns | ||
| self.env.filters["indent"] = indent | ||
| self.env.filters["user_assistant_sequence"] = user_assistant_sequence | ||
| self.env.filters[ | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If user_assistant_sequence_nemollm and to_messages_nemollm are removed from here, does it make sense to keep them in filters.py ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed 👍🏻
c5cd3df    to
    3aa2d0a      
    Compare
  
    
          
 Thank you @tgasser-nv , just removed it 👍🏻  | 
    
7ccbd62    to
    3835723      
    Compare
  
    | 
           now I have not signed my commits!  | 
    
3835723    to
    6fd0817      
    Compare
  
    
Description
NeMo Service reached its End-of-Life on 5 Feb 2025
Documentation changes #1077