OpenAI compatible route. Returns a 424 status code if the model is not an embedding model.
sentence-transformers
configuration prompts dictionary.For example if prompt_name
is “doc” then the sentence “How to get fast inference?” will be encoded as “doc: How to get fast inference?” because the prompt text will be prepended before any text to encode.