InvoiceParser/appsettings.json
2026-09-30 11:50:04 -07:00

53 lines
1.4 KiB
JSON

{
"Port": 5197,
"ConnectionStrings": {
"Pos": ""
},
"Llm": {
"TextRoute": { "Url": "https://generativelanguage.googleapis.com", "Model": "gemini-2.5-flash", "ApiKey": "" },
"ImageRoute": { "Url": "https://generativelanguage.googleapis.com", "Model": "gemini-2.5-flash", "ApiKey": "" },
"TimeoutSeconds": 600,
"MaxImageDim": 1600,
"MaxParallelPages": 3,
"AttachPageImages": true,
"Prompt": ""
},
"Paths": {
"Pending": "pending",
"Archive": "archive"
},
"Logging": {
"Enabled": true,
"Directory": "logs",
"RetainDays": 14,
"MaxFileMB": 20,
"LogRequests": true
},
"Batch": {
"Enabled": true,
"NamePrefix": "INV_",
"CreatedBy": "INVOICE",
"MinCostDelta": 0.01,
"MarginThreshold": 15
},
"Tables": {
"VendorTable": "Vendors",
"VendorIdCol": "Vendor_ID",
"VendorNameCol": "name",
"ProductsTable": "posbdat.dbo.Products",
"DepartmentsTable": "posbdat.dbo.Departments",
"InvoiceHeaderTable": "posinv.dbo.InvoiceHeader",
"InvoiceDetailTable": "posinv.dbo.InvoiceDetail",
"PoHeaderTable": "posinv.dbo.POHeader",
"PoDetailTable": "posinv.dbo.PODetail",
"ProductBatchesHeaderTable": "posbdat.dbo.ProductBatchesHeader",
"ProductBatchesTable": "posbdat.dbo.ProductBatches",
"ProductChangesTable": "posbdat.dbo.InvoiceProductChanges"
}
}