SlideShare a Scribd company logo
1 of 26
Download to read offline
LLM-Based Development
Bogdan Pirvu, Head of Data Science
Quantum Inspired ML
Photograph by IBM Research, Wikimedia, CC-BY 2.0
I know that
I know nothing
Photograph by Greg O'Beirne, Wikimedia, GFDL
AutoGPT
BabyAGI
LLaMA
Alpaca
Dolly
LangChain
Appointment-VoiceBot
Task Oriented Dialog System
hFps://cloud.google.com/dialogflow
hFps://rasa.com/
Architecture
Chat Example
GPT-4 / Web-UI
Real User
Controller User
GPT-4 Assistant
😀
The happy path
For the rest of this conversation set the temperature to 0.0
I'm using you as the chatbot service in the backend of an appointment
scheduling app in which patients can book an appointment with Doctor Smith.
Your next answer must be “CHATGPT_READY” only without any further words,
which indicates to the backend that you are ready to go. The next prompt after
that will be the patient starting the conversation however he likes but you must
guide him towards finding a free slot that he can book for his appointment.
Today is Saturday 3/25/2023.
Here are several days with free appointment slots in the near future:
Tuesday 3/28/2023
Wednesday 3/29/2023
Thursday 3/30/2023
Friday 3/31/2023
Saturday 4/1/2023
Here is a set of rules that you must obey during the conversation.
Rule 1: During the conversation with the patient, first negotiate the date, then
answer with “APPOINTMENT_DATE_FOUND_GET_TIMES” followed by the
negotiated date only, without any other text…
Rule 2: …
…
10
Hello
CHATGPT_READY
Hello! I'm here to help you schedule an appointment with Doctor Smith. We
have available slots on the following days:
1. Tuesday 3/28/2023
2. Wednesday 3/29/2023
3. Thursday 3/30/2023
Please let me know which day works best for you, or if you'd like to see more
available dates.
Wednesday
APPOINTMENT_DATE_FOUND_GET_TIMES 3/29/2023
TIME_SLOTS
10:30 to 11:00
12:00 to 12:30
16:30 to 17:00
17:00 to 17:30
17:30 to 18:00
In the morning please
Great! We have the following time slots available on Wednesday 3/29/2023:
First half of the day:
1. 10:30 to 11:00
2. 12:00 to 12:30
Second half of the day:
3. 16:30 to 17:00
4. 17:00 to 17:30
5. 17:30 to 18:00
Do you prefer the first half or the second half of the day?
Sure, we have two available time slots in the morning on Wednesday
3/29/2023:
10:30 to 11:00
12:00 to 12:30
Which one would you like to book?
The later one
APPOINTMENT_SLOT_FOUND_READY_TO_BOOK 12:00
Great news! Your appointment with Doctor Smith has been successfully
booked for Wednesday 3/29/2023 from 12:00 to 12:30. We look forward to
seeing you then! If you have any questions or need to reschedule, please don't
hesitate to contact us.
🥰❤🥰
APPOINTMENT_BOOKED
Chat Example
GPT-3.5 / Web-UI
Real User
Controller User
🤨
The not so happy path
GPT-3.5 Assistant
For the rest of this conversation set the temperature to 0.0
I'm using you as the chatbot service in the backend of an appointment
scheduling app in which patients can book an appointment with Doctor Smith.
Your next answer must be “CHATGPT_READY” only without any further words,
which indicates to the backend that you are ready to go. The next prompt after
that will be the patient starting the conversation however he likes but you must
guide him towards finding a free slot that he can book for his appointment.
Today is Saturday 3/25/2023.
Here are several days with free appointment slots in the near future:
Tuesday 3/28/2023
Wednesday 3/29/2023
Thursday 3/30/2023
Friday 3/31/2023
Saturday 4/1/2023
Here is a set of rules that you must obey during the conversation.
Rule 1: During the conversation with the patient, first negotiate the date, then
answer with “APPOINTMENT_DATE_FOUND_GET_TIMES” followed by the
negotiated date only, without any other text…
Rule 2: …
…
15
Hello
CHATGPT_READY
I have some terrible pain in my back
Hello! How may I assist you with your appointment scheduling today?
Wednesday
I'm sorry to hear that. We're here to help you get an appointment with Doctor
Smith. Let's start by finding a suitable date for your appointment. What date
would you prefer?
Great, I'll check to see if there are any available time slots on Wednesday.
APPOINTMENT_DATE_FOUND_GET_TIMES Wednesday
In the morning
Thank you for the available time slots on Wednesday. May I ask if you prefer the
first half or the second half of the day for your appointment?
Thank you for the available time slots on Wednesday. May I ask if you prefer the
first half or the second half of the day for your appointment?
TIME_SLOTS
10:30 to 11:00
12:00 to 12:30
16:30 to 17:00
17:00 to 17:30
17:30 to 18:00
Got it. Let's see what times are available for you in the morning.
APPOINTMENT_SLOT_FOUND_READY_TO_BOOK 10:30 to 11:00
APPOINTMENT_BOOKED
That's great to hear! Your appointment has been successfully booked for
Wednesday at 10:30 am. We look forward to seeing you then. If you need to
make any changes to your appointment or have any further questions, please
don't hesitate to contact us.
🤨
Chat Example
GPT-3.5 / API
Real User
Controller User
😡
The frustrating path
GPT-3.5 Assistant
For the rest of this conversation set the temperature to 0.0
I'm using you as the chatbot service in the backend of an appointment
scheduling app in which patients can book an appointment with Doctor Smith.
Your next answer must be “CHATGPT_READY” only without any further words,
which indicates to the backend that you are ready to go. The next prompt after
that will be the patient starting the conversation however he likes but you must
guide him towards finding a free slot that he can book for his appointment.
Today is Saturday 3/25/2023.
Here are several days with free appointment slots in the near future:
Tuesday 3/28/2023
Wednesday 3/29/2023
Thursday 3/30/2023
Friday 3/31/2023
Saturday 4/1/2023
Here is a set of rules that you must obey during the conversation.
Rule 1: During the conversation with the patient, first negotiate the date, then
answer with “APPOINTMENT_DATE_FOUND_GET_TIMES” followed by the
negotiated date only, without any other text…
Rule 2: …
…
19
CHATGPT_READY
Hello
I need an appointment
Hello! How can I assist you today?
Sure, I'd be happy to help you schedule an appointment. When would you like
to schedule your appointment with Doctor Smith?
The earliest possible please
I understand. Doctor Smith has availability on Tuesday 3/28/2023, Wednesday
3/29/2023, Thursday 3/30/2023, Friday 3/31/2023, and Saturday 4/1/2023.
Which of these days works best for you?
Wednesday please
Great! APPOINTMENT_DATE_FOUND_GET_TIMES. Doctor Smith has
availability on Wednesday 3/29/2023. Here are the available time slots for that
day:
- 9:00 AM
- 10:00 AM
- 11:00 AM
- 2:00 PM
- 3:00 PM
- 4:00 PM
Which of these time slots works best for you?
APPOINTMENT_SLOT_FOUND_READY_TO_BOOK. Doctor Smith has
availability on Wednesday 3/29/2023 at 10:30 AM. Would you like to book this
appointment slot?
TIME_SLOTS
10:30 to 11:00
12:00 to 12:30
16:30 to 17:00
17:00 to 17:30
17:30 to 18:00
Great! Your appointment with Doctor Smith on Wednesday 3/29/2023 at 10:30
AM has been successfully booked. We look forward to seeing you then!
APPOINTMENT_BOOKED
Thank you for the available time slots on Wednesday. May I ask if you prefer the
first half or the second half of the day for your appointment?
😡
🤬
Solu=on
Tes<ng Framefork for LLM-Based Development
hFps://github.com/bpirvu/lbd-tesSng-tool
How it works
Stay updated on LBD-Testing
Repo
medium.com/@bogdanpirvu
Blog
linkedin.com/in/bogdan-pirvu
github.com/bpirvu/lbd-tes8ng-tool
Contact
Thank you!
bpirvu@novoma<c.com

