Successful Response
{- "text": [
- "string"
], - "model": "mosaicml/mpt-7b-instruct",
- "bucket": "string",
- "openai_api_key": "string",
- "max_tokens": 128,
- "temperature": 0.9
}
{- "data": {
- "answer": [
- "string"
]
}
}
Perform embedding on a Telnyx Storage Bucket using the a embedding model. The current supported file types are:
Any files not matching the above types will be attempted to be embedded as unstructured text.
This process can be slow, so it runs in the background and the user can check
the status of the task using the endpoint /embedding/{task_id}
.
{- "bucket_name": "string",
- "document_chunk_size": 1024,
- "document_chunk_overlap_size": 512,
- "embedding_model": "thenlper/gte-large"
}
null