Skip to content

numbers seen as strings and not as numbers #1381

@ettoRman

Description

@ettoRman

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions