rebase from lancedb/main

This commit is contained in:
Andrew Miracle
2024-01-12 10:17:30 +01:00
committed by Weston Pace
parent d39145c7e4
commit fa13fb9392
2 changed files with 4 additions and 0 deletions

View File

@@ -38,6 +38,9 @@ export class OpenAIEmbeddingFunction implements EmbeddingFunction<string> {
this._openai = new Openai(configuration)
this._modelName = modelName
console.log({ op: this._openai.embeddings.create, md: this._modelName })
}
async embed (data: string[]): Promise<number[][]> {