llm-graph-builder
llm-graph-builder copied to clipboard
numbers seen as strings and not as numbers
I uploaded an Italian txt file of this type with 10 bicycles using Openai gtp 4o.
Nome: Gravel Explorer Categoria: Gravel Tipo: Muscolare Modello: Explorer Marca: GravelKing Prezzo: 900
Caratteristiche Tecniche: Telaio in alluminio, freni a disco meccanici, ruote 700C con pneumatici larghi.
Nome: Mountain Adventure Categoria: Mountain Tipo: Elettrica Modello: Adventure Marca: UrbanRide Prezzo: 1000
Caratteristiche Tecniche: Telaio rinforzato, motore elettrico centrale, forcella ammortizzata, freni a disco idraulici.
Nome: Road Racer Categoria: Road Tipo: Muscolare Modello: Racer Marca: SpeedX Prezzo: 4000
Caratteristiche Tecniche: Telaio in carbonio leggero, freni shimano, ruote aero 700C.
min price in 100 max il 4000 (price = Prezzo)
but if i ask: which bike is the most expensive? The answer is 900. as if prices were interpreted as strings rather than numbers Is there a way to tell him that prices are just numbers?
Ettore