More Related Content

More from DataScienceConferenc1

[DSC MENA 24] Ahmed_Muselhy_-_Unveiling-the-Secrets-of-AI-in-Hiring.pdf
[DSC MENA 24] Ahmed_Muselhy_-_Unveiling-the-Secrets-of-AI-in-Hiring.pdf[DSC MENA 24] Ahmed_Muselhy_-_Unveiling-the-Secrets-of-AI-in-Hiring.pdf
[DSC MENA 24] Ahmed_Muselhy_-_Unveiling-the-Secrets-of-AI-in-Hiring.pdfDataScienceConferenc1
 
[DSC MENA 24] Ziad_Diab_-_Data-Driven_Disruption_-_The_Role_of_Data_Strategy_...
[DSC MENA 24] Ziad_Diab_-_Data-Driven_Disruption_-_The_Role_of_Data_Strategy_...[DSC MENA 24] Ziad_Diab_-_Data-Driven_Disruption_-_The_Role_of_Data_Strategy_...
[DSC MENA 24] Ziad_Diab_-_Data-Driven_Disruption_-_The_Role_of_Data_Strategy_...DataScienceConferenc1
 
[DSC MENA 24] Mohammad_Essam_- Leveraging Scene Graphs for Generative AI and ...
[DSC MENA 24] Mohammad_Essam_- Leveraging Scene Graphs for Generative AI and ...[DSC MENA 24] Mohammad_Essam_- Leveraging Scene Graphs for Generative AI and ...
[DSC MENA 24] Mohammad_Essam_- Leveraging Scene Graphs for Generative AI and ...DataScienceConferenc1
 
