MCPcopy Create free account

hub / github.com/ZihanDDD/BIMgent / functions

Functions411 in github.com/ZihanDDD/BIMgent

↓ 1 callersMethod_load_caption_model
Load and initialize the caption model.
BIMgent/provider/omni_provider/omni_provider.py:65
↓ 1 callersMethod_load_memory
(self)
BIMgent/utils/result_phaser.py:33
↓ 1 callersMethod_load_som_model
Load and initialize the YOLO model.
BIMgent/provider/omni_provider/omni_provider.py:58
↓ 1 callersFunction_make_api_tool_result
Convert an agent ToolResult to an API ToolResultBlockParam.
BIMgent/provider/omni_provider/omnitool/gradio/executor/anthropic_executor.py:93
↓ 1 callersFunction_maybe_filter_to_n_most_recent_images
With the assumption that images are screenshots that are of diminishing value as the conversation progresses, remove all but the final `image
BIMgent/provider/omni_provider/omnitool/gradio/agent/vlm_agent.py:306
↓ 1 callersFunction_maybe_filter_to_n_most_recent_images
With the assumption that images are screenshots that are of diminishing value as the conversation progresses, remove all but the final `image
BIMgent/provider/omni_provider/omnitool/gradio/agent/vlm_agent_with_orchestrator.py:435
↓ 1 callersFunction_maybe_filter_to_n_most_recent_images
With the assumption that images are screenshots that are of diminishing value as the conversation progresses, remove all but the final `image
BIMgent/provider/omni_provider/omnitool/gradio/agent/anthropic_agent.py:116
↓ 1 callersFunction_message_display_callback
(messages)
BIMgent/provider/omni_provider/omnitool/gradio/executor/anthropic_executor.py:74
↓ 1 callersMethod_parse_working_process
(self)
BIMgent/utils/result_phaser.py:39
↓ 1 callersFunction_remove_som_images
(messages)
BIMgent/provider/omni_provider/omnitool/gradio/agent/vlm_agent.py:296
↓ 1 callersFunction_remove_som_images
(messages)
BIMgent/provider/omni_provider/omnitool/gradio/agent/vlm_agent_with_orchestrator.py:425
↓ 1 callersFunction_render_message
(message: str | BetaTextBlock | BetaToolUseBlock | ToolResult, hide_images=False)
BIMgent/provider/omni_provider/omnitool/gradio/app_new.py:156
↓ 1 callersFunction_render_message
(message: str | BetaTextBlock | BetaToolUseBlock | ToolResult, hide_images=False)
BIMgent/provider/omni_provider/omnitool/gradio/app_streamlit.py:122
↓ 1 callersFunction_render_message
(message: str | BetaTextBlock | BetaToolUseBlock | ToolResult, hide_images=False)
BIMgent/provider/omni_provider/omnitool/gradio/app.py:132
↓ 1 callersMethod_set_dirs
Setup directories needed for one system run.
conf/config.py:74
↓ 1 callersMethod_update_ledger
(self, messages)
BIMgent/provider/omni_provider/omnitool/gradio/agent/vlm_agent_with_orchestrator.py:393
↓ 1 callersMethod_write_summary_to_csv
(self)
BIMgent/utils/result_phaser.py:65
↓ 1 callersMethodadd_recent_history
Add recent info to memory.
BIMgent/memory/local_memory.py:75
↓ 1 callersFunctionalign_coordinates
Align coordinates for nearly horizontal and nearly vertical walls. For walls that are nearly horizontal, the average y coordinate (round
BIMgent/provider/Deep_fp_provider/utils/floorplan_postprocessing.py:75
↓ 1 callersMethodannotate
Draws bounding boxes on the frame using the detections provided. Args: scene (np.ndarray): The image on which the boundi
BIMgent/provider/omni_provider/util/box_annotator.py:45
↓ 1 callersMethodcapture_region
(self, dir_path, screenshot_name, x, y, width, height)
BIMgent/provider/screenshots_processor.py:42
↓ 1 callersFunctioncheck_json
(json_string)
BIMgent/utils/json_utils.py:56
↓ 1 callersMethodcomponentVerify
(self, obj_info, class_type, length = None, mid_point = None)
BIMgent/provider/loop_providers/skill_generator_provider.py:129
↓ 1 callersFunctioncontains_punctuation
(s: str)
BIMgent/utils/string_utils.py:31
↓ 1 callersFunctioncontains_punctuation
(s: str)
BIMgent/provider/loop_providers/template_processor.py:142
↓ 1 callersFunctiondebug_visualize_step
Visualize a list of walls (and optionally openings) for debugging. Parameters: step_name: A string title for the plot. walls
BIMgent/provider/Deep_fp_provider/utils/floorplan_postprocessing.py:665
↓ 1 callersFunctiondecode_base64
(payload)
BIMgent/utils/encoding_utils.py:23
↓ 1 callersFunctiondecode_base64
(payload)
BIMgent/provider/screenshots_processor.py:177
↓ 1 callersMethoddrawing_panel
(self, image_path, x, y, w, h)
BIMgent/provider/screenshots_processor.py:66
↓ 1 callersFunctionencode_base64
(payload)
BIMgent/utils/encoding_utils.py:15
↓ 1 callersFunctionencode_base64
(payload)
BIMgent/provider/screenshots_processor.py:169
↓ 1 callersFunctionencode_image_path
(image_path)
BIMgent/utils/encoding_utils.py:31
↓ 1 callersFunctionencode_image_path
(image_path)
BIMgent/provider/screenshots_processor.py:185
↓ 1 callersFunctionextract_data
(input_string, data_type)
BIMgent/provider/omni_provider/omnitool/gradio/agent/vlm_agent.py:21
↓ 1 callersFunctionextract_floorplan_json
Extract and parse the floorplan room data. Args: text (str): The input text containing floorplan data Returns:
BIMgent/provider/loop_providers/design_interpreter.py:51
↓ 1 callersMethodextract_popup
Finds the largest changed region between two screenshots and writes an image that shows only that region (everything else is white).
BIMgent/provider/screenshots_processor.py:102
↓ 1 callersFunctionget_args_parser
Return the CLI argument parser.
agent_runner.py:103
↓ 1 callersFunctionget_header_image_base64
()
BIMgent/provider/omni_provider/omnitool/gradio/app_new.py:299
↓ 1 callersFunctionget_header_image_base64
()
BIMgent/provider/omni_provider/omnitool/gradio/app.py:258
↓ 1 callersFunctionget_optimal_label_pos
check overlap of text and background detection box, and get_optimal_label_pos, pos: str, position of the text, must be one of 'top left', 't
BIMgent/provider/omni_provider/util/box_annotator.py:189
↓ 1 callersFunctionget_parsed_content_icon
(filtered_boxes, starting_idx, image_source, caption_model_processor, prompt=None, batch_size=128)
BIMgent/provider/omni_provider/util/utils.py:79
↓ 1 callersFunctionget_parsed_content_icon_phi3v
(filtered_boxes, ocr_bbox, image_source, caption_model_processor)
BIMgent/provider/omni_provider/util/utils.py:126
↓ 1 callersFunctionget_project_root
()
BIMgent/provider/screenshots_processor.py:202
↓ 1 callersMethodget_screen_size
Return width and height of the screen
BIMgent/provider/omni_provider/omnitool/gradio/tools/computer.py:310
↓ 1 callersMethodget_wall_id
Extract the wall ID (e.g., Wall1) from the wall string.
BIMgent/provider/loop_providers/design_interpreter.py:368
↓ 1 callersMethodget_wall_id
Extract the wall ID (e.g., Wall1) from the wall string.
BIMgent/provider/Deep_fp_provider/deep_floorplan_provider.py:355
↓ 1 callersFunctionget_xyxy
(input)
BIMgent/provider/omni_provider/util/utils.py:494
↓ 1 callersFunctiongui_to_real
(gui_pt)
BIMgent/utils/coordinate_trans.py:12
↓ 1 callersFunctionhandle_file_upload
Handle file uploads and store them in the upload directory
BIMgent/provider/omni_provider/omnitool/gradio/app_streamlit.py:104
↓ 1 callersFunctionhash_text_sha256
(text: str)
BIMgent/utils/string_utils.py:6
↓ 1 callersMethodimresize
Resize an image using PIL. Expects the image in numpy array format.
BIMgent/provider/Deep_fp_provider/deep_floorplan_provider.py:113
↓ 1 callersMethodind2rgb
Convert an indexed image to an RGB image using the given color map.
BIMgent/provider/Deep_fp_provider/deep_floorplan_provider.py:118
↓ 1 callersFunctioninitialize_session_state
Initialize session state variables
BIMgent/provider/omni_provider/omnitool/gradio/app_streamlit.py:48
↓ 1 callersFunctionintersection_area
(box1, box2)
BIMgent/provider/omni_provider/util/box_annotator.py:168
↓ 1 callersFunctionis_close
Check if two points are close enough to be considered the same.
BIMgent/provider/Deep_fp_provider/utils/floorplan_postprocessing.py:64
↓ 1 callersFunctionis_numbered_bullet_list_item
(s: str)
BIMgent/utils/string_utils.py:39
↓ 1 callersFunctionis_numbered_bullet_list_item
(s: str)
BIMgent/provider/loop_providers/template_processor.py:129
↓ 1 callersMethodline_intersection
Computes the intersection point between two line segments p1-p2 and p3-p4. Returns the intersection point as integers if it lies stri
BIMgent/provider/Deep_fp_provider/deep_floorplan_provider.py:272
↓ 1 callersMethodload_and_process
(self)
BIMgent/utils/result_phaser.py:28
↓ 1 callersFunctionload_bd_rm_images
(path)
BIMgent/provider/Deep_fp_provider/utils/tf_record.py:247
↓ 1 callersMethodload_env_config
Load environment-specific configuration from a JSON file.
conf/config.py:53
↓ 1 callersFunctionload_raw_images
(path)
BIMgent/provider/Deep_fp_provider/utils/tf_record.py:14
↓ 1 callersFunctionload_seg_raw_images
(path)
BIMgent/provider/Deep_fp_provider/utils/tf_record.py:144
↓ 1 callersFunctionload_vectorstore
Load the persisted Chroma DB; raise if not present.
BIMgent/provider/builders_provider/builder_provider.py:86
↓ 1 callersMethodlow_level_planning
(self, guidance, *args, **kwds)
BIMgent/provider/loop_providers/skill_generator_provider.py:247
↓ 1 callersFunctionmain
Determine and run the environment‑specific runner module.
agent_runner.py:94
↓ 1 callersFunctionmain
()
BIMgent/provider/omni_provider/omnitool/gradio/app_streamlit.py:152
↓ 1 callersFunctionmap_floorplan_to_new_bbox
Map the entire floorplan to the new bounding box. Args: floorplan_data: The original floorplan data (dictionary) origina
BIMgent/floorplan/floorplan_processer_llm.py:65
↓ 1 callersFunctionmap_gui_to_ifc
(x1, y1, x2, y2)
BIMgent/utils/coordinate_trans.py:23
↓ 1 callersFunctionmerge_collinear_walls
Merge walls that are collinear and adjacent, overlapping, or nearly touching.
BIMgent/provider/Deep_fp_provider/utils/floorplan_postprocessing.py:172
↓ 1 callersMethodpadding_image
Pad the screenshot to 16:10 aspect ratio, when the aspect ratio is not 16:10.
BIMgent/provider/omni_provider/omnitool/gradio/tools/computer.py:268
↓ 1 callersFunctionparse_arguments
()
BIMgent/provider/omni_provider/omnitool/omniparserserver/omniparserserver.py:16
↓ 1 callersFunctionparse_arguments
()
BIMgent/provider/omni_provider/omnitool/gradio/app_new.py:45
↓ 1 callersFunctionparse_arguments
()
BIMgent/provider/omni_provider/omnitool/gradio/app_streamlit.py:41
↓ 1 callersFunctionparse_arguments
()
BIMgent/provider/omni_provider/omnitool/gradio/app.py:35
↓ 1 callersMethodparse_coordinate_string
Extract start and end coordinates from a wall string like 'Wall1: (x1, y1) to (x2, y2)'.
BIMgent/provider/loop_providers/design_interpreter.py:359
↓ 1 callersMethodparse_coordinate_string
Extract start and end coordinates from a wall string like 'Wall1: (x1, y1) to (x2, y2)'.
BIMgent/provider/Deep_fp_provider/deep_floorplan_provider.py:346
↓ 1 callersFunctionparse_semi_formatted_text
(text)
BIMgent/utils/json_utils.py:176
↓ 1 callersMethodpipeline_shutdown
(self)
BIMgent/runner/vectorworks_runner.py:616
↓ 1 callersFunctionpredict_yolo
Use huggingface model to replace the original model
BIMgent/provider/omni_provider/util/utils.py:378
↓ 1 callersMethodprocess_existing_floorplan
(self)
BIMgent/provider/loop_providers/designer_provider.py:88
↓ 1 callersMethodprocess_image
Processes the floorplan image with step-by-step visualization.
BIMgent/provider/Deep_fp_provider/deep_floorplan_provider.py:125
↓ 1 callersFunctionproject_point_to_line
Project point P onto the infinite line defined by points A and B. Returns the projected point.
BIMgent/provider/Deep_fp_provider/utils/floorplan_postprocessing.py:35
↓ 1 callersFunctionproject_point_to_segment
Project point P onto the line segment AB. If the projection falls outside AB, return the closest endpoint.
BIMgent/provider/Deep_fp_provider/utils/floorplan_postprocessing.py:16
↓ 1 callersFunctionprompt_for_task_description
Interactively obtain a task description.
agent_runner.py:18
↓ 1 callersFunctionquery
POST the payload to the HF endpoint, retrying automatically on network problems or >=500 server errors. Parameters ---------- pa
BIMgent/provider/omni_provider/omni_endpoint.py:14
↓ 1 callersFunctionquery_builder
(query)
BIMgent/provider/builders_provider/builder_provider.py:99
↓ 1 callersFunctionrefine_json
(json_string)
BIMgent/utils/json_utils.py:64
↓ 1 callersMethodreformat_messages
(self, response_json: dict)
BIMgent/provider/omni_provider/omnitool/gradio/agent/llm_utils/omniparserclient.py:35
↓ 1 callersFunctionremove_overlap_new
ocr_bbox format: [{'type': 'text', 'bbox':[x,y], 'interactivity':False, 'content':str }, ...] boxes format: [{'type': 'icon', 'bbox':[x,y], '
BIMgent/provider/omni_provider/util/utils.py:231
↓ 1 callersMethodrun
(self)
BIMgent/runner/vectorworks_runner.py:106
↓ 1 callersMethodrun_component_agent
(self,current_sub_step, class_type, working_process_data, step_key, sub_step_key, initial_screenshot)
BIMgent/runner/vectorworks_runner.py:471
↓ 1 callersMethodrun_floorplan_interpreter
(self, walls, openings)
BIMgent/runner/vectorworks_runner.py:605
↓ 1 callersMethodrun_pm
(self)
BIMgent/runner/vectorworks_runner.py:610
↓ 1 callersMethodrun_ui_agent
(self, current_sub_step, class_type, working_process_data, step_key, sub_step_key, initial_screenshot)
BIMgent/runner/vectorworks_runner.py:347
↓ 1 callersFunctionsegment_intersection
Compute the intersection point between two line segments AB and CD. Returns the intersection point as (x, y) if they intersect; otherwise, re
BIMgent/provider/Deep_fp_provider/utils/floorplan_postprocessing.py:548
↓ 1 callersFunctionserialize_data
Recursively convert non-serializable items in the dictionary.
BIMgent/utils/json_utils.py:19
↓ 1 callersMethodset_internal_params
(self)
BIMgent/runner/vectorworks_runner.py:46
↓ 1 callersFunctionshow_image_temporarily
(img, title="Image", seconds=3)
BIMgent/provider/loop_providers/designer_provider.py:15
↓ 1 callersMethodshow_image_temporarily
(self, img, title="Image", seconds=3)
BIMgent/runner/vectorworks_runner.py:96
← previousnext →101–200 of 411, ranked by callers