mirror of
https://github.com/lancedb/lancedb.git
synced 2026-01-05 19:32:56 +00:00
remove console logs
This commit is contained in:
committed by
Weston Pace
parent
453bf113ae
commit
9efc3fa6d8
@@ -40,7 +40,6 @@ export class OpenAIEmbeddingFunction implements EmbeddingFunction<string> {
|
||||
this._modelName = modelName
|
||||
|
||||
|
||||
console.log({ op: this._openai.embeddings.create, md: this._modelName })
|
||||
}
|
||||
|
||||
async embed (data: string[]): Promise<number[][]> {
|
||||
@@ -49,8 +48,6 @@ export class OpenAIEmbeddingFunction implements EmbeddingFunction<string> {
|
||||
input: data
|
||||
})
|
||||
|
||||
console.log({ response })
|
||||
|
||||
const embeddings: number[][] = []
|
||||
for (let i = 0; i < response.data.length; i++) {
|
||||
embeddings.push(response.data[i].embedding as number[])
|
||||
|
||||
Reference in New Issue
Block a user