Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
TypeScript aiai-agentsai-crawlerai-scrapingai-searchcrawlerdata-extractionhtml-to-markdownllmmarkdownscraperscrapingweb-crawlerweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
feat(extract): add original schema to logs
Móricz Gergő9da51a751478
diff --git a/apps/api/src/lib/extract/extraction-service.ts b/apps/api/src/lib/extract/extraction-service.tsindex ab27e75c2..fbc46da0f 100644--- a/apps/api/src/lib/extract/extraction-service.ts+++ b/apps/api/src/lib/extract/extraction-service.ts@@ -288,7 +288,7 @@ export async function performExtraction(reqSchema = await dereferenceSchema(reqSchema);}- logger.debug("Transformed schema.", { schema: reqSchema });+ logger.debug("Transformed schema.", { originalSchema: request.schema, schema: reqSchema });// agent evaluates if the schema or the prompt has an array with big amount of items// also it checks if the schema any other properties that are not arrays