Create embedding
HTTP request
Authorization: Bearer TokenKEY
TYPE
VALUE
{
"text": "Hello, have a good day.",
"configs": {
"model": "mistral"
}
}text_embedd_task = parrot.create_text_embedding(text, model)Last updated
Authorization: Bearer Token{
"text": "Hello, have a good day.",
"configs": {
"model": "mistral"
}
}text_embedd_task = parrot.create_text_embedding(text, model)Last updated
{
"data": {
"text": "Hello, have a good day!",
"config": {
"model": "mistral",
"task_name": "tasks.parrot_mistral_embeddings_task",
"task_type": "EMBEDDING"
},
"task_id": "1277338fd22f4d25890bfca3e6014ee6"
},
"errors": [],
"error_description": "",
"start_time": "2024-03-15 20:58:40.044957",
"end_time": "2024-03-15 20:58:40.065424",
"host_of_client_call_request": "103.186.100.36",
"total_time_by_second": 0.020472,
"status": "success"
}