mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 13:25:12 +00:00
chore(server): change the embedding params (#10994)
This commit is contained in:
@@ -14,8 +14,7 @@ export class OpenAIEmbeddingClient extends EmbeddingClient {
|
||||
const resp = await this.client.embeddings.create(
|
||||
{
|
||||
input,
|
||||
model: 'text-embedding-3-small',
|
||||
dimensions: 512,
|
||||
model: 'text-embedding-3-large',
|
||||
encoding_format: 'float',
|
||||
},
|
||||
{ signal }
|
||||
|
||||
Reference in New Issue
Block a user