Ask a question to get started
Enter to sendā¢Shift+Enter new line
embedQuery(document: string): Promise<number[]>
document
string
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.
A document to be embedded.