LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows
Python ai-agentsdata-engineeringdocument-aigenerative-aiidpjson-extractionllmmcp-serverocrpdf-extractionprompt-engineeringstructured-output
/**
* Application configuration
* This file centralizes all configuration values and provides defaults
* Configuration values are loaded from multiple sources with the following priority:
* 1. Runtime configuration (from window.RUNTIME_CONFIG) - for containerized environments
* 2. Environment variables (from import.meta.env) - for development
* 3. Default values - fallback
*/
// Check if runtime config is available (in containerized environments)
const runtimeConfig =
typeof window !== "undefined" ? window.RUNTIME_CONFIG || {} : {};
const config = {
favicon:
runtimeConfig.faviconPath ||
import.meta.env.VITE_FAVICON_PATH ||
"/favicon.ico",
logoUrl: runtimeConfig.logoUrl || import.meta.env.VITE_CUSTOM_LOGO_URL,
version: runtimeConfig.version || import.meta.env.VITE_VERSION,
// URL of the Unstract Flow app, when one is deployed alongside.
flowUrl: runtimeConfig.flowUrl || import.meta.env.VITE_FLOW_URL,
// Add more values as OR case, if needed for fallback.
};
export default config;