semantic-router icon indicating copy to clipboard operation
semantic-router copied to clipboard

Nomic Encoder support

Open lbluett opened this issue 5 months ago • 0 comments

Is there support for the nomic embed api? Looking to specify a few params based on their API: https://docs.nomic.ai/reference/endpoints/nomic-embed-text

e.g.

from nomic import embed

output = embed.text( texts=['Nomic Embedding API', '#keepAIOpen'], model='nomic-embed-text-v1.5', task_type='clustering', dimensionality=768, device='gpu', inference_mode='local' )

Not sure how to specify these parameters using the HuggingFaceEncoder, I was thinking it might be worth implementing this using the base encoder class.

lbluett avatar Sep 05 '24 02:09 lbluett