ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
reusex::ProjectDB::MaterialAnnotation Struct Reference

A free-text description plus an arbitrary, prompt-driven set of key/value attributes for one material passport, as extracted by a vision-language model (rux create attributes, #373). More...

#include <ProjectDB.hpp>

Collaboration diagram for reusex::ProjectDB::MaterialAnnotation:

Public Attributes

std::string description
 Free-text description of the material.
std::vector< std::pair< std::string, std::string > > attributes
 Arbitrary key/value pairs the model returned.
std::string provider_model
 Provenance: "<base_url>|<model>".
std::string raw_json
 The model's full JSON answer, verbatim.

Detailed Description

A free-text description plus an arbitrary, prompt-driven set of key/value attributes for one material passport, as extracted by a vision-language model (rux create attributes, #373).

The prompt fully drives which keys come back; nothing here is a fixed schema and nothing is fabricated — an empty description with no attributes is never stored.

Definition at line 470 of file ProjectDB.hpp.

Member Data Documentation

◆ attributes

std::vector<std::pair<std::string, std::string> > reusex::ProjectDB::MaterialAnnotation::attributes

Arbitrary key/value pairs the model returned.

Definition at line 473 of file ProjectDB.hpp.

◆ description

std::string reusex::ProjectDB::MaterialAnnotation::description

Free-text description of the material.

Definition at line 471 of file ProjectDB.hpp.

◆ provider_model

std::string reusex::ProjectDB::MaterialAnnotation::provider_model

Provenance: "<base_url>|<model>".

Definition at line 474 of file ProjectDB.hpp.

◆ raw_json

std::string reusex::ProjectDB::MaterialAnnotation::raw_json

The model's full JSON answer, verbatim.

Definition at line 475 of file ProjectDB.hpp.


The documentation for this struct was generated from the following file: