Ask a question to get started
Enter to sendā¢Shift+Enter new line
Method to generate an embedding for a single document. Calls the embeddingWithRetry method with the document as the input.
embedQuery(text: string): Promise<TOutput>
text
string
Document to generate an embedding for.