| Name | Type | Description |
|---|---|---|
document* | string |
Method that takes a document as input and returns a promise that resolves to an embedding for the document. It calls the _embedText method with the document as the input.
Document for which to generate an embedding.