example output
Browse files
app.py
CHANGED
@@ -903,10 +903,11 @@ For example, Comcast reduced repeat service calls by 17% after deploying entity
|
|
903 |
gr.Markdown("""
|
904 |
Example Output
|
905 |
=========
|
|
|
906 |
GUARDRAILED:
|
907 |
-
|
908 | |
909 |
-
<
|
910 |
|
911 |
Alternative Address Format:
|
912 |
Xiongmao Ave West Section, Jinniu District (listed in some records as 610016 postcode)
|
@@ -914,11 +915,13 @@ GUARDRAILED:
|
|
914 |
|
915 |
Best Viewing: Before 9:00 AM during summer hours (7:30 AM-5:00 PM)
|
916 |
|
917 |
-
Caretaker: <
|
918 |
|
919 |
Additional Contacts
|
920 |
-
Charitable Donations: <
|
921 |
-
Dining Reservations: <
|
|
|
|
|
922 |
|
923 |
"Is your personal banking AI trained on customer conversations—or customer identities?"
|
924 |
===========
|
|
|
903 |
gr.Markdown("""
|
904 |
Example Output
|
905 |
=========
|
906 |
+
```
|
907 |
GUARDRAILED:
|
908 |
+
<name_0> (<name_1>) Director
|
909 |
+
<email_2>
|
910 |
+
<phone_3>
|
911 |
|
912 |
Alternative Address Format:
|
913 |
Xiongmao Ave West Section, Jinniu District (listed in some records as 610016 postcode)
|
|
|
915 |
|
916 |
Best Viewing: Before 9:00 AM during summer hours (7:30 AM-5:00 PM)
|
917 |
|
918 |
+
Caretaker: <name_5> ("<PERSON>)
|
919 |
|
920 |
Additional Contacts
|
921 |
+
Charitable Donations: <phone_3>
|
922 |
+
Dining Reservations: <phone_7>
|
923 |
+
|
924 |
+
```
|
925 |
|
926 |
"Is your personal banking AI trained on customer conversations—or customer identities?"
|
927 |
===========
|
pii.py
CHANGED
@@ -21,7 +21,7 @@ client = Groq(api_key=os.getenv("GROQ_API_KEY"))
|
|
21 |
# Enable instructor patches for Groq client
|
22 |
client = instructor.from_groq(client)
|
23 |
|
24 |
-
llm = 'llama-3.1-8b-instant' if os.getenv("GROQ_API_KEY") else "
|
25 |
|
26 |
|
27 |
class PIIData(BaseModel):
|
|
|
21 |
# Enable instructor patches for Groq client
|
22 |
client = instructor.from_groq(client)
|
23 |
|
24 |
+
llm = 'llama-3.1-8b-instant' if os.getenv("GROQ_API_KEY") else "qwen2.5"
|
25 |
|
26 |
|
27 |
class PIIData(BaseModel):
|