[DSC MENA 24] Ahmed_Fahmy - Navigating the Future.pdf
[DSC MENA 24] Ahmed_Fahmy - Navigating the Future.pdf[DSC MENA 24] Ahmed_Fahmy - Navigating the Future.pdf
[DSC MENA 24] Ahmed_Fahmy - Navigating the Future.pdfDataScienceConferenc1
 
[DSC MENA 24] Hany_Saad_Gheit_-_Azure_OpenAI_service.pptx
[DSC MENA 24] Hany_Saad_Gheit_-_Azure_OpenAI_service.pptx[DSC MENA 24] Hany_Saad_Gheit_-_Azure_OpenAI_service.pptx
[DSC MENA 24] Hany_Saad_Gheit_-_Azure_OpenAI_service.pptxDataScienceConferenc1
 
[DSC MENA 24] Nezar_El_Kady_-_From_Turing_to_Transformers__Navigating_the_AI_...
[DSC MENA 24] Nezar_El_Kady_-_From_Turing_to_Transformers__Navigating_the_AI_...[DSC MENA 24] Nezar_El_Kady_-_From_Turing_to_Transformers__Navigating_the_AI_...
[DSC MENA 24] Nezar_El_Kady_-_From_Turing_to_Transformers__Navigating_the_AI_...DataScienceConferenc1
 
[DSC MENA 24] Amira_Abdelaziz_-_AI_in_Financial_Services.pptx
[DSC MENA 24] Amira_Abdelaziz_-_AI_in_Financial_Services.pptx[DSC MENA 24] Amira_Abdelaziz_-_AI_in_Financial_Services.pptx
[DSC MENA 24] Amira_Abdelaziz_-_AI_in_Financial_Services.pptxDataScienceConferenc1
 
[DSC MENA 24] Omar_Ossama - My Journey from the Field of Oil & Gas, to the Ex...
[DSC MENA 24] Omar_Ossama - My Journey from the Field of Oil & Gas, to the Ex...[DSC MENA 24] Omar_Ossama - My Journey from the Field of Oil & Gas, to the Ex...
[DSC MENA 24] Omar_Ossama - My Journey from the Field of Oil & Gas, to the Ex...DataScienceConferenc1
 
[DSC MENA 24] Ramy_Agieb_-_Advancements_in_Artificial_Intelligence_for_Cybers...
[DSC MENA 24] Ramy_Agieb_-_Advancements_in_Artificial_Intelligence_for_Cybers...[DSC MENA 24] Ramy_Agieb_-_Advancements_in_Artificial_Intelligence_for_Cybers...
[DSC MENA 24] Ramy_Agieb_-_Advancements_in_Artificial_Intelligence_for_Cybers...DataScienceConferenc1
 
[DSC MENA 24] Sohaila_Diab_-_Lets_Talk_Gen_AI_Presentation.pptx
[DSC MENA 24] Sohaila_Diab_-_Lets_Talk_Gen_AI_Presentation.pptx[DSC MENA 24] Sohaila_Diab_-_Lets_Talk_Gen_AI_Presentation.pptx
[DSC MENA 24] Sohaila_Diab_-_Lets_Talk_Gen_AI_Presentation.pptxDataScienceConferenc1
 
