mirror of
https://github.com/lancedb/lancedb.git
synced 2026-05-27 08:50:39 +00:00
rebase from lancedb/main
This commit is contained in:
@@ -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