Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WellApp-ai/Well
/ functions
Functions
296 in github.com/WellApp-ai/Well
⨍
Functions
296
◇
Types & classes
91
↳
Endpoints
45
↓ 1 callers
Function
mockFileExists
(path: string)
ai-invoice-receipt-fraud-detector/tests/cli-integration.test.ts:611
↓ 1 callers
Function
mockFormatFraudDetectionPrompt
(documentText: string)
ai-invoice-receipt-fraud-detector/tests/fraud-detector.test.ts:679
↓ 1 callers
Function
mockHandleCorruptedDocument
(document: any)
ai-invoice-receipt-fraud-detector/tests/fraud-detector.test.ts:826
↓ 1 callers
Function
mockHandleLLMError
(scenario: any)
ai-invoice-receipt-fraud-detector/tests/fraud-detector.test.ts:697
↓ 1 callers
Function
mockHandleMalformedResponse
(scenario: any)
ai-invoice-extractor/tests/integration/extractor-integration.test.ts:783
↓ 1 callers
Function
mockHandleNetworkTimeout
(scenario: any)
ai-invoice-extractor/tests/integration/extractor-integration.test.ts:765
↓ 1 callers
Function
mockHandleRateLimit
(scenario: any)
ai-invoice-extractor/tests/integration/extractor-integration.test.ts:774
↓ 1 callers
Function
mockHandleTimeout
(scenario: any)
ai-invoice-receipt-fraud-detector/tests/fraud-detector.test.ts:848
↓ 1 callers
Function
mockHandleUnsupportedFormat
(document: any)
ai-invoice-receipt-fraud-detector/tests/fraud-detector.test.ts:835
↓ 1 callers
Function
mockLoadConfiguration
(envVars: any)
ai-invoice-extractor/tests/integration/extractor-integration.test.ts:729
↓ 1 callers
Function
mockLoadTest
(scenario: any)
ai-invoice-extractor/tests/integration/extractor-integration.test.ts:821
↓ 1 callers
Function
mockMergeConfigurations
(envConfig: any, cliOptions: any)
ai-invoice-extractor/tests/integration/extractor-integration.test.ts:740
↓ 1 callers
Function
mockParseLLMResponse
(response: any)
ai-invoice-receipt-fraud-detector/tests/fraud-detector.test.ts:687
↓ 1 callers
Function
mockPerformanceTest
(params: any)
ai-invoice-receipt-fraud-detector/tests/fraud-detector.test.ts:795
↓ 1 callers
Function
mockRateLimiter
(config: any)
ai-invoice-receipt-fraud-detector/tests/fraud-detector.test.ts:811
↓ 1 callers
Function
mockReadFile
(path: string)
ai-invoice-receipt-fraud-detector/tests/cli-integration.test.ts:616
↓ 1 callers
Function
mockResolveConflictingResults
(results: any)
ai-invoice-receipt-fraud-detector/tests/fraud-detector.test.ts:776
↓ 1 callers
Function
mockRetryLogic
()
ai-invoice-extractor/tests/unit/extractors/extractor-fixed.test.ts:313
↓ 1 callers
Function
mockSanitizeError
(error: any)
ai-invoice-receipt-fraud-detector/tests/fraud-detector.test.ts:894
↓ 1 callers
Function
mockSanitizeForLogging
(document: any)
ai-invoice-receipt-fraud-detector/tests/fraud-detector.test.ts:857
↓ 1 callers
Function
mockValidateConfiguration
(config: any)
ai-invoice-extractor/tests/integration/extractor-integration.test.ts:748
↓ 1 callers
Function
mockValidateInput
(input: any)
ai-invoice-receipt-fraud-detector/tests/fraud-detector.test.ts:881
↓ 1 callers
Function
mockValidateMathConsistency
(documentData: any)
ai-invoice-receipt-fraud-detector/tests/fraud-detector.test.ts:621
↓ 1 callers
Function
parseBoolean
(val: string | undefined)
ai-invoice-extractor/tests/unit/utils/utils.test.ts:376
↓ 1 callers
Function
parseDocument
(input: DocumentInput)
ai-invoice-receipt-fraud-detector/packages/core/src/parseDocument.ts:7
↓ 1 callers
Method
parse_receipt_data
Parse receipt data from text input Args: receipt_text: Raw receipt text to parse Returns:
ai-receipt-generator/src/core/services/receipt_service.py:81
↓ 1 callers
Function
readFileSync
* Read a file * @param path - The path to the file * @returns The file content as Buffer
ai-invoice-extractor/src/utils/file.ts:75
↓ 1 callers
Function
run
()
ai-invoice-receipt-fraud-detector/packages/cli/src/index.ts:39
↓ 1 callers
Function
test_api_setup
Test FastAPI setup
ai-receipt-generator/test_runner.py:53
↓ 1 callers
Function
test_basic_functionality
Test basic functionality without external dependencies
ai-receipt-generator/test_runner.py:15
↓ 1 callers
Method
to_http_exception
(self)
ai-receipt-generator/src/core/errors/__init__.py:81
↓ 1 callers
Function
useLLMBackend
(type: 'openai' | 'anthropic' | 'mistral' | 'custom', options: LLMOptions)
ai-invoice-receipt-fraud-detector/packages/models/src/llm.ts:6
↓ 1 callers
Method
validate
(self, data: Dict[str, Any])
ai-invoice-extractor/exporters/base_exporter.py:7
↓ 1 callers
Method
validateRequiredFields
(invoice: FatturapaInvoice)
ai-invoice-extractor/src/exporters/fatturapa-xml.ts:422
Method
__init__
(self, code: ErrorCode, message: str, status_code: int,
ai-receipt-generator/src/core/errors/__init__.py:42
Method
__init__
(self, style_name: str, available_styles: List[str])
ai-receipt-generator/src/core/errors/__init__.py:89
Method
__init__
(self, operation: str, original_error: str)
ai-receipt-generator/src/core/errors/__init__.py:104
Method
__init__
(self)
ai-receipt-generator/src/core/services/receipt_service.py:25
Method
__init__
(self, api_key: str = None, model: str = "gpt-3.5-turbo")
ai-receipt-generator/src/core/generators/openai_generator.py:9
Method
__init__
(self, api_key: str = None, model: str = "claude-3-haiku-20240307")
ai-receipt-generator/src/core/generators/anthropic_generator.py:9
Method
_export
(self, data: dict, output_path: str)
ai-invoice-extractor/exporters/ubl_exporter.py:7
Method
_export
(self, data: dict, output_path: str)
ai-invoice-extractor/exporters/json_exporter.py:7
Method
_export
(self, data: dict, output_path: str)
ai-invoice-extractor/exporters/csv_exporter.py:7
Method
_export
(self, data: dict, output_path: str)
ai-invoice-extractor/exporters/xml_exporter.py:7
Method
_export
(self, data: dict, output_path: str)
ai-invoice-extractor/exporters/xero_exporter.py:7
Method
_export
(self, data: dict, output_path: str)
ai-invoice-extractor/exporters/quickbooks_exporter.py:6
Function
add_process_time_header
Add processing time header to responses
ai-receipt-generator/src/core/api/app.py:156
Function
add_request_id_header
Add request ID header for tracking
ai-receipt-generator/src/core/api/app.py:165
Function
analyseFile
(input: AnalyseFilePathInput<O>)
ai-invoice-extractor/src/extractors/extractor.ts:62
Method
calculate_line_total
(cls, v, values)
ai-receipt-generator/src/core/api/models.py:47
Function
constructor
(details: ErrorDetails)
shared/errors/base.ts:17
Function
constructor
(protected readonly model: LanguageModelV1)
ai-invoice-extractor/src/extractors/extractor.ts:57
Method
constructor
( message: string, context: ErrorContext, technicalDetails?: string )
shared/errors/base.ts:49
Method
constructor
( provider: string, model: string, originalError: string, context: ErrorContext )
shared/errors/base.ts:70
Method
constructor
( operation: string, context: ErrorContext, technicalDetails?: string )
shared/errors/base.ts:96
Method
constructor
(private options: XmlOptions = {})
ai-invoice-extractor/src/exporters/fatturapa-xml.ts:17
Method
constructor
(private options: JsonExportOptions = {})
ai-invoice-extractor/src/exporters/fatturapa-json.ts:60
Method
constructor
(model: MistralModelId | AnyString, apiKey: string)
ai-invoice-extractor/src/extractors/extractor.ts:217
Method
constructor
(model: AnthropicModelId | AnyString, apiKey: string)
ai-invoice-extractor/src/extractors/extractor.ts:229
Method
constructor
(model: OpenAIModelId | AnyString, apiKey: string)
ai-invoice-extractor/src/extractors/extractor.ts:241
Method
constructor
(model: GoogleModelId | AnyString, apiKey: string)
ai-invoice-extractor/src/extractors/extractor.ts:253
Method
constructor
(model: AnyString, baseURL?: string)
ai-invoice-extractor/src/extractors/extractor.ts:265
Method
constructor
()
ai-invoice-extractor/tests/unit/extractors/extractor.test.ts:77
Function
create_style
Create a new receipt style - **name**: Style name (without .json extension) - **content**: Style configuration JSON - **descript
ai-receipt-generator/src/core/api/router.py:315
Function
create_style_legacy
Legacy endpoint for creating styles
ai-receipt-generator/src/core/api/router.py:441
Function
debug_info
Debug information endpoint (development only)
ai-receipt-generator/src/core/api/app.py:252
Function
default_style
Loads the default style for tests.
ai-receipt-generator/tests/test_core.py:11
Function
delete_style
Delete a receipt style
ai-receipt-generator/src/core/api/router.py:343
Method
export
* Exports FatturaPA invoice data to compliant XML
ai-invoice-extractor/src/exporters/fatturapa-xml.ts:29
Method
export
* Exports FatturaPA invoice data to structured JSON
ai-invoice-extractor/src/exporters/fatturapa-json.ts:73
Method
exportRaw
* Exports raw extracted data maintaining confidence scores
ai-invoice-extractor/src/exporters/fatturapa-json.ts:86
Function
generate_image_prompt_cli
( input_path: Path = typer.Option(None, help="YAML or JSON file containing receipt input data"), style
ai-receipt-generator/src/core/cli.py:37
Function
generate_receipt
(request: ReceiptGenerationRequest)
ai-receipt-generator/src/core/api/router.py:92
Function
generate_receipt_data_only
Generate receipt data only (without image) Faster endpoint for when only data is needed
ai-receipt-generator/src/core/api/router.py:140
Function
generate_receipt_legacy
Legacy endpoint for receipt generation
ai-receipt-generator/src/core/api/router.py:458
Function
getCurrentLLM
()
ai-invoice-receipt-fraud-detector/packages/models/src/llm.ts:16
Function
getFraudDetectionPrompt
(documentText: string)
ai-invoice-receipt-fraud-detector/packages/core/src/llm/getFraudDetectionPrompt.ts:7
Function
getMetadata
* Get file metadata * @param path - The path to the file * @returns The file metadata
ai-invoice-extractor/src/utils/file.ts:34
Function
get_config
Get current receipt generation configuration
ai-receipt-generator/src/core/api/router.py:372
Function
get_current_config
Legacy endpoint for getting current configuration
ai-receipt-generator/src/core/api/router.py:414
Method
get_exporter
Get an exporter instance by format name.
ai-invoice-extractor/exporters/exporter_factory.py:16
Function
get_status
Get API status and configuration
ai-receipt-generator/src/core/api/router.py:58
Function
get_style_info
Get detailed information about a specific style
ai-receipt-generator/src/core/api/router.py:280
Function
global_exception_handler
Global exception handler for unhandled errors
ai-receipt-generator/src/core/api/app.py:179
Function
health_check
Health check endpoint
ai-receipt-generator/src/core/api/router.py:45
Function
invalid_config_data
()
ai-receipt-generator/tests/test_config_loader.py:23
Function
list_styles
Get list of available receipt styles
ai-receipt-generator/src/core/api/router.py:269
Function
mask
* Mask a string by showing only the last 5 characters * @param str - The string to mask * @returns The masked string
ai-invoice-extractor/src/utils/string.ts:7
Function
parse_receipt
Parse receipt data from text input - **receipt_text**: Raw receipt text to parse - **language**: Language of receipt text (default:
ai-receipt-generator/src/core/api/router.py:167
Function
ping
Simple ping endpoint for health checks
ai-receipt-generator/src/core/api/app.py:212
Function
readFile
* Read a file * @param path - The path to the file * @returns The file content as Buffer
ai-invoice-extractor/src/utils/file.ts:66
Function
receipt_generator_exception_handler
Handle custom receipt generator errors
ai-receipt-generator/src/core/api/app.py:269
Function
receipt_generator_exception_handler
Handle custom receipt generator errors
ai-receipt-generator/src/core/api/router.py:84
Method
register
Decorator to register exporter classes.
ai-invoice-extractor/exporters/exporter_factory.py:8
Function
root
Root endpoint with API information
ai-receipt-generator/src/core/api/app.py:201
Method
sample_receipt_data
Sample receipt data for testing
ai-receipt-generator/tests/test_comprehensive.py:316
Method
sample_style
Sample style configuration for testing
ai-receipt-generator/tests/test_comprehensive.py:327
Function
shutdown_event
Application shutdown event
ai-receipt-generator/src/core/api/app.py:241
Function
startup_event
Application startup event
ai-receipt-generator/src/core/api/app.py:232
Method
test_anthropic_generation
Test Anthropic text generation
ai-receipt-generator/tests/test_comprehensive.py:617
← previous
next →
101–200 of 296, ranked by callers