Skip to content

Conversation

@harshith051104
Copy link

Implemented a custom NVIDIA Embedder following the OpenAI embedder structure.

  • Adds libs/agno/agno/knowledge/embedder/nvidia/nvidia_embedder.py
  • Supports NVIDIA NIM embedding models via https://integrate.api.nvidia.com/v1
  • Introduces input_type parameter for passage/query differentiation
  • Fully compatible with Agno’s Embedder interface
  • Works with both sync and async embedding workflows and batch processing
  • Includes usage metadata and fallback handling for failed requests

✅ All format, validation, and test scripts passed locally:

  • ./scripts/format.bat
  • ./scripts/validate.bat
  • ./scripts/test.bat

Looking forward to feedback and further integration suggestions.

Ensure Unicode content is written with UTF-8 encoding in tests.
Updated cache file path to use as_posix() for cross-platform compatibility.
Implemented a custom NVIDIA Embedder following the OpenAI embedder structure.

- Added support for NVIDIA NIM embedding models via base_url `https://integrate.api.nvidia.com/v1`
- Introduced `input_type` parameter for passage/query differentiation
- Fully compatible with Agno's Embedder interface
- Supports both sync and async embedding workflows with batch processing
- Includes usage metadata and fallback handling for failed requests

Tested locally and ready for validation with Agno’s format and validation scripts.
@harshith051104 harshith051104 requested a review from a team as a code owner October 31, 2025 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant