Update scrape.ts
This commit is contained in:
@@ -146,6 +146,7 @@ export async function scrapeController(req: Request, res: Response) {
|
|||||||
const creditsPerLLMExtract = 50;
|
const creditsPerLLMExtract = 50;
|
||||||
|
|
||||||
if (extractorOptions.mode.includes("llm-extraction")) {
|
if (extractorOptions.mode.includes("llm-extraction")) {
|
||||||
|
// creditsToBeBilled = creditsToBeBilled + (creditsPerLLMExtract * filteredDocs.length);
|
||||||
creditsToBeBilled += creditsPerLLMExtract;
|
creditsToBeBilled += creditsPerLLMExtract;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user