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(
|
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 }
|
||||||
|
|||||||
Reference in New Issue
Block a user