chore(server): change the embedding params (#10994)

This commit is contained in:
Brooooooklyn
2025-03-19 13:18:59 +00:00
parent 33d57b455a
commit 9a697dc9bb

View File

@@ -14,8 +14,7 @@ export class OpenAIEmbeddingClient extends EmbeddingClient {
const resp = await this.client.embeddings.create( const resp = await this.client.embeddings.create(
{ {
input, input,
model: 'text-embedding-3-small', model: 'text-embedding-3-large',
dimensions: 512,
encoding_format: 'float', encoding_format: 'float',
}, },
{ signal } { signal }