{"id":24105,"library":"nemollm","title":"NeMo LLM Python Client","description":"Python client library for NVIDIA NeMo LLM API. Version 0.3.5. The library enables interaction with NeMo LLM services for text generation. Release cadence is irregular.","status":"active","version":"0.3.5","language":"python","source_language":"en","source_url":"https://github.com/NVIDIA/nemollm","tags":["nvidia","llm","api","client"],"install":[{"cmd":"pip install nemollm","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"HTTP client","package":"requests","optional":false}],"imports":[{"note":"No common wrong import pattern.","wrong":"","symbol":"NeMoLLM","correct":"from nemollm import NeMoLLM"}],"quickstart":{"code":"from nemollm import NeMoLLM\n\napi_key = os.environ.get('NEMO_API_KEY', '')\nclient = NeMoLLM(api_key=api_key)\nresponse = client.generate(\"Hello, how are you?\")\nprint(response)","lang":"python","description":"Initialize the client with an API key and generate text."},"warnings":[{"fix":"Wrap calls with retry logic using tenacity or similar.","message":"The NeMoLLM client does not automatically retry on rate limits. You may need to implement retry logic with backoff.","severity":"gotcha","affected_versions":"all"},{"fix":"Always use client = NeMoLLM(api_key='your_key')","message":"The API key must be passed as a keyword argument, not positional. Omitting the parameter name may cause unexpected error.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Verify installation: pip show nemollm. Import as: from nemollm import NeMoLLM","cause":"The library version may not support the expected class name. Ensure correct spelling and version.","error":"ImportError: cannot import name 'NeMoLLM' from 'nemollm'"},{"fix":"Check the documentation for the correct method name. In older versions it might be 'complete'.","cause":"API method may be named differently, e.g., 'complete' or 'chat'.","error":"AttributeError: 'NeMoLLM' object has no attribute 'generate'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}