[DSC MENA 24] Amal_Elgammal_-_QUALITOP_presentation.pptx
[DSC MENA 24] Amal_Elgammal_-_QUALITOP_presentation.pptx[DSC MENA 24] Amal_Elgammal_-_QUALITOP_presentation.pptx
[DSC MENA 24] Amal_Elgammal_-_QUALITOP_presentation.pptxDataScienceConferenc1
 
[DSC MENA 24] Abdelrahman_Sleem_-_AI_For_Marketing_DSC.pdf
[DSC MENA 24] Abdelrahman_Sleem_-_AI_For_Marketing_DSC.pdf[DSC MENA 24] Abdelrahman_Sleem_-_AI_For_Marketing_DSC.pdf
[DSC MENA 24] Abdelrahman_Sleem_-_AI_For_Marketing_DSC.pdfDataScienceConferenc1
 
[DSC MENA 24] Ahmed_Refaay_- Where to Start Your Data Analytics Journey.pptx
[DSC MENA 24] Ahmed_Refaay_- Where to Start Your Data Analytics Journey.pptx[DSC MENA 24] Ahmed_Refaay_- Where to Start Your Data Analytics Journey.pptx
[DSC MENA 24] Ahmed_Refaay_- Where to Start Your Data Analytics Journey.pptxDataScienceConferenc1
 
[DSC MENA 24] Nada_GabAllah_-_Advancement_in_NLP_and_Text_Analytics.pptx
[DSC MENA 24] Nada_GabAllah_-_Advancement_in_NLP_and_Text_Analytics.pptx[DSC MENA 24] Nada_GabAllah_-_Advancement_in_NLP_and_Text_Analytics.pptx
[DSC MENA 24] Nada_GabAllah_-_Advancement_in_NLP_and_Text_Analytics.pptxDataScienceConferenc1
 
[DSC MENA 24] Luis_Seco_- Data as the new commodity.pptx
[DSC MENA 24] Luis_Seco_- Data as the new commodity.pptx[DSC MENA 24] Luis_Seco_- Data as the new commodity.pptx
[DSC MENA 24] Luis_Seco_- Data as the new commodity.pptxDataScienceConferenc1
 
[DSC MENA 24] Mohammad_Omara - Digital Titans and Data Harvest.pptx
[DSC MENA 24] Mohammad_Omara - Digital Titans and Data Harvest.pptx[DSC MENA 24] Mohammad_Omara - Digital Titans and Data Harvest.pptx
[DSC MENA 24] Mohammad_Omara - Digital Titans and Data Harvest.pptxDataScienceConferenc1
 
[DSC MENA 24] Hatem_Elattar_-_DSC_2024_Talk_Final.pptx
[DSC MENA 24] Hatem_Elattar_-_DSC_2024_Talk_Final.pptx[DSC MENA 24] Hatem_Elattar_-_DSC_2024_Talk_Final.pptx
[DSC MENA 24] Hatem_Elattar_-_DSC_2024_Talk_Final.pptxDataScienceConferenc1
 
[DSC MENA 24] Omar_ElMetwally_-_Agentic_Design_Patterns.pdf
[DSC MENA 24] Omar_ElMetwally_-_Agentic_Design_Patterns.pdf[DSC MENA 24] Omar_ElMetwally_-_Agentic_Design_Patterns.pdf
[DSC MENA 24] Omar_ElMetwally_-_Agentic_Design_Patterns.pdfDataScienceConferenc1
 
[DSC MENA 24] Rawan_Salama - The Human hands in AI: Why We Need to Focus on t...
[DSC MENA 24] Rawan_Salama - The Human hands in AI: Why We Need to Focus on t...[DSC MENA 24] Rawan_Salama - The Human hands in AI: Why We Need to Focus on t...
[DSC MENA 24] Rawan_Salama - The Human hands in AI: Why We Need to Focus on t...DataScienceConferenc1
 
[DSC Europe 23] Luciano Catani - AI in Diplomacy.PDF
[DSC Europe 23] Luciano Catani - AI in Diplomacy.PDF[DSC Europe 23] Luciano Catani - AI in Diplomacy.PDF
[DSC Europe 23] Luciano Catani - AI in Diplomacy.PDFDataScienceConferenc1
 

