- Add comprehensive documentation in botbook/ with 12 chapters - Add botapp/ Tauri desktop application - Add botdevice/ IoT device support - Add botlib/ shared library crate - Add botmodels/ Python ML models service - Add botplugin/ browser extension - Add botserver/ reorganized server code - Add bottemplates/ bot templates - Add bottest/ integration tests - Add botui/ web UI server - Add CI/CD workflows in .forgejo/workflows/ - Add AGENTS.md and PROD.md documentation - Add dependency management scripts (DEPENDENCIES.sh/ps1) - Remove legacy src/ structure and migrations - Clean up temporary and backup files
13 lines
475 B
QBasic
13 lines
475 B
QBasic
PARAM image AS STRING
|
|
|
|
description = SEE image
|
|
similar = SEARCH PRODUCTS description, 5
|
|
|
|
IF LEN(similar) > 0 THEN
|
|
RETURN similar[0]
|
|
END IF
|
|
|
|
product = LLM "Extract product info from: " + description + ". Return JSON with name, brand, category, color, material"
|
|
SAVE "products" WITH name AS product.name, brand AS product.brand, category AS product.category, color AS product.color, material AS product.material
|
|
|
|
RETURN FIND "products" WITH "name = '" + product.name + "'"
|