<aside> <img src="/icons/user-circle-filled_blue.svg" alt="/icons/user-circle-filled_blue.svg" width="40px" /> Luca Ferrari - S4784573
Lorenzo La Corte - S4784539
</aside>
This app showcases an innovative concept that leverages the power of large language models (LLM) to eliminate the reliance on traditional databases.
Querying an LLM as GPT3.5 and parsing its outputs, the developer can avoid handling data gathering and maintenance.
Of course, this idea is not appliable to every situation, since it has different drawbacks:
PROs | CONs |
---|---|
Easy to implement | Slow to gather results |
Extended knowledge of popular topics | Limited knowledge of niches |
Cheap: no need to build and maintain a database | Infeasible if the query is too complex |
To ensure responsible and effective application, certain scenarios are deemed ineligible for this concept.
For example, safety-critical applications, which demand absolute precision and minimal response times, should not adopt this approach; similarly, applications that revolve around a specific topic or require real-time communication with the backend might find this idea unsuitable.
However, within the scope of our application, this mechanism proves to be a perfect fit.
It presents an ideal use case to test and implement this innovative approach, offering users the benefits of simplified development, extended knowledge coverage, and cost-efficient data handling.
<aside> 💡 The idea is to present the top places to visit nearby the user location.
</aside>
In particular:
The application locates the user with his current position: (x, y)
.
The user specifies the range of kilometres: range
.
Example: (44.4076379, 8.9314594), with a range of 20 kilometres.
The user can select from the following checklist to be returned with a top list:
We use the chatGPT API to return a top list for each category.
For each place, compute the distance between it and the current position:
range
, show it.Display all the places as lists with the following information:
{Name of the place}
{Distance}
{Short Description}
And also visualize a map of the different places using Google Maps API.