v1

latestOpenAPI 3.0.22026-07-1713726.7 KB

Invoke Embed

Endpoint to invoke embed models. Takes model name, input text, and optional parameters. Please check /model/list_models for supported models and their model names. Sample Input: { "model_name":"TITAN_TEXT_EMBED_V2", "input_text": "Hello World" }

post/model/embed

Request body

model_namestring required
input_textstring
dimensionsinteger
normalizeboolean
textsstring[]
input_typestring
truncatestring

Response

Successful Response

{"stackTrail":"paths:/model/embed:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}