botserver/templates/llm-tools.gbai/llm-tools.gbdialog/get-price.bas
2024-09-02 20:16:56 -03:00

6 lines
No EOL
243 B
QBasic

PARAM product AS string LIKE telephone DESCRIPTION The name of the product to have the price retrieved.
DESCRIPTION Returns the price of the given product.
product = FIND "products.csv", "name = ${product}"
price = product.price
RETURN price