Skip to content

Commit d835ccf

Browse files
committed
update embedding batch size
1 parent 73154a0 commit d835ccf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/embeddings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { JinaEmbeddingRequest, JinaEmbeddingResponse } from "../types";
33
import axiosClient from "../utils/axios-client";
44
import { logError, logDebug, logWarning } from '../logging';
55

6-
const BATCH_SIZE = 128;
6+
const BATCH_SIZE = 32;
77
const API_URL = "https://api.jina.ai/v1/embeddings";
88
const MAX_RETRIES = 3; // Maximum number of retries for missing embeddings
99

0 commit comments

Comments
 (0)