MCPcopy Create free account

hub / github.com/ZihanDDD/BIMgent / functions

Functions411 in github.com/ZihanDDD/BIMgent

↓ 38 callersMethodreplace
Returns a new ToolResult with the given fields replaced.
BIMgent/provider/omni_provider/omnitool/gradio/tools/base.py:52
↓ 19 callersMethodsave
Save the memory to persistence.
BIMgent/memory/base.py:89
↓ 18 callersFunctionbox_area
(box)
BIMgent/provider/omni_provider/util/utils.py:181
↓ 17 callersMethodsend_to_vm
Executes a python command on the server. Only return tuple of x,y when action is "pyautogui.position()"
BIMgent/provider/omni_provider/omnitool/gradio/tools/computer.py:227
↓ 16 callersMethodupdate_info_history
(self, data: Dict[str, Any])
BIMgent/memory/local_memory.py:107
↓ 12 callersFunctionkget
(obj, *keys, default=None)
BIMgent/utils/dict_utils.py:1
↓ 11 callersFunction_bytes_feature
(value)
BIMgent/provider/Deep_fp_provider/utils/tf_record.py:57
↓ 9 callersFunctiondistance
Compute Euclidean distance between two points.
BIMgent/provider/Deep_fp_provider/utils/floorplan_postprocessing.py:12
↓ 9 callersFunctionexecute_actions
Executes a sequence of actions on the given controller. :param actions: List of action strings to execute. :param controller: An instanc
BIMgent/provider/loop_providers/skill_executor.py:4
↓ 9 callersFunctionis_horizontal
Check if a wall is approximately horizontal.
BIMgent/provider/Deep_fp_provider/utils/floorplan_postprocessing.py:68
↓ 9 callersFunctionparse_coordinate_string
Parse a wall position string into start and end coordinates.
BIMgent/provider/Deep_fp_provider/utils/floorplan_postprocessing.py:53
↓ 9 callersMethodrun
(self, *, name: str, tool_input: dict[str, Any])
BIMgent/provider/omni_provider/omnitool/gradio/tools/collection.py:27
↓ 8 callersFunctionget_wall_id
Extract wall ID from a wall position string.
BIMgent/provider/Deep_fp_provider/utils/floorplan_postprocessing.py:60
↓ 8 callersFunctionis_image_path
(text)
BIMgent/provider/omni_provider/omnitool/gradio/agent/llm_utils/utils.py:3
↓ 7 callersFunctionget_file_viewer_html
Generate HTML to view a file based on its type
BIMgent/provider/omni_provider/omnitool/gradio/app_new.py:312
↓ 7 callersFunctionis_vertical
Check if a wall is approximately vertical.
BIMgent/provider/Deep_fp_provider/utils/floorplan_postprocessing.py:72
↓ 7 callersFunctionmap_coordinates
Map coordinates from the original space to the new bounding box without stretching. Preserves the original scale/aspect ratio. Args:
BIMgent/floorplan/floorplan_processer_llm.py:23
↓ 7 callersMethodto_int
Convert a coordinate point to integer values.
BIMgent/provider/Deep_fp_provider/deep_floorplan_provider.py:235
↓ 6 callersFunctionbox_area
(box)
BIMgent/provider/omni_provider/util/box_annotator.py:165
↓ 6 callersFunctionrun_oai_interleaved
(messages: list, system: str, model_name: str, api_key: str, max_tokens=256, temperature=0, provider_base_url:
BIMgent/provider/omni_provider/omnitool/gradio/agent/llm_utils/oaiclient.py:7
↓ 5 callersMethodadd
Add data to memory. Args: **kwargs: Other keyword arguments that subclasses might use.
BIMgent/memory/base.py:23
↓ 5 callersFunctiondetect_new_files
Detect new files in the uploads folder and add them to the state
BIMgent/provider/omni_provider/omnitool/gradio/app_new.py:471
↓ 5 callersFunctionencode_image
(image_path)
BIMgent/provider/loop_providers/image_understanding_provider.py:19
↓ 5 callersMethodload
Load the memory from persistence.
BIMgent/memory/base.py:84
↓ 5 callersFunctionpoint_distance
Euclidean distance between two points.
BIMgent/provider/Deep_fp_provider/utils/floorplan_postprocessing.py:207
↓ 5 callersMethodscreenshot
(self)
BIMgent/provider/omni_provider/omnitool/gradio/tools/computer.py:259
↓ 5 callersMethodscreenshot_capture
(self, dir_path, screenshot_name)
BIMgent/provider/screenshots_processor.py:18
↓ 4 callersFunctionassemble_project_path
Assemble a path relative to the project root directory
BIMgent/utils/file_utils.py:5
↓ 4 callersFunctionconvert_pil_image_to_base64
(image)
BIMgent/provider/omni_provider/eval/ss_pro_gpt4o_omniv2.py:15
↓ 4 callersFunctionget_caption_model_processor
(model_name, model_name_or_path="Salesforce/blip2-opt-2.7b", device=None)
BIMgent/provider/omni_provider/util/utils.py:47
↓ 4 callersFunctionget_is_overlap
(detections, text_background_x1, text_background_y1, text_background_x2, text_background_y2, image_size)
BIMgent/provider/omni_provider/util/box_annotator.py:195
↓ 4 callersFunctionintersection_area
(box1, box2)
BIMgent/provider/omni_provider/util/utils.py:184
↓ 4 callersFunctionparse_semi_formatted_text
(text)
BIMgent/provider/loop_providers/template_processor.py:151
↓ 3 callersFunctionIoU
(box1, box2)
BIMgent/provider/omni_provider/util/utils.py:191
↓ 3 callersMethod_load_model_from_dir
Loads the pretrained model from the specified directory.
BIMgent/provider/Deep_fp_provider/deep_floorplan_provider.py:97
↓ 3 callersMethodassemble_prompt
Assemble a prompt with two parts: 1. System message: The first paragraph of the template. 2. User message: All subse
BIMgent/provider/llm_provider/openai_provider.py:109
↓ 3 callersFunctioncheck_input_keys
(params: Dict[str, Any], input_keys)
BIMgent/provider/loop_providers/template_processor.py:35
↓ 3 callersFunctioncheck_ocr_box
(image_source: Union[str, Image.Image], display_img = True, output_bb_format='xywh', goal_filtering=None, easy
BIMgent/provider/omni_provider/util/utils.py:504
↓ 3 callersFunctioncheck_output_keys
(response: Dict[str, Any], output_keys)
BIMgent/provider/loop_providers/template_processor.py:41
↓ 3 callersMethodcreate_completion
Create a chat completion using the OpenAI API Supports both GPT-4 and GPT-4V). Example Usage: image_path = "path_to_your_ima
BIMgent/provider/llm_provider/openai_provider.py:23
↓ 3 callersMethoddistance
Compute Euclidean distance between two points.
BIMgent/provider/Deep_fp_provider/deep_floorplan_provider.py:240
↓ 3 callersFunctionencode_image
(image_path)
BIMgent/provider/loop_providers/skill_generator_provider.py:21
↓ 3 callersFunctionextract_data
(input_string, data_type)
BIMgent/provider/omni_provider/omnitool/gradio/agent/vlm_agent_with_orchestrator.py:56
↓ 3 callersMethodget_recent_history
( self, key: str, k: int = 1, )
BIMgent/memory/base.py:65
↓ 3 callersFunctionget_som_labeled_img
Process either an image path or Image object Args: image_source: Either a file path (str) or PIL Image object ...
BIMgent/provider/omni_provider/util/utils.py:407
↓ 3 callersFunctionget_yolo_model
(model_path)
BIMgent/provider/omni_provider/util/utils.py:71
↓ 3 callersFunctionis_inside
(box1, box2)
BIMgent/provider/omni_provider/util/utils.py:201
↓ 3 callersMethodprocess_image
Process the image and return parsed content with absolute pixel coordinates.
BIMgent/provider/omni_provider/omni_provider.py:91
↓ 3 callersFunctionrgb2ind
(im, color_map=floorplan_room_map)
BIMgent/provider/Deep_fp_provider/utils/rgb_ind_convertor.py:60
↓ 3 callersFunctionsampling_loop_sync
Synchronous agentic sampling loop for the assistant/tool interaction of computer use.
BIMgent/provider/omni_provider/omnitool/gradio/loop.py:40
↓ 3 callersMethodscale_coordinates
Scale coordinates to a target maximum resolution.
BIMgent/provider/omni_provider/omnitool/gradio/tools/computer.py:278
↓ 2 callersFunction_create_embeddings
Create a reusable embeddings object.
BIMgent/provider/builders_provider/builder_provider.py:32
↓ 2 callersFunction_maybe_prepend_system_tool_result
(result: ToolResult, result_text: str)
BIMgent/provider/omni_provider/omnitool/gradio/executor/anthropic_executor.py:129
↓ 2 callersFunction_truncate_string
Truncate long strings for concise printing.
BIMgent/provider/omni_provider/omnitool/gradio/app_new.py:205
↓ 2 callersFunction_truncate_string
Truncate long strings for concise printing.
BIMgent/provider/omni_provider/omnitool/gradio/app.py:171
↓ 2 callersFunctionannotate
This function annotates an image with bounding boxes and labels. Parameters: image_source (np.ndarray): The source image to be annot
BIMgent/provider/omni_provider/util/utils.py:326
↓ 2 callersFunctionassemble_project_path
Assemble a path relative to the project root directory
BIMgent/provider/screenshots_processor.py:207
↓ 2 callersFunctionclean_floor_plan_single
Process the single floor plan (with keys 'walls' and 'openings') and visualize each step for debugging. 1. Align, merge, connect,
BIMgent/provider/Deep_fp_provider/utils/floorplan_postprocessing.py:729
↓ 2 callersFunctiondecode_data_uri
(data_uri: str)
BIMgent/provider/Deep_fp_provider/deepfloorplan_endpoint.py:16
↓ 2 callersFunctiondistance_point_to_segment
Returns the minimum distance from point P to the finite segment AB.
BIMgent/provider/Deep_fp_provider/utils/floorplan_postprocessing.py:211
↓ 2 callersFunctionencode_image
Encode image file to base64.
BIMgent/provider/omni_provider/omnitool/gradio/agent/llm_utils/utils.py:10
↓ 2 callersFunctionencode_image
(image_path)
BIMgent/provider/Deep_fp_provider/deep_floorplan_provider.py:44
↓ 2 callersFunctionencode_image_binary
(image_binary, image_path=None)
BIMgent/utils/encoding_utils.py:37
↓ 2 callersFunctionencode_image_binary
(image_binary, image_path=None)
BIMgent/provider/screenshots_processor.py:191
↓ 2 callersFunctionextract_first_bounding_box
(text)
BIMgent/provider/omni_provider/eval/ss_pro_gpt4o_omniv2.py:384
↓ 2 callersFunctionextract_first_point
(text)
BIMgent/provider/omni_provider/eval/ss_pro_gpt4o_omniv2.py:399
↓ 2 callersFunctionextract_keys_from_template
(path)
BIMgent/provider/loop_providers/template_processor.py:14
↓ 2 callersFunctionget_file_viewer_html
Generate HTML to view a file based on its type
BIMgent/provider/omni_provider/omnitool/gradio/app_streamlit.py:73
↓ 2 callersFunctionget_project_root
()
BIMgent/utils/file_utils.py:27
↓ 2 callersFunctionget_screenshot
Capture screenshot by requesting from HTTP endpoint - returns native resolution unless resized
BIMgent/provider/omni_provider/omnitool/gradio/tools/screen_capture.py:10
↓ 2 callersFunctionget_xywh
(input)
BIMgent/provider/omni_provider/util/utils.py:489
↓ 2 callersFunctiongroup_by_position
Group walls by a position key within tolerance.
BIMgent/provider/Deep_fp_provider/utils/floorplan_postprocessing.py:112
↓ 2 callersFunctioningest_documents
Read markdown files, embed them, and persist to a local Chroma DB. Calling this repeatedly will *append* only NEW docs if the DB already exists.
BIMgent/provider/builders_provider/builder_provider.py:44
↓ 2 callersFunctionint_box_area
(box, w, h)
BIMgent/provider/omni_provider/util/utils.py:401
↓ 2 callersFunctionis_near_duplicate
Checks if the 'short' segment (shortA->shortB) is very close to the 'long' segment (longA->longB). The criteria: 1) Both endpoints of t
BIMgent/provider/Deep_fp_provider/utils/floorplan_postprocessing.py:246
↓ 2 callersMethoditeritems
(self)
BIMgent/provider/Deep_fp_provider/utils/py2_compatibility.py:5
↓ 2 callersFunctionline_length
Length of the segment from A to B.
BIMgent/provider/Deep_fp_provider/utils/floorplan_postprocessing.py:242
↓ 2 callersFunctionload_json
(file_path)
BIMgent/utils/json_utils.py:13
↓ 2 callersFunctionmerge_aligned_walls
Merge a group of aligned walls (horizontal or vertical).
BIMgent/provider/Deep_fp_provider/utils/floorplan_postprocessing.py:130
↓ 2 callersFunctionomniparser_parse
(image, image_path)
BIMgent/provider/omni_provider/eval/ss_pro_gpt4o_omniv2.py:37
↓ 2 callersMethodparse
(self, image_base64: str)
BIMgent/provider/omni_provider/util/omniparser.py:16
↓ 2 callersFunctionparse_wall_position
Parse the wall position string into coordinates.
BIMgent/floorplan/floorplan_processer_llm.py:4
↓ 2 callersFunctionprocess_paragraphs
Replace placeholders in each paragraph and join them.
BIMgent/provider/loop_providers/template_processor.py:80
↓ 2 callersFunctionreformat_messages
(parsed_content_list)
BIMgent/provider/omni_provider/eval/ss_pro_gpt4o_omniv2.py:53
↓ 2 callersFunctionremove_duplicates
Remove duplicate walls from the list, including walls that are almost (but not fully) overlapping. - tol, coord_tol: as before - dis
BIMgent/provider/Deep_fp_provider/utils/floorplan_postprocessing.py:259
↓ 2 callersFunctionrun_groq_interleaved
Run a chat completion through Groq's API, ignoring any images in the messages.
BIMgent/provider/omni_provider/omnitool/gradio/agent/llm_utils/groqclient.py:5
↓ 2 callersFunctionsave_json
(file_path, json_dict, indent=-1)
BIMgent/utils/json_utils.py:47
↓ 2 callersMethodset_fixed_seed
Set fixed seed and temperature for reproducibility.
conf/config.py:68
↓ 2 callersFunctionsetup_state
(state)
BIMgent/provider/omni_provider/omnitool/gradio/app_new.py:72
↓ 2 callersFunctionsetup_state
(state)
BIMgent/provider/omni_provider/omnitool/gradio/app.py:50
↓ 2 callersFunctionshow_image_temporarily
(img, title="Image", seconds=3)
BIMgent/provider/Deep_fp_provider/deepfloorplan_endpoint.py:21
↓ 1 callersFunctionIoU
(box1, box2, return_max=True)
BIMgent/provider/omni_provider/util/box_annotator.py:175
↓ 1 callersFunction_get_markdown_documents
Return a list of LangChain Document objects for every .md file found.
BIMgent/provider/builders_provider/builder_provider.py:22
↓ 1 callersMethod_get_plan_prompt
(self, task)
BIMgent/provider/omni_provider/omnitool/gradio/agent/vlm_agent_with_orchestrator.py:412
↓ 1 callersMethod_get_system_prompt
(self, screen_info: str = "")
BIMgent/provider/omni_provider/omnitool/gradio/agent/vlm_agent.py:210
↓ 1 callersMethod_get_system_prompt
(self, screen_info: str = "")
BIMgent/provider/omni_provider/omnitool/gradio/agent/vlm_agent_with_orchestrator.py:275
↓ 1 callersMethod_init_session
Initializes a TensorFlow session and loads the pretrained model.
BIMgent/provider/Deep_fp_provider/deep_floorplan_provider.py:74
↓ 1 callersMethod_initialize_task
(self, messages: list)
BIMgent/provider/omni_provider/omnitool/gradio/agent/vlm_agent_with_orchestrator.py:361
↓ 1 callersFunction_is_line_key_candidate
(line: str)
BIMgent/utils/json_utils.py:155
↓ 1 callersFunction_is_line_key_candidate
(line: str)
BIMgent/provider/loop_providers/template_processor.py:110
next →1–100 of 411, ranked by callers