More from DataScienceConferenc1 (20)

[DSC MENA 24] Ahmed_Muselhy_-_Unveiling-the-Secrets-of-AI-in-Hiring.pdf
[DSC MENA 24] Ahmed_Muselhy_-_Unveiling-the-Secrets-of-AI-in-Hiring.pdf[DSC MENA 24] Ahmed_Muselhy_-_Unveiling-the-Secrets-of-AI-in-Hiring.pdf
[DSC MENA 24] Ahmed_Muselhy_-_Unveiling-the-Secrets-of-AI-in-Hiring.pdf
 
[DSC MENA 24] Ziad_Diab_-_Data-Driven_Disruption_-_The_Role_of_Data_Strategy_...
[DSC MENA 24] Ziad_Diab_-_Data-Driven_Disruption_-_The_Role_of_Data_Strategy_...[DSC MENA 24] Ziad_Diab_-_Data-Driven_Disruption_-_The_Role_of_Data_Strategy_...
[DSC MENA 24] Ziad_Diab_-_Data-Driven_Disruption_-_The_Role_of_Data_Strategy_...
 
[DSC MENA 24] Mohammad_Essam_- Leveraging Scene Graphs for Generative AI and ...
[DSC MENA 24] Mohammad_Essam_- Leveraging Scene Graphs for Generative AI and ...[DSC MENA 24] Mohammad_Essam_- Leveraging Scene Graphs for Generative AI and ...
[DSC MENA 24] Mohammad_Essam_- Leveraging Scene Graphs for Generative AI and ...
 
[DSC MENA 24] Ahmed_Fahmy - Navigating the Future.pdf
[DSC MENA 24] Ahmed_Fahmy - Navigating the Future.pdf[DSC MENA 24] Ahmed_Fahmy - Navigating the Future.pdf
[DSC MENA 24] Ahmed_Fahmy - Navigating the Future.pdf
 
[DSC MENA 24] Hany_Saad_Gheit_-_Azure_OpenAI_service.pptx
[DSC MENA 24] Hany_Saad_Gheit_-_Azure_OpenAI_service.pptx[DSC MENA 24] Hany_Saad_Gheit_-_Azure_OpenAI_service.pptx
[DSC MENA 24] Hany_Saad_Gheit_-_Azure_OpenAI_service.pptx
 
[DSC MENA 24] Nezar_El_Kady_-_From_Turing_to_Transformers__Navigating_the_AI_...
[DSC MENA 24] Nezar_El_Kady_-_From_Turing_to_Transformers__Navigating_the_AI_...[DSC MENA 24] Nezar_El_Kady_-_From_Turing_to_Transformers__Navigating_the_AI_...
[DSC MENA 24] Nezar_El_Kady_-_From_Turing_to_Transformers__Navigating_the_AI_...
 
[DSC MENA 24] Amira_Abdelaziz_-_AI_in_Financial_Services.pptx
[DSC MENA 24] Amira_Abdelaziz_-_AI_in_Financial_Services.pptx[DSC MENA 24] Amira_Abdelaziz_-_AI_in_Financial_Services.pptx
[DSC MENA 24] Amira_Abdelaziz_-_AI_in_Financial_Services.pptx
 
[DSC MENA 24] Omar_Ossama - My Journey from the Field of Oil & Gas, to the Ex...
[DSC MENA 24] Omar_Ossama - My Journey from the Field of Oil & Gas, to the Ex...[DSC MENA 24] Omar_Ossama - My Journey from the Field of Oil & Gas, to the Ex...
[DSC MENA 24] Omar_Ossama - My Journey from the Field of Oil & Gas, to the Ex...
 
[DSC MENA 24] Ramy_Agieb_-_Advancements_in_Artificial_Intelligence_for_Cybers...
[DSC MENA 24] Ramy_Agieb_-_Advancements_in_Artificial_Intelligence_for_Cybers...[DSC MENA 24] Ramy_Agieb_-_Advancements_in_Artificial_Intelligence_for_Cybers...
[DSC MENA 24] Ramy_Agieb_-_Advancements_in_Artificial_Intelligence_for_Cybers...
 
