Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -122,7 +122,7 @@ Convert the Invoice Date to the specified dd-MMM-yyyy format.
|
|
| 122 |
Use the correct currency and amounts for each invoice field.
|
| 123 |
For each line item, provide the Description, Tax Percentage, Tax Amount, and Amount.
|
| 124 |
If certain values are missing or not applicable, leave them empty or set them as null where necessary.
|
| 125 |
-
This JSON format will be used to store and manage invoices in a structured and uniform way."""
|
| 126 |
try:
|
| 127 |
response = openai.ChatCompletion.create(
|
| 128 |
model="gpt-4o-mini",
|
|
|
|
| 122 |
Use the correct currency and amounts for each invoice field.
|
| 123 |
For each line item, provide the Description, Tax Percentage, Tax Amount, and Amount.
|
| 124 |
If certain values are missing or not applicable, leave them empty or set them as null where necessary.
|
| 125 |
+
This JSON format will be used to store and manage invoices in a structured and uniform way. Please ensure only return JSON format. No extra content should not provide."""
|
| 126 |
try:
|
| 127 |
response = openai.ChatCompletion.create(
|
| 128 |
model="gpt-4o-mini",
|