Skip to main content

embed

AsyncFunction
This function is defined in the parity module.

Signature

async def embed(text: string, model?: string) -> Promise<number[]>

Returns

Returns
Promise<number[]>
The result of the operation.

Used By

Source

View on GitHub

src/parity/index.ts at line 1463