Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Building a Fortune Teller App with OpenAI From ...

Building a Fortune Teller App with OpenAI From Chatbot to Voice Assistant

Building a Fortune Teller App with OpenAI From Chatbot to Voice Assistant

LINE Developers Thailand

October 31, 2024
Tweet

More Decks by LINE Developers Thailand

Other Decks in Technology

Transcript

  1. We’re Building an AI Fortune Teller App! Today, we’re going

    back to the basics of OpenAI to create something special for Thai people: an AI Fortune Teller App the ultimate use case!
  2. What is AI Model? Input Output Model “An AI model

    is a program that learns from data to perform tasks like understanding text, recognizing images, or generating speech based on the patterns found in the data.” 
 “Input as Text” 
 “Output as Text” Prompt
  3. What is Multimodal Model? Input Output Multimodal
 Model “A multimodal

    model 
 is a type of model that handles multiple data types, like text, images, 
 or audio.” 
 “Input as Text, Image 
 or Audio” 
 “Output as Text, Image 
 or Audio”
  4. Completion API Request Response Model
 GPT-4o OpenAI API Looks good,

    right? But remember, this API is stateless! (Text Generation API)
  5. Assistant API (Text Generation API) Stateful API with many more

    features!!! Request Response
 Model
 GPT-4o OpenAI API
  6. Audio Speech API (Text to Speech API) OpenAI API Request

    Response
 Model
 TTS OpenAI API
  7. Use case More fl exibility Better for complex conversation Low

    latency Less complexity Each option offers its own benefits! &