llm-graph-builder icon indicating copy to clipboard operation
llm-graph-builder copied to clipboard

numbers seen as strings and not as numbers

Open ettoRman opened this issue 2 months ago • 1 comments

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

ettoRman avatar Sep 12 '25 12:09 ettoRman