menu
receipt_reader package
documentation
utils/chat_extractions.dart
utils/chat_extractions.dart
dark_mode
light_mode
utils/chat_extractions
library
Functions
extractJsonFromText
(
String
text
)
→
String
Extracts a valid JSON string from a block of text.
processReceipt
(
String
receiptText
,
String
api
,
List
<
String
>
categories
)
→
Future
<
Order
>
Processes a receipt text using the Google Generative AI API and returns the structured
Order
object.
receipt_reader package
documentation
utils/chat_extractions.dart
receipt_reader
package
Libraries
models/order
receipt_reader
utils/chat_extractions
chat_extractions library