mirror of
https://github.com/lancedb/lancedb.git
synced 2026-01-10 22:02:58 +00:00
rebase from lancedb/main
This commit is contained in:
committed by
Weston Pace
parent
d39145c7e4
commit
fa13fb9392
@@ -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[][]> {
|
||||
|
||||
Reference in New Issue
Block a user