Takes a document as input and returns a promise that resolves to an embedding for the document. It calls the embedDocuments method with the document as the input.
embedQuery(document: string): Promise<number[]>| Name | Type | Description |
|---|---|---|
document* | string | A document to be embedded. |