rebase from lancedb/main

This commit is contained in:
Andrew Miracle
2024-01-12 10:17:30 +01:00
parent cfdbddc5cf
commit f7f9beaf31
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[][]> {