[DSC MENA 24] Sohaila_Diab_-_Lets_Talk_Gen_AI_Presentation.pptx
[DSC MENA 24] Sohaila_Diab_-_Lets_Talk_Gen_AI_Presentation.pptx[DSC MENA 24] Sohaila_Diab_-_Lets_Talk_Gen_AI_Presentation.pptx
[DSC MENA 24] Sohaila_Diab_-_Lets_Talk_Gen_AI_Presentation.pptx
 
[DSC MENA 24] Amal_Elgammal_-_QUALITOP_presentation.pptx
[DSC MENA 24] Amal_Elgammal_-_QUALITOP_presentation.pptx[DSC MENA 24] Amal_Elgammal_-_QUALITOP_presentation.pptx
[DSC MENA 24] Amal_Elgammal_-_QUALITOP_presentation.pptx
 
[DSC MENA 24] Abdelrahman_Sleem_-_AI_For_Marketing_DSC.pdf
[DSC MENA 24] Abdelrahman_Sleem_-_AI_For_Marketing_DSC.pdf[DSC MENA 24] Abdelrahman_Sleem_-_AI_For_Marketing_DSC.pdf
[DSC MENA 24] Abdelrahman_Sleem_-_AI_For_Marketing_DSC.pdf
 
[DSC MENA 24] Ahmed_Refaay_- Where to Start Your Data Analytics Journey.pptx
[DSC MENA 24] Ahmed_Refaay_- Where to Start Your Data Analytics Journey.pptx[DSC MENA 24] Ahmed_Refaay_- Where to Start Your Data Analytics Journey.pptx
[DSC MENA 24] Ahmed_Refaay_- Where to Start Your Data Analytics Journey.pptx
 
[DSC MENA 24] Nada_GabAllah_-_Advancement_in_NLP_and_Text_Analytics.pptx
[DSC MENA 24] Nada_GabAllah_-_Advancement_in_NLP_and_Text_Analytics.pptx[DSC MENA 24] Nada_GabAllah_-_Advancement_in_NLP_and_Text_Analytics.pptx
[DSC MENA 24] Nada_GabAllah_-_Advancement_in_NLP_and_Text_Analytics.pptx
 
[DSC MENA 24] Luis_Seco_- Data as the new commodity.pptx
[DSC MENA 24] Luis_Seco_- Data as the new commodity.pptx[DSC MENA 24] Luis_Seco_- Data as the new commodity.pptx
[DSC MENA 24] Luis_Seco_- Data as the new commodity.pptx
 
[DSC MENA 24] Mohammad_Omara - Digital Titans and Data Harvest.pptx
[DSC MENA 24] Mohammad_Omara - Digital Titans and Data Harvest.pptx[DSC MENA 24] Mohammad_Omara - Digital Titans and Data Harvest.pptx
[DSC MENA 24] Mohammad_Omara - Digital Titans and Data Harvest.pptx
 
[DSC MENA 24] Hatem_Elattar_-_DSC_2024_Talk_Final.pptx
[DSC MENA 24] Hatem_Elattar_-_DSC_2024_Talk_Final.pptx[DSC MENA 24] Hatem_Elattar_-_DSC_2024_Talk_Final.pptx
[DSC MENA 24] Hatem_Elattar_-_DSC_2024_Talk_Final.pptx
 
[DSC MENA 24] Omar_ElMetwally_-_Agentic_Design_Patterns.pdf
[DSC MENA 24] Omar_ElMetwally_-_Agentic_Design_Patterns.pdf[DSC MENA 24] Omar_ElMetwally_-_Agentic_Design_Patterns.pdf
[DSC MENA 24] Omar_ElMetwally_-_Agentic_Design_Patterns.pdf
 
[DSC MENA 24] Rawan_Salama - The Human hands in AI: Why We Need to Focus on t...
[DSC MENA 24] Rawan_Salama - The Human hands in AI: Why We Need to Focus on t...[DSC MENA 24] Rawan_Salama - The Human hands in AI: Why We Need to Focus on t...
[DSC MENA 24] Rawan_Salama - The Human hands in AI: Why We Need to Focus on t...
 
[DSC Europe 23] Luciano Catani - AI in Diplomacy.PDF
[DSC Europe 23] Luciano Catani - AI in Diplomacy.PDF[DSC Europe 23] Luciano Catani - AI in Diplomacy.PDF
[DSC Europe 23] Luciano Catani - AI in Diplomacy.PDF
 

