mirror of
https://github.com/jina-ai/node-DeepResearch.git
synced 2025-12-26 06:28:56 +08:00
update embedding batch size
This commit is contained in:
parent
73154a05b0
commit
d835ccfd7c
@ -3,7 +3,7 @@ import { JinaEmbeddingRequest, JinaEmbeddingResponse } from "../types";
|
||||
import axiosClient from "../utils/axios-client";
|
||||
import { logError, logDebug, logWarning } from '../logging';
|
||||
|
||||
const BATCH_SIZE = 128;
|
||||
const BATCH_SIZE = 32;
|
||||
const API_URL = "https://api.jina.ai/v1/embeddings";
|
||||
const MAX_RETRIES = 3; // Maximum number of retries for missing embeddings
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user