jinaai-jina-code-embeddings-1.5b
Version: 3
jinaai/jina-code-embeddings-1.5b powered by Hugging Face API
Send Request
You can use cURL or any REST Client to send a request to the Azure ML endpoint with your Azure ML token.curl <AZUREML_ENDPOINT_URL> \\
-X POST \\
-H "Authorization: Bearer <AZUREML_TOKEN>" \\
-H "Content-Type: application/json" \\
-d '{"inputs":"Today is a sunny day and I will get some ice cream."}'
Supported Parameters
- inputs (string or string[]): Either the text to create the embeddings for, or a list of texts.
- parameters (object):
- normalize (boolean): Whether to normalize the embedding to be generated or not.
- prompt_name (string): The name of the prompt that should be used by for encoding. If not set, no prompt will be applied. Must be a key in the sentence-transformers configuration prompts dictionary. For example if prompt_name is "query" and the prompts is {"query": "query: ", ...}, then the sentence "What is the capital of France?" will be encoded as "query: What is the capital of France?" because the prompt text will be prepended before any text to encode.
- truncate (boolean): Whether to truncate the input to match the max allowed input tokens or not.
- truncation_direction (enum): Possible values: Left, Right.
OpenAI Embeddings API
Additionally, the API also supports the OpenAI Embeddings API Specification under the endpoint/v1/embeddings. Model Specifications
LicenseApache-2.0
Last UpdatedDecember 2025
ProviderHugging Face