@@ -278,7 +278,12 @@ def ifc_info(self, element_id: int) -> dict[str, Any]:
278278 return info .info (model , element )
279279
280280 def ifc_select (self , query : str ) -> list [dict [str , Any ]]:
281- """Filter elements using ifcopenshell selector syntax (e.g. 'IfcWall', 'IfcWindow')."""
281+ """Filter elements using ifcopenshell selector syntax.
282+
283+ Examples: ``IfcWall``, ``IfcWall, IfcColumn``, ``! IfcWall``,
284+ ``IfcWall, Name = "My Wall"``, ``type = "Concrete Wall"``,
285+ ``material = "Concrete"``.
286+ """
282287 return select .select (self ._require_model (), query )
283288
284289 def ifc_relations (self , element_id : int , traverse : str = "" ) -> dict [str , Any ] | list [dict [str , Any ]]:
@@ -536,7 +541,12 @@ def openai_tools(self) -> list[dict[str, Any]]:
536541 {
537542 "type" : "function" ,
538543 "name" : "ifc_select" ,
539- "description" : "Select elements using ifcopenshell selector syntax (e.g. 'IfcWall')." ,
544+ "description" : (
545+ "Select elements using ifcopenshell selector syntax. "
546+ "Examples: 'IfcWall', 'IfcWall, IfcColumn', '! IfcWall', "
547+ "'IfcWall, Name = \" My Wall\" ', 'type = \" Concrete Wall\" ', "
548+ "'material = \" Concrete\" '."
549+ ),
540550 "parameters" : {
541551 "type" : "object" ,
542552 "properties" : {"query" : {"type" : "string" }},
0 commit comments