Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions examples/dataframe_usage/1_secure_chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@


sample_messages = [
"Hey, I need help planning my 3-month Europe trip. I'll be visiting France, Italy, and Germany.",
"My budget is around $7,200. I'm trying to keep track of flight costs, hotels, and food.",
"Also here is my email just in case: personal.email@example.com",
"I'm thinking of booking a multi-city flight. Found one for $1240 on Lufthansa.",
"Here's a chunk of my notes: " + "lorem ipsum " * 400, # intentionally long
"My passport number is X12345678. Please remind me to renew it.",
"Hey, I need help planning my 3-month Europe trip. I'll be visiting France, Italy, and Germany. What else information should I give to you?",
"My budget is around $7,200. I'm trying to keep track of flight costs, hotels, and food. Do you need any contact information?",
"Here is my email just in case: personal.email@example.com. What are the options I have for the flight?",
"I'm thinking of booking a multi-city flight. Found one for $1240 on Lufthansa. Do you need more information?",
"OK! Here's a chunk of my notes: " + "lorem ipsum " * 400 + "\n\nCan you book it for me if I give you my information?", # intentionally long
"My passport number is X12345678. Please remind me to renew it, it's a bit old. Should we start the daily plan of the trip?",
"Can you help me create a daily itinerary for France first?",
]

Expand Down Expand Up @@ -41,4 +41,4 @@
session.add_message(r)

df = session.to_dataframe()
df.to_pickle('2_session_df.pkl')
df.to_csv('2_session_df.csv')
Loading