DeepInfra
To use DeepInfra embeddings, you need to import DeepInfraEmbedding
from llamaindex.
Check out available embedding models here.
Installation
By default, DeepInfraEmbedding is using the sentence-transformers/clip-ViT-B-32 model. You can change the model by passing the model parameter to the constructor. For example:
You can also set the maxRetries
and timeout
parameters when initializing DeepInfraEmbedding
for better control over the request behavior.
For example:
Standalone usage:
For questions or feedback, please contact us at feedback@deepinfra.com