/ai/embeddings/{task_id}
.loader
param. Currently the only supported loader value isintercom
which loads Intercom article jsons as specified by the Intercom article APIarticle_url
and heading
. These values will be returned by the /v2/ai/embeddings/similarity-search
endpoint in the loader_metadata
field.curl --location --request POST '/ai/embeddings' \
--header 'Content-Type: application/json' \
--data-raw '{
"bucket_name": "string",
"document_chunk_overlap_size": 512,
"document_chunk_size": 1024,
"embedding_model": "thenlper/gte-large",
"loader": "default"
}'
{
"data": {
"created_at": "string",
"finished_at": "string",
"status": "string",
"task_id": "736fde4d-9029-4915-8189-01353d6982cb",
"task_name": "string",
"user_id": "a169451c-8525-4352-b8ca-070dd449a1a5"
}
}
Authorization: Bearer ********************