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

feat: add model nvidia/llama-3.2-nv-rerankqa-1b-v2 to _MODEL_ENDPOINT_MAP #1260

Merged
merged 2 commits into from
Jan 2, 2025

Conversation

TheMimikyu
Copy link
Contributor

Related Issues

Proposed Changes:

Model nvidia/llama-3.2-nv-rerankqa-1b-v2 be added to set of known model's by adding it's endpoint to _MODEL_ENDPOINT_MAP.

Simple addition of "nvidia/llama-3_2-nv-rerankqa-1b-v2": "https://ai.api.nvidia.com/v1/retrieval/nvidia/llama-3_2-nv-rerankqa-1b-v2/reranking" to the map.

How did you test it?

Running the Hatch tests and manual verification by importing the changed NvidiaRanker() instead.

Notes for the reviewer

Run the Google Colab provided in #1259 to reproduce the issue.

This was set to feat: instead of fix: on comparing with #1183.

Checklist

@TheMimikyu TheMimikyu requested a review from a team as a code owner December 23, 2024 09:39
@TheMimikyu TheMimikyu requested review from davidsbatista and removed request for a team December 23, 2024 09:39
@CLAassistant
Copy link

CLAassistant commented Dec 23, 2024

CLA assistant check
All committers have signed the CLA.

@julian-risch julian-risch requested review from julian-risch and removed request for davidsbatista January 2, 2025 09:33
Copy link
Member

@julian-risch julian-risch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks very good to me! 👍 @TheMimikyu Thank you and congratulations on your first contribution to Haystack core integrations!
I checked nvidia docs for the correct url https://docs.api.nvidia.com/nim/reference/nvidia-llama-3_2-nv-rerankqa-1b-v2-infer

@julian-risch julian-risch merged commit bbf7417 into deepset-ai:main Jan 2, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: NvidiaRanker() doesn't recognize model="nvidia/llama-3.2-nv-rerankqa-1b-v2"
3 participants