id: 1 unit: def execute_setup() file: setup.py start line: 0 end line: 0 size: 953 LOC McCabe index: 18 number of parameters: 7 id: 2 unit: def analyze_document_from_blob_url() file: tools/doc_intelligence.py start line: 0 end line: 0 size: 115 LOC McCabe index: 19 number of parameters: 3 id: 3 unit: def analyze_document_from_bytes() file: tools/doc_intelligence.py start line: 0 end line: 0 size: 95 LOC McCabe index: 17 number of parameters: 4 id: 4 unit: def _attach_figures_to_chunks() file: chunking/chunkers/multimodal_chunker.py start line: 0 end line: 0 size: 77 LOC McCabe index: 21 number of parameters: 3 id: 5 unit: def approve_private_link_connections() file: setup.py start line: 0 end line: 0 size: 69 LOC McCabe index: 9 number of parameters: 6 id: 6 unit: def get_chunks() file: chunking/chunkers/spreadsheet_chunker.py start line: 0 end line: 0 size: 65 LOC McCabe index: 14 number of parameters: 1 id: 7 unit: def _recursive_chunk_json() file: chunking/chunkers/json_chunker.py start line: 0 end line: 0 size: 57 LOC McCabe index: 24 number of parameters: 2 id: 8 unit: def document_chunking() file: function_app.py start line: 0 end line: 0 size: 56 LOC McCabe index: 13 number of parameters: 1 id: 9 unit: def approve_search_shared_private_access() file: setup.py start line: 0 end line: 0 size: 56 LOC McCabe index: 7 number of parameters: 8 id: 10 unit: def get_completion() file: tools/aoai.py start line: 0 end line: 0 size: 52 LOC McCabe index: 8 number of parameters: 5 id: 11 unit: def __init__() file: tools/aoai.py start line: 0 end line: 0 size: 51 LOC McCabe index: 12 number of parameters: 2 id: 12 unit: def _figure_area() file: chunking/chunkers/multimodal_chunker.py start line: 0 end line: 0 size: 43 LOC McCabe index: 12 number of parameters: 3 id: 13 unit: def __init__() file: tools/doc_intelligence.py start line: 0 end line: 0 size: 37 LOC McCabe index: 5 number of parameters: 1 id: 14 unit: def _spreadsheet_process() file: chunking/chunkers/spreadsheet_chunker.py start line: 0 end line: 0 size: 34 LOC McCabe index: 3 number of parameters: 1 id: 15 unit: def call_search_api() file: setup.py start line: 0 end line: 0 size: 33 LOC McCabe index: 9 number of parameters: 7 id: 16 unit: def get_function_key() file: setup.py start line: 0 end line: 0 size: 33 LOC McCabe index: 6 number of parameters: 4 id: 17 unit: def get_figure() file: tools/doc_intelligence.py start line: 0 end line: 0 size: 31 LOC McCabe index: 5 number of parameters: 4 id: 18 unit: def get_embeddings() file: tools/aoai.py start line: 0 end line: 0 size: 31 LOC McCabe index: 6 number of parameters: 3 id: 19 unit: def get_chunks() file: chunking/chunkers/json_chunker.py start line: 0 end line: 0 size: 31 LOC McCabe index: 9 number of parameters: 1 id: 20 unit: def get_request_schema() file: function_app.py start line: 0 end line: 0 size: 28 LOC McCabe index: 1 number of parameters: 0 id: 21 unit: def get_chunker() file: chunking/chunker_factory.py start line: 0 end line: 0 size: 28 LOC McCabe index: 10 number of parameters: 2 id: 22 unit: def get_chunks() file: chunking/chunkers/nl2sql_chunker.py start line: 0 end line: 0 size: 27 LOC McCabe index: 1 number of parameters: 1 id: 23 unit: def _create_text_chunks() file: chunking/chunkers/multimodal_chunker.py start line: 0 end line: 0 size: 26 LOC McCabe index: 4 number of parameters: 2 id: 24 unit: def _get_read_access_entities() file: connectors/sharepoint/sharepoint_data_reader.py start line: 0 end line: 0 size: 25 LOC McCabe index: 19 number of parameters: 1 id: 25 unit: def _process_document_chunks() file: chunking/chunkers/doc_analysis_chunker.py start line: 0 end line: 0 size: 25 LOC McCabe index: 4 number of parameters: 2 id: 26 unit: def chunk_documents() file: chunking/document_chunking.py start line: 0 end line: 0 size: 24 LOC McCabe index: 4 number of parameters: 2 id: 27 unit: def get_chunks() file: chunking/chunkers/langchain_chunker.py start line: 0 end line: 0 size: 24 LOC McCabe index: 6 number of parameters: 1 id: 28 unit: def _chunk_content() file: chunking/chunkers/langchain_chunker.py start line: 0 end line: 0 size: 24 LOC McCabe index: 4 number of parameters: 2 id: 29 unit: def __init__() file: tools/blob.py start line: 0 end line: 0 size: 22 LOC McCabe index: 3 number of parameters: 3 id: 30 unit: def download_blob() file: tools/blob.py start line: 0 end line: 0 size: 22 LOC McCabe index: 4 number of parameters: 1 id: 31 unit: def _truncate_chunk() file: chunking/chunkers/doc_analysis_chunker.py start line: 0 end line: 0 size: 21 LOC McCabe index: 10 number of parameters: 2 id: 32 unit: def __init__() file: connectors/sharepoint/sharepoint_files_indexer.py start line: 0 end line: 0 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 33 unit: def __init__() file: chunking/chunkers/base_chunker.py start line: 0 end line: 0 size: 19 LOC McCabe index: 3 number of parameters: 2 id: 34 unit: def get_chunks() file: chunking/chunkers/transcription_chunker.py start line: 0 end line: 0 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 35 unit: def _replace_figures_in_sequence() file: chunking/chunkers/multimodal_chunker.py start line: 0 end line: 0 size: 17 LOC McCabe index: 6 number of parameters: 3 id: 36 unit: def __init__() file: tools/blob.py start line: 0 end line: 0 size: 16 LOC McCabe index: 3 number of parameters: 4 id: 37 unit: def __init__() file: tools/aisearch.py start line: 0 end line: 0 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 38 unit: def __init__() file: tools/keyvault.py start line: 0 end line: 0 size: 16 LOC McCabe index: 5 number of parameters: 1 id: 39 unit: def main() file: run_sharepoint.py start line: 0 end line: 0 size: 16 LOC McCabe index: 3 number of parameters: 0 id: 40 unit: def __init__() file: chunking/chunkers/spreadsheet_chunker.py start line: 0 end line: 0 size: 16 LOC McCabe index: 4 number of parameters: 5 id: 41 unit: def _generate_caption_for_figure() file: chunking/chunkers/multimodal_chunker.py start line: 0 end line: 0 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 42 unit: def _vtt_process() file: chunking/chunkers/transcription_chunker.py start line: 0 end line: 0 size: 16 LOC McCabe index: 7 number of parameters: 1 id: 43 unit: def _are_required_variables_missing() file: connectors/sharepoint/sharepoint_data_reader.py start line: 0 end line: 0 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 44 unit: def __init__() file: chunking/chunkers/langchain_chunker.py start line: 0 end line: 0 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 45 unit: def _get_content_type() file: tools/doc_intelligence.py start line: 0 end line: 0 size: 14 LOC McCabe index: 1 number of parameters: 2 id: 46 unit: def _get_credential() file: tools/blob.py start line: 0 end line: 0 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 47 unit: def _get_credential() file: tools/blob.py start line: 0 end line: 0 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 48 unit: def _get_sheet_data() file: chunking/chunkers/spreadsheet_chunker.py start line: 0 end line: 0 size: 14 LOC McCabe index: 7 number of parameters: 2 id: 49 unit: def __init__() file: connectors/sharepoint/sharepoint_deleted_files_purger.py start line: 0 end line: 0 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 50 unit: def main() file: setup.py start line: 0 end line: 0 size: 13 LOC McCabe index: 4 number of parameters: 7 id: 51 unit: def _choose_splitter() file: chunking/chunkers/doc_analysis_chunker.py start line: 0 end line: 0 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 52 unit: def list_blobs() file: tools/blob.py start line: 0 end line: 0 size: 12 LOC McCabe index: 5 number of parameters: 1 id: 53 unit: def _truncate_input() file: tools/aoai.py start line: 0 end line: 0 size: 12 LOC McCabe index: 4 number of parameters: 3 id: 54 unit: def _clean_markdown_table() file: chunking/chunkers/spreadsheet_chunker.py start line: 0 end line: 0 size: 12 LOC McCabe index: 4 number of parameters: 2 id: 55 unit: def _determine_chunk_page() file: chunking/chunkers/doc_analysis_chunker.py start line: 0 end line: 0 size: 12 LOC McCabe index: 3 number of parameters: 3 id: 56 unit: def _upload_figure_blob() file: chunking/chunkers/multimodal_chunker.py start line: 0 end line: 0 size: 12 LOC McCabe index: 2 number of parameters: 3 id: 57 unit: def download_blob() file: tools/blob.py start line: 0 end line: 0 size: 11 LOC McCabe index: 3 number of parameters: 3 id: 58 unit: def _get_drive_id() file: connectors/sharepoint/sharepoint_data_reader.py start line: 0 end line: 0 size: 11 LOC McCabe index: 3 number of parameters: 3 id: 59 unit: def chunk_document() file: chunking/document_chunking.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 60 unit: def _create_chunk() file: chunking/chunkers/base_chunker.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 61 unit: def _truncate_chunk() file: chunking/chunkers/base_chunker.py start line: 0 end line: 0 size: 11 LOC McCabe index: 4 number of parameters: 2 id: 62 unit: def _chunk_document_content() file: chunking/chunkers/transcription_chunker.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 63 unit: def _extract_title_from_filename() file: chunking/chunkers/base_chunker.py start line: 0 end line: 0 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 64 unit: def get_chunks() file: chunking/chunkers/doc_analysis_chunker.py start line: 0 end line: 0 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 65 unit: def _analyze_document_with_retry() file: chunking/chunkers/doc_analysis_chunker.py start line: 0 end line: 0 size: 10 LOC McCabe index: 4 number of parameters: 2 id: 66 unit: def get_chunks() file: chunking/chunkers/multimodal_chunker.py start line: 0 end line: 0 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 67 unit: def _calculate_polygon_area() file: chunking/chunkers/multimodal_chunker.py start line: 0 end line: 0 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 68 unit: def _append_figures_to_chunk() file: chunking/chunkers/multimodal_chunker.py start line: 0 end line: 0 size: 10 LOC McCabe index: 4 number of parameters: 5 id: 69 unit: def delete_blob() file: tools/blob.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 70 unit: def decode_to_utf8() file: chunking/chunkers/base_chunker.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 71 unit: def _process_document_chunks() file: chunking/chunkers/multimodal_chunker.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 72 unit: def _chunk_content() file: chunking/chunkers/multimodal_chunker.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 73 unit: def _find_chunks_for_figure() file: chunking/chunkers/multimodal_chunker.py start line: 0 end line: 0 size: 9 LOC McCabe index: 5 number of parameters: 3 id: 74 unit: def upload_blob() file: tools/blob.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 4 id: 75 unit: def __init__() file: connectors/images_deleted_files_purger.py start line: 0 end line: 0 size: 8 LOC McCabe index: 4 number of parameters: 1 id: 76 unit: def retrieve_sharepoint_files_content() file: connectors/sharepoint/sharepoint_data_reader.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 77 unit: def _get_files_in_site() file: connectors/sharepoint/sharepoint_data_reader.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 78 unit: def _process_files() file: connectors/sharepoint/sharepoint_data_reader.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 79 unit: def get_supported_extensions() file: chunking/chunker_factory.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 80 unit: def __init__() file: connectors/sharepoint/sharepoint_data_reader.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 81 unit: def _get_file_content_bytes() file: connectors/sharepoint/sharepoint_data_reader.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 82 unit: def _get_files() file: connectors/sharepoint/sharepoint_data_reader.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 83 unit: def __init__() file: chunking/chunkers/doc_analysis_chunker.py start line: 0 end line: 0 size: 7 LOC McCabe index: 4 number of parameters: 5 id: 84 unit: def _replace_html_tables() file: chunking/chunkers/doc_analysis_chunker.py start line: 0 end line: 0 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 85 unit: def _update_page() file: chunking/chunkers/doc_analysis_chunker.py start line: 0 end line: 0 size: 7 LOC McCabe index: 3 number of parameters: 3 id: 86 unit: def get_filename_from_data() file: utils/file_utils.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 87 unit: def _error_message() file: chunking/document_chunking.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 88 unit: def truncate_content() file: chunking/chunkers/base_chunker.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 89 unit: def __init__() file: chunking/chunkers/json_chunker.py start line: 0 end line: 0 size: 6 LOC McCabe index: 4 number of parameters: 5 id: 90 unit: def _chunk_content() file: chunking/chunkers/doc_analysis_chunker.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 91 unit: def get_filepath_from_data() file: utils/file_utils.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 92 unit: def _msgraph_auth() file: connectors/sharepoint/sharepoint_data_reader.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 93 unit: def _format_url() file: connectors/sharepoint/sharepoint_data_reader.py start line: 0 end line: 0 size: 5 LOC McCabe index: 6 number of parameters: 3 id: 94 unit: def _format_metadata() file: connectors/sharepoint/sharepoint_data_reader.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 95 unit: def _number_pagebreaks() file: chunking/chunkers/doc_analysis_chunker.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 96 unit: def __init__() file: chunking/chunkers/multimodal_chunker.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 5 id: 97 unit: def __init__() file: chunking/chunker_factory.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 98 unit: def default() file: function_app.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 99 unit: def __init__() file: chunking/chunkers/nl2sql_chunker.py start line: 0 end line: 0 size: 4 LOC McCabe index: 3 number of parameters: 4 id: 100 unit: def _restore_original_tables() file: chunking/chunkers/doc_analysis_chunker.py start line: 0 end line: 0 size: 4 LOC McCabe index: 3 number of parameters: 4 id: 101 unit: def __init__() file: chunking/chunkers/transcription_chunker.py start line: 0 end line: 0 size: 4 LOC McCabe index: 3 number of parameters: 4 id: 102 unit: def get_file_extension() file: utils/file_utils.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 103 unit: def _get_file_extension() file: tools/doc_intelligence.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 104 unit: def _format_messages() file: chunking/document_chunking.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 105 unit: def get_filename() file: utils/file_utils.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 106 unit: def estimate_tokens() file: tools/aoai.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 107 unit: def _make_ms_graph_request() file: connectors/sharepoint/sharepoint_data_reader.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 108 unit: def _get_site_id() file: connectors/sharepoint/sharepoint_data_reader.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 109 unit: def _get_file_permissions() file: connectors/sharepoint/sharepoint_data_reader.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 110 unit: def _retrieve_file_content() file: connectors/sharepoint/sharepoint_data_reader.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 111 unit: def _extract_file_metadata() file: connectors/sharepoint/sharepoint_data_reader.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 112 unit: def format_date() file: connectors/sharepoint/sharepoint_data_reader.py start line: 0 end line: 0 size: 2 LOC McCabe index: 3 number of parameters: 1 id: 113 unit: def _get_site_and_drive_ids() file: connectors/sharepoint/sharepoint_data_reader.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 114 unit: def _is_file_format_valid() file: connectors/sharepoint/sharepoint_data_reader.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 115 unit: def __init__() file: chunking/document_chunking.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 116 unit: def get_chunks() file: chunking/chunkers/base_chunker.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1