Tech AI Chat

Chat on Technology Archive and Insights

Follow publication

Member-only story

Journey to Explore Generative AI

Enhance Your App with Conversational Input Using ChatGPT API

Shift from Traditional User Input to an Engaging Chat-Based Input

Elye - A One Eye Dev By His Grace
Tech AI Chat
Published in
5 min read4 days ago

--

Photo by Volodymyr Hryshchenko on Unsplash

Assuming we have an app where the user provides a city name, the app will display the city’s name, country, longitude, latitude, and current temperature, as shown below.

Provide A City: Melbourne

city='Melbourne'
country='Australia'
longitude=144.9631 latitude=-37.8136
temperature=33.8

The input is relatively boring, as specific needed. What if user forget the name of the city, but remember something vague as below.

Provide A City: The forbidden city

city='Beijing'
country='China'
longitude=116.3974 latitude=39.9042
temperature=12.6

Or even no reference to the country or city such as below.

Provide A City: The headquarter of Nvdia

city='Santa Clara'
country='United States'…

--

--

Tech AI Chat
Tech AI Chat
Elye - A One Eye Dev By His Grace
Elye - A One Eye Dev By His Grace

Written by Elye - A One Eye Dev By His Grace

Sharing Software Learning, Life and Faith Journey

No responses yet

Write a response