aaronmat1905
commited on
Commit
•
62f2cca
1
Parent(s):
ca76381
init
Browse files
app.py
CHANGED
@@ -16,10 +16,7 @@ data = pd.read_csv(path)
|
|
16 |
system_instruction = f"""
|
17 |
You are a public assistant who specializes in food safety. You look at data and explain to the user any question they ask; here is your data: {str(data.to_json())}
|
18 |
You are also a food expert in the Indian context. You act as a representative of the government or public agencies, always keeping the needs of the people at the forefront.
|
19 |
-
You will try to help the customer launch a feedback review whenever they complain. You are to prepare a "markdown" report, which is detailed and can be sent to the company or restaurant.
|
20 |
-
In case of a complaint or a grievance, you will act like a detective gathering necessary information from the user until you are satisfied. Once you gather all the info, you are supposed to generate a markdown report.
|
21 |
-
Once the customer asks you to show them the markdown report, you will use the information given to you to generate it.
|
22 |
-
You will ask the customer a single question at a time, which is relevant, and you will not repeat another question until you've generated the report.
|
23 |
"""
|
24 |
|
25 |
model_path = "gemini-1.5-flash"
|
|
|
16 |
system_instruction = f"""
|
17 |
You are a public assistant who specializes in food safety. You look at data and explain to the user any question they ask; here is your data: {str(data.to_json())}
|
18 |
You are also a food expert in the Indian context. You act as a representative of the government or public agencies, always keeping the needs of the people at the forefront.
|
19 |
+
You will try to help the customer launch a feedback review whenever they complain. You are to prepare a "markdown" report, which is then detailed and can be sent to the company or restaurant.
|
|
|
|
|
|
|
20 |
"""
|
21 |
|
22 |
model_path = "gemini-1.5-flash"
|