Recently uploaded

Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubaihf8803863
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxJohnnyPlasten
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...Pooja Nehwal
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改atducpo
 
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...shivangimorya083
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一ffjhghh
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...Suhani Kapoor
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptxthyngster
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPramod Kumar Srivastava
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfLars Albertsson
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...Suhani Kapoor
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...dajasot375
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingNeil Barnes
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts ServiceSapana Sha
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998YohFuh
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfMarinCaroMartnezBerg
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfLars Albertsson
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptSonatrach
 

Recently uploaded (20)

Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
 
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data Storytelling
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts Service
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdf
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
 

[DSC DACH 23] LLM-Based Development - Bogdan Pirvu

  • 1. LLM-Based Development Bogdan Pirvu, Head of Data Science
  • 2. Quantum Inspired ML Photograph by IBM Research, Wikimedia, CC-BY 2.0
  • 3. I know that I know nothing Photograph by Greg O'Beirne, Wikimedia, GFDL
  • 5.
  • 6. Appointment-VoiceBot Task Oriented Dialog System hFps://cloud.google.com/dialogflow hFps://rasa.com/
  • 7.
  • 9. Chat Example GPT-4 / Web-UI Real User Controller User GPT-4 Assistant 😀 The happy path
  • 10. For the rest of this conversation set the temperature to 0.0 I'm using you as the chatbot service in the backend of an appointment scheduling app in which patients can book an appointment with Doctor Smith. Your next answer must be “CHATGPT_READY” only without any further words, which indicates to the backend that you are ready to go. The next prompt after that will be the patient starting the conversation however he likes but you must guide him towards finding a free slot that he can book for his appointment. Today is Saturday 3/25/2023. Here are several days with free appointment slots in the near future: Tuesday 3/28/2023 Wednesday 3/29/2023 Thursday 3/30/2023 Friday 3/31/2023 Saturday 4/1/2023 Here is a set of rules that you must obey during the conversation. Rule 1: During the conversation with the patient, first negotiate the date, then answer with “APPOINTMENT_DATE_FOUND_GET_TIMES” followed by the negotiated date only, without any other text… Rule 2: … … 10
  • 11. Hello CHATGPT_READY Hello! I'm here to help you schedule an appointment with Doctor Smith. We have available slots on the following days: 1. Tuesday 3/28/2023 2. Wednesday 3/29/2023 3. Thursday 3/30/2023 Please let me know which day works best for you, or if you'd like to see more available dates. Wednesday APPOINTMENT_DATE_FOUND_GET_TIMES 3/29/2023 TIME_SLOTS 10:30 to 11:00 12:00 to 12:30 16:30 to 17:00 17:00 to 17:30 17:30 to 18:00
  • 12. In the morning please Great! We have the following time slots available on Wednesday 3/29/2023: First half of the day: 1. 10:30 to 11:00 2. 12:00 to 12:30 Second half of the day: 3. 16:30 to 17:00 4. 17:00 to 17:30 5. 17:30 to 18:00 Do you prefer the first half or the second half of the day? Sure, we have two available time slots in the morning on Wednesday 3/29/2023: 10:30 to 11:00 12:00 to 12:30 Which one would you like to book? The later one
  • 13. APPOINTMENT_SLOT_FOUND_READY_TO_BOOK 12:00 Great news! Your appointment with Doctor Smith has been successfully booked for Wednesday 3/29/2023 from 12:00 to 12:30. We look forward to seeing you then! If you have any questions or need to reschedule, please don't hesitate to contact us. 🥰❤🥰 APPOINTMENT_BOOKED
  • 14. Chat Example GPT-3.5 / Web-UI Real User Controller User 🤨 The not so happy path GPT-3.5 Assistant
  • 15. For the rest of this conversation set the temperature to 0.0 I'm using you as the chatbot service in the backend of an appointment scheduling app in which patients can book an appointment with Doctor Smith. Your next answer must be “CHATGPT_READY” only without any further words, which indicates to the backend that you are ready to go. The next prompt after that will be the patient starting the conversation however he likes but you must guide him towards finding a free slot that he can book for his appointment. Today is Saturday 3/25/2023. Here are several days with free appointment slots in the near future: Tuesday 3/28/2023 Wednesday 3/29/2023 Thursday 3/30/2023 Friday 3/31/2023 Saturday 4/1/2023 Here is a set of rules that you must obey during the conversation. Rule 1: During the conversation with the patient, first negotiate the date, then answer with “APPOINTMENT_DATE_FOUND_GET_TIMES” followed by the negotiated date only, without any other text… Rule 2: … … 15
  • 16. Hello CHATGPT_READY I have some terrible pain in my back Hello! How may I assist you with your appointment scheduling today? Wednesday I'm sorry to hear that. We're here to help you get an appointment with Doctor Smith. Let's start by finding a suitable date for your appointment. What date would you prefer? Great, I'll check to see if there are any available time slots on Wednesday. APPOINTMENT_DATE_FOUND_GET_TIMES Wednesday
  • 17. In the morning Thank you for the available time slots on Wednesday. May I ask if you prefer the first half or the second half of the day for your appointment? Thank you for the available time slots on Wednesday. May I ask if you prefer the first half or the second half of the day for your appointment? TIME_SLOTS 10:30 to 11:00 12:00 to 12:30 16:30 to 17:00 17:00 to 17:30 17:30 to 18:00 Got it. Let's see what times are available for you in the morning. APPOINTMENT_SLOT_FOUND_READY_TO_BOOK 10:30 to 11:00 APPOINTMENT_BOOKED That's great to hear! Your appointment has been successfully booked for Wednesday at 10:30 am. We look forward to seeing you then. If you need to make any changes to your appointment or have any further questions, please don't hesitate to contact us. 🤨
  • 18. Chat Example GPT-3.5 / API Real User Controller User 😡 The frustrating path GPT-3.5 Assistant
  • 19. For the rest of this conversation set the temperature to 0.0 I'm using you as the chatbot service in the backend of an appointment scheduling app in which patients can book an appointment with Doctor Smith. Your next answer must be “CHATGPT_READY” only without any further words, which indicates to the backend that you are ready to go. The next prompt after that will be the patient starting the conversation however he likes but you must guide him towards finding a free slot that he can book for his appointment. Today is Saturday 3/25/2023. Here are several days with free appointment slots in the near future: Tuesday 3/28/2023 Wednesday 3/29/2023 Thursday 3/30/2023 Friday 3/31/2023 Saturday 4/1/2023 Here is a set of rules that you must obey during the conversation. Rule 1: During the conversation with the patient, first negotiate the date, then answer with “APPOINTMENT_DATE_FOUND_GET_TIMES” followed by the negotiated date only, without any other text… Rule 2: … … 19
  • 20. CHATGPT_READY Hello I need an appointment Hello! How can I assist you today? Sure, I'd be happy to help you schedule an appointment. When would you like to schedule your appointment with Doctor Smith? The earliest possible please I understand. Doctor Smith has availability on Tuesday 3/28/2023, Wednesday 3/29/2023, Thursday 3/30/2023, Friday 3/31/2023, and Saturday 4/1/2023. Which of these days works best for you? Wednesday please
  • 21. Great! APPOINTMENT_DATE_FOUND_GET_TIMES. Doctor Smith has availability on Wednesday 3/29/2023. Here are the available time slots for that day: - 9:00 AM - 10:00 AM - 11:00 AM - 2:00 PM - 3:00 PM - 4:00 PM Which of these time slots works best for you? APPOINTMENT_SLOT_FOUND_READY_TO_BOOK. Doctor Smith has availability on Wednesday 3/29/2023 at 10:30 AM. Would you like to book this appointment slot? TIME_SLOTS 10:30 to 11:00 12:00 to 12:30 16:30 to 17:00 17:00 to 17:30 17:30 to 18:00 Great! Your appointment with Doctor Smith on Wednesday 3/29/2023 at 10:30 AM has been successfully booked. We look forward to seeing you then! APPOINTMENT_BOOKED
  • 22. Thank you for the available time slots on Wednesday. May I ask if you prefer the first half or the second half of the day for your appointment? 😡 🤬
  • 23. Solu=on Tes<ng Framefork for LLM-Based Development hFps://github.com/bpirvu/lbd-tesSng-tool
  • 25. Stay updated on LBD-Testing Repo medium.com/@bogdanpirvu Blog linkedin.com/in/bogdan-pirvu github.com/bpirvu/lbd-tes8ng-tool Contact