SYMBOL INDEX (541 symbols across 123 files) FILE: azureml/eval.py function main (line 15) | def main(): FILE: azureml/index.py function init (line 17) | def init(): function run (line 59) | def run(input_paths: list[str]) -> list[str]: FILE: azureml/pipeline.py function generate_conda_file (line 33) | def generate_conda_file(): function initialise_mlflow_client (line 57) | def initialise_mlflow_client(environment: Environment, config: Config): function start_pipeline (line 75) | def start_pipeline( FILE: azureml/query.py function main (line 17) | def main(): FILE: promptflow/rag-experiment-accelerator/evaluation/evaluation.py function my_python_tool (line 15) | def my_python_tool(config_path: str) -> bool: FILE: promptflow/rag-experiment-accelerator/index/create_index.py function my_python_tool (line 10) | def my_python_tool(should_index: bool, config_path: str) -> bool: FILE: promptflow/rag-experiment-accelerator/qa_generation/generate_qa.py function my_python_tool (line 9) | def my_python_tool(config_path: str, should_generate_qa: bool) -> bool: FILE: promptflow/rag-experiment-accelerator/querying/querying.py function my_python_tool (line 8) | def my_python_tool(config_path: str) -> bool: FILE: promptflow/rag-experiment-accelerator/setup/setup_env.py function my_python_tool (line 9) | def my_python_tool(connection: CustomConnection): FILE: rag_experiment_accelerator/artifact/handlers/artifact_handler.py class ArtifactHandler (line 11) | class ArtifactHandler: method __init__ (line 27) | def __init__(self, data_location: str, writer: T, loader: U) -> None: method load (line 33) | def load(self, name: str, **kwargs) -> list: method handle_archive (line 63) | def handle_archive(self, name: str) -> str | None: method save_dict (line 95) | def save_dict(self, data: dict, name: str, **kwargs): FILE: rag_experiment_accelerator/artifact/handlers/exceptions.py class LoadException (line 1) | class LoadException(Exception): method __init__ (line 2) | def __init__(self, path: str): FILE: rag_experiment_accelerator/artifact/handlers/query_output_handler.py class QueryOutputHandler (line 10) | class QueryOutputHandler(ArtifactHandler): method __init__ (line 15) | def __init__( method _get_output_name (line 28) | def _get_output_name( method get_output_path (line 42) | def get_output_path( method load (line 56) | def load( method handle_archive_by_index (line 81) | def handle_archive_by_index( method save (line 96) | def save( FILE: rag_experiment_accelerator/artifact/handlers/tests/test_artifact_handler.py function test_loads (line 10) | def test_loads(): function test_save_dict (line 25) | def test_save_dict(): function test_loads_raises_no_data_returned (line 40) | def test_loads_raises_no_data_returned(): function test_load_raises_cant_handle (line 52) | def test_load_raises_cant_handle(): function test_handle_archive (line 63) | def test_handle_archive(): function test_handle_archive_no_op (line 78) | def test_handle_archive_no_op(): FILE: rag_experiment_accelerator/artifact/handlers/tests/test_query_output_handler.py function test_handle_archive_by_index (line 14) | def test_handle_archive_by_index(mock_artifact_handler_handle_archive): function test_get_output_path (line 27) | def test_get_output_path(): function test__get_output_name (line 38) | def test__get_output_name(): function test_save (line 52) | def test_save(mock_artifact_handler_save_dict): function test_load (line 84) | def test_load(mock_artifact_handler_load): function test_load_raises_when_loaded_data_not_dict (line 130) | def test_load_raises_when_loaded_data_not_dict(mock_artifact_handler_load): FILE: rag_experiment_accelerator/artifact/models/query_output.py class QueryOutput (line 1) | class QueryOutput: method __init__ (line 22) | def __init__( FILE: rag_experiment_accelerator/checkpoint/checkpoint.py class Checkpoint (line 8) | class Checkpoint(ABC): method load_or_run (line 17) | def load_or_run(self, method, id: str, *args, **kwargs) -> Any: method _has_data (line 49) | def _has_data(self, id: str, method) -> bool: method _load (line 60) | def _load(self, id: str, method) -> Any: method _save (line 74) | def _save(self, data: Any, id: str, method): FILE: rag_experiment_accelerator/checkpoint/checkpoint_decorator.py function cache_with_checkpoint (line 4) | def cache_with_checkpoint(id=None): FILE: rag_experiment_accelerator/checkpoint/checkpoint_factory.py function get_checkpoint (line 7) | def get_checkpoint(): function init_checkpoint (line 17) | def init_checkpoint(config: Config): function _get_checkpoint_base_on_config (line 25) | def _get_checkpoint_base_on_config(config: Config): FILE: rag_experiment_accelerator/checkpoint/local_storage_checkpoint.py class LocalStorageCheckpoint (line 9) | class LocalStorageCheckpoint(Checkpoint): method __init__ (line 14) | def __init__(self, directory: str = "."): method _has_data (line 19) | def _has_data(self, id: str, method) -> bool: method _load (line 23) | def _load(self, id: str, method) -> List: method _save (line 29) | def _save(self, data: Any, id: str, method): method _get_checkpoint_file_path (line 36) | def _get_checkpoint_file_path(self, id: str, method): method _build_internal_id (line 40) | def _build_internal_id(self, id: str, method): method _get_existing_checkpoint_ids (line 44) | def _get_existing_checkpoint_ids(self) -> Set[str]: FILE: rag_experiment_accelerator/checkpoint/null_checkpoint.py class NullCheckpoint (line 5) | class NullCheckpoint(Checkpoint): method __init__ (line 10) | def __init__(self): method _has_data (line 13) | def _has_data(self, id: str, method) -> bool: method _load (line 16) | def _load(self, id: str, method) -> Any: method _save (line 19) | def _save(self, data: Any, id: str, method): FILE: rag_experiment_accelerator/checkpoint/tests/test_checkpoint.py function mock_checkpoints (line 17) | def mock_checkpoints(): function test_get_checkpoint_without_init_fails (line 24) | def test_get_checkpoint_without_init_fails(): function test_get_checkpoint_for_local_executions (line 33) | def test_get_checkpoint_for_local_executions(mock_checkpoints): function test_get_checkpoint_for_azure_ml (line 43) | def test_get_checkpoint_for_azure_ml(mock_checkpoints): function test_get_checkpoint_when_should_not_use_checkpoints_locally (line 54) | def test_get_checkpoint_when_should_not_use_checkpoints_locally(mock_che... function test_get_checkpoint_when_should_not_use_checkpoints_in_azure_ml (line 64) | def test_get_checkpoint_when_should_not_use_checkpoints_in_azure_ml(mock... FILE: rag_experiment_accelerator/checkpoint/tests/test_local_storage_checkpoint.py function dummy (line 20) | def dummy(word, call_identifier): class TestLocalStorageCheckpoint (line 24) | class TestLocalStorageCheckpoint(unittest.TestCase): method setUp (line 25) | def setUp(self): method tearDown (line 28) | def tearDown(self): method test_wrapped_method_is_cached (line 32) | def test_wrapped_method_is_cached(self): FILE: rag_experiment_accelerator/checkpoint/tests/test_null_checkpoint.py function dummy (line 6) | def dummy(word): class TestNullCheckpoint (line 10) | class TestNullCheckpoint(unittest.TestCase): method test_wrapped_method_is_not_cached (line 11) | def test_wrapped_method_is_not_cached(self): FILE: rag_experiment_accelerator/config/base_config.py class BaseConfig (line 13) | class BaseConfig: method from_dict (line 15) | def from_dict(cls, config_dict: dict) -> "BaseConfig": method to_dict (line 34) | def to_dict(self) -> dict: method flatten (line 51) | def flatten(self, randomize: bool = False): method sample (line 96) | def sample(self) -> list["BaseConfig"]: FILE: rag_experiment_accelerator/config/chunking_config.py class ChunkingStrategy (line 6) | class ChunkingStrategy(StrEnum): method __repr__ (line 10) | def __repr__(self) -> str: class ChunkingConfig (line 15) | class ChunkingConfig(BaseConfig): FILE: rag_experiment_accelerator/config/config.py class ExecutionEnvironment (line 29) | class ExecutionEnvironment(StrEnum): class Config (line 35) | class Config(BaseConfig): method from_path (line 54) | def from_path( method validate_inputs (line 94) | def validate_inputs(self, use_semantic_search: bool = False): method initialize_embedding_models (line 108) | def initialize_embedding_models(self, environment: Environment): method get_embedding_model (line 116) | def get_embedding_model(self, model_name) -> EmbeddingModel: FILE: rag_experiment_accelerator/config/config_validator.py function fetch_json_schema_from_url (line 9) | def fetch_json_schema_from_url(schema_url): function fetch_json_schema_from_file (line 16) | def fetch_json_schema_from_file(schema_file_path, source_file_path): function get_normalised_schema_path (line 29) | def get_normalised_schema_path(schema_file_path, source_file_path): function fetch_json_schema (line 35) | def fetch_json_schema(schema_reference, source_file_path): function validate_json_with_schema (line 50) | def validate_json_with_schema( FILE: rag_experiment_accelerator/config/embedding_model_config.py class EmbeddingModelConfig (line 6) | class EmbeddingModelConfig(BaseConfig): FILE: rag_experiment_accelerator/config/environment.py function field_to_env_name (line 17) | def field_to_env_name(field_name: str) -> str: function _get_value_from_env (line 25) | def _get_value_from_env(var_name: str, is_optional: bool = False) -> Opt... function init_keyvault (line 38) | def init_keyvault(azure_key_vault_endpoint: str) -> SecretClient: function field_to_keyvault_name (line 48) | def field_to_keyvault_name(field_name: str) -> str: function _get_value_from_keyvault (line 56) | def _get_value_from_keyvault( class Environment (line 77) | class Environment: method _field_names (line 97) | def _field_names(cls) -> list[str]: method _is_field_optional (line 104) | def _is_field_optional(cls, field_name: str) -> bool: method fields (line 111) | def fields(self) -> list[Tuple[str, str]]: method _from_env (line 118) | def _from_env(cls) -> "Environment": method from_keyvault (line 131) | def from_keyvault(cls, azure_key_vault_endpoint: str) -> "Environment": method from_env_or_keyvault (line 145) | def from_env_or_keyvault(cls) -> "Environment": method to_keyvault (line 189) | def to_keyvault(self, azure_key_vault_endpoint: str = None) -> None: FILE: rag_experiment_accelerator/config/eval_config.py class EvalConfig (line 6) | class EvalConfig(BaseConfig): FILE: rag_experiment_accelerator/config/index_config.py class IndexKey (line 12) | class IndexKey(StrEnum): class IndexConfig (line 29) | class IndexConfig(BaseConfig): method __label_properties (line 54) | def __label_properties(self) -> dict: method __from_label_properties (line 81) | def __from_label_properties(cls, properties: dict) -> "IndexConfig": method index_name (line 113) | def index_name(self) -> str: method from_index_name (line 129) | def from_index_name(cls, index_name: str) -> "IndexConfig": FILE: rag_experiment_accelerator/config/language_config.py class LanguageAnalyzerConfig (line 6) | class LanguageAnalyzerConfig(BaseConfig): class LanguageConfig (line 16) | class LanguageConfig(BaseConfig): FILE: rag_experiment_accelerator/config/openai_config.py class OpenAIConfig (line 6) | class OpenAIConfig(BaseConfig): FILE: rag_experiment_accelerator/config/path_config.py class Paths (line 7) | class Paths: class PathConfig (line 18) | class PathConfig(BaseConfig): method initialize_paths (line 27) | def initialize_paths(self, config_file_path: str, data_dir: str) -> None: method sampled_cluster_predictions_path (line 61) | def sampled_cluster_predictions_path(self, optimum_k: int) -> str: FILE: rag_experiment_accelerator/config/paths.py function get_all_file_paths (line 11) | def get_all_file_paths(directory: str) -> list[str]: function try_create_directory (line 19) | def try_create_directory(directory: str) -> None: function formatted_datetime_suffix (line 38) | def formatted_datetime_suffix(): function mlflow_run_name (line 43) | def mlflow_run_name(job_name: str, suffix: str = None): FILE: rag_experiment_accelerator/config/query_expansion.py class QueryExpansionConfig (line 6) | class QueryExpansionConfig(BaseConfig): FILE: rag_experiment_accelerator/config/rerank_config.py class RerankConfig (line 6) | class RerankConfig(BaseConfig): FILE: rag_experiment_accelerator/config/sampling_config.py class SamplingConfig (line 6) | class SamplingConfig(BaseConfig): FILE: rag_experiment_accelerator/config/search_config.py class SearchConfig (line 6) | class SearchConfig(BaseConfig): FILE: rag_experiment_accelerator/config/tests/test_config.py function init_config (line 10) | def init_config(): function get_test_config_dir (line 19) | def get_test_config_dir(): function test_config_init (line 25) | def test_config_init(mock_validate_json_with_schema, mock_create_embeddi... function test_config_init_raises_error (line 180) | def test_config_init_raises_error( function test_chunk_size_greater_than_overlap_size (line 192) | def test_chunk_size_greater_than_overlap_size(): function test_validate_semantic_search_config (line 206) | def test_validate_semantic_search_config(): FILE: rag_experiment_accelerator/config/tests/test_config_validator.py function test_fetch_json_schema_from_url_returns_json (line 17) | def test_fetch_json_schema_from_url_returns_json(mock_get): function test_fetch_json_schema_from_url_raises_error_for_timeout (line 31) | def test_fetch_json_schema_from_url_raises_error_for_timeout(mock_get): function test_fetch_json_schema_from_file_returns_json_from_file (line 46) | def test_fetch_json_schema_from_file_returns_json_from_file(mock_open, m... function test_fetch_json_schema_from_file_uses_a_relative_path (line 65) | def test_fetch_json_schema_from_file_uses_a_relative_path(mock_open, moc... function test_fetch_json_schema_from_file_raises_error_for_non_file_input (line 81) | def test_fetch_json_schema_from_file_raises_error_for_non_file_input(moc... function test_get_normalised_schema_path (line 92) | def test_get_normalised_schema_path(): function test_fetch_json_schema_returns_from_cache (line 104) | def test_fetch_json_schema_returns_from_cache(mock_schema_cache): function test_fetch_json_schema_updates_cache (line 117) | def test_fetch_json_schema_updates_cache( function test_fetch_json_schema_returns_from_url_when_http (line 137) | def test_fetch_json_schema_returns_from_url_when_http( function test_fetch_json_schema_returns_from_url_when_https (line 153) | def test_fetch_json_schema_returns_from_url_when_https( function test_fetch_json_schema_returns_from_file (line 169) | def test_fetch_json_schema_returns_from_file( function test_validate_json_with_schema_returns_true_for_no_schema (line 185) | def test_validate_json_with_schema_returns_true_for_no_schema(): function test_validate_json_with_schema_returns_for_valid_json (line 195) | def test_validate_json_with_schema_returns_for_valid_json( function test_validate_json_with_schema_returns_for_invalid_json (line 211) | def test_validate_json_with_schema_returns_for_invalid_json( FILE: rag_experiment_accelerator/config/tests/test_environment.py function mock_get_value_from_env_with_keyvault (line 10) | def mock_get_value_from_env_with_keyvault( function mock_get_secret_value_from_keyvault (line 28) | def mock_get_secret_value_from_keyvault( function mock_get_any_value_from_keyvault (line 38) | def mock_get_any_value_from_keyvault(field_name: str) -> Optional[str]: function test_create_environment_from_env_or_keyvault (line 68) | def test_create_environment_from_env_or_keyvault(_, __, mock_init_keyvau... function test_create_environment_from_keyvault (line 85) | def test_create_environment_from_keyvault(mock_init_keyvault): function test_to_keyvault (line 105) | def test_to_keyvault(mock_init_keyvault): FILE: rag_experiment_accelerator/config/tests/test_index_config.py function test_index_config_to_index_name (line 9) | def test_index_config_to_index_name(): function test_index_name_to_index_config (line 35) | def test_index_name_to_index_config(): function test_index_name_to_index_config_shuffled_order (line 52) | def test_index_name_to_index_config_shuffled_order(): function test_index_name_to_index_config_missing_property (line 69) | def test_index_name_to_index_config_missing_property(): function test_index_name_to_index_config_hyphens (line 82) | def test_index_name_to_index_config_hyphens(): FILE: rag_experiment_accelerator/data_assets/data_asset.py function create_data_asset (line 12) | def create_data_asset(data_path: str, data_asset_name: str, environment:... FILE: rag_experiment_accelerator/doc_loader/customJsonLoader.py class CustomJSONLoader (line 12) | class CustomJSONLoader(BaseLoader): method __init__ (line 13) | def __init__( method _load_schema_from_dict (line 23) | def _load_schema_from_dict(self, data: dict) -> str: method load (line 37) | def load(self) -> list[Document]: FILE: rag_experiment_accelerator/doc_loader/documentIntelligenceLoader.py function is_supported_by_document_intelligence (line 22) | def is_supported_by_document_intelligence(format: str) -> bool: function load_with_azure_document_intelligence (line 45) | def load_with_azure_document_intelligence( class DocumentIntelligenceLoader (line 105) | class DocumentIntelligenceLoader(BaseLoader): method __init__ (line 110) | def __init__( method load (line 146) | def load(self) -> List[Document]: method lazy_load (line 166) | def lazy_load(self) -> Iterator[Document]: method _get_file_paths (line 171) | def _get_file_paths(self): method _analyze_document (line 182) | def _analyze_document(self, file_path: str): method _call_document_intelligence (line 227) | def _call_document_intelligence(self, file_path): method _clean_content (line 240) | def _clean_content(self, content: str): method _convert_to_langchain_document (line 251) | def _convert_to_langchain_document(self, paragraphs, file_path, page_n... method _is_intersecting_regions (line 259) | def _is_intersecting_regions(self, bounding_region1, bounding_region2): method _is_intersecting_polygons (line 271) | def _is_intersecting_polygons(self, polygon1, polygon2): method _assign_tables_to_paragraphs (line 293) | def _assign_tables_to_paragraphs(self, paragraphs, tables): method _convert_to_paragraph (line 318) | def _convert_to_paragraph(self, table): method _format_table (line 324) | def _format_table(self, table): method _substitute_table_paragraphs (line 360) | def _substitute_table_paragraphs(self, paragraphs, tables): method _split_paragraphs_by_page (line 383) | def _split_paragraphs_by_page(self, paragraphs): method _load_with_langchain (line 393) | def _load_with_langchain(self, file_path, api_model): FILE: rag_experiment_accelerator/doc_loader/documentLoader.py function determine_processor (line 37) | def determine_processor(chunking_strategy: ChunkingStrategy, format: str... function load_documents (line 50) | def load_documents( FILE: rag_experiment_accelerator/doc_loader/docxLoader.py function load_docx_files (line 12) | def load_docx_files( FILE: rag_experiment_accelerator/doc_loader/htmlLoader.py function load_html_files (line 12) | def load_html_files( FILE: rag_experiment_accelerator/doc_loader/jsonLoader.py function load_json_files (line 13) | def load_json_files( FILE: rag_experiment_accelerator/doc_loader/markdownLoader.py function load_markdown_files (line 12) | def load_markdown_files( FILE: rag_experiment_accelerator/doc_loader/pdfLoader.py function preprocess_pdf_content (line 13) | def preprocess_pdf_content(content: str): function load_pdf_files (line 40) | def load_pdf_files( FILE: rag_experiment_accelerator/doc_loader/structuredLoader.py function load_structured_files (line 11) | def load_structured_files( FILE: rag_experiment_accelerator/doc_loader/tests/test_custom_html_loader.py function test_load_html_files (line 7) | def test_load_html_files(): FILE: rag_experiment_accelerator/doc_loader/tests/test_custom_json_loader.py function test_load_json_files (line 12) | def test_load_json_files(): function test_load_json_files_raises_invalid_keys (line 43) | def test_load_json_files_raises_invalid_keys(): function test_load_json_files_raises_not_a_list (line 71) | def test_load_json_files_raises_not_a_list(): FILE: rag_experiment_accelerator/doc_loader/tests/test_document_intelligence_loader.py class SimplePythonObject (line 8) | class SimplePythonObject: method __init__ (line 9) | def __init__(self, **kwargs): method __getitem__ (line 12) | def __getitem__(self, key): method get (line 15) | def get(self, key, default=None): method keys (line 18) | def keys(self): function mock_simple_response (line 22) | def mock_simple_response(file_name): function test__load (line 37) | def test__load(mock_document_intelligence, _): function test_load_with_langchain_is_used_as_fallback (line 72) | def test_load_with_langchain_is_used_as_fallback(mock_load_with_langchai... function test_content_cleaning (line 94) | def test_content_cleaning(mock_document_intelligence, _): function test_table_without_headers (line 123) | def test_table_without_headers(mock_document_intelligence, _): function test_document_with_multiple_pages_without_splitting_documents_by_page (line 151) | def test_document_with_multiple_pages_without_splitting_documents_by_page( function test_document_with_multiple_pages_with_split_documents_by_page (line 183) | def test_document_with_multiple_pages_with_split_documents_by_page( function test_excluding_paragraphs (line 223) | def test_excluding_paragraphs(mock_document_intelligence, _): function test_get_file_paths (line 245) | def test_get_file_paths(): function test_get_file_paths_returns_according_to_glob (line 263) | def test_get_file_paths_returns_according_to_glob(): function test_get_file_paths_works_for_single_files (line 275) | def test_get_file_paths_works_for_single_files(): FILE: rag_experiment_accelerator/doc_loader/tests/test_docx_loader.py function test_load_docx_files (line 7) | def test_load_docx_files(): FILE: rag_experiment_accelerator/doc_loader/textLoader.py function load_text_files (line 12) | def load_text_files( FILE: rag_experiment_accelerator/embedding/aoai_embedding_model.py class AOAIEmbeddingModel (line 7) | class AOAIEmbeddingModel(EmbeddingModel): method __init__ (line 23) | def __init__( method _initialize_client (line 36) | def _initialize_client(self, environment: Environment) -> AzureOpenAI: method generate_embedding (line 53) | def generate_embedding(self, chunk: str) -> list[float]: FILE: rag_experiment_accelerator/embedding/embedding_model.py class EmbeddingModel (line 4) | class EmbeddingModel(ABC): method __init__ (line 19) | def __init__(self, name: str, dimension: int, **kwargs) -> None: method generate_embedding (line 24) | def generate_embedding(self, chunk: str) -> list[float]: method to_dict (line 36) | def to_dict(self) -> dict: FILE: rag_experiment_accelerator/embedding/factory.py function create_embedding_model (line 5) | def create_embedding_model(model_type: str, **kwargs): FILE: rag_experiment_accelerator/embedding/st_embedding_model.py class STEmbeddingModel (line 10) | class STEmbeddingModel(EmbeddingModel): method __init__ (line 36) | def __init__( method generate_embedding (line 66) | def generate_embedding(self, chunk: str) -> list[float]: FILE: rag_experiment_accelerator/embedding/tests/test_aoai_embedding_model.py function test_generate_embedding (line 12) | def test_generate_embedding(mock_client): function test_emebdding_dimension_has_default (line 31) | def test_emebdding_dimension_has_default(): function test_can_set_embedding_dimension (line 37) | def test_can_set_embedding_dimension(): function test_generate_embeddings_no_shortening (line 46) | def test_generate_embeddings_no_shortening(mock_client): function test_generate_embeddings_with_shortening (line 63) | def test_generate_embeddings_with_shortening(mock_client): FILE: rag_experiment_accelerator/embedding/tests/test_factory.py function test_create_aoai_embedding_model (line 9) | def test_create_aoai_embedding_model(): function test_create_st_embedding_model (line 24) | def test_create_st_embedding_model(mock_sentence_transformer): function test_create_raises_invalid_embedding_type (line 38) | def test_create_raises_invalid_embedding_type(): FILE: rag_experiment_accelerator/embedding/tests/test_st_embedding_model.py function test_generate_embedding (line 8) | def test_generate_embedding(mock_sentence_transformer): function test_sentence_transformer_embedding_model_raises_non_existing_model (line 19) | def test_sentence_transformer_embedding_model_raises_non_existing_model(): function test_sentence_transformer_embedding_model_raises_unsupported_model (line 24) | def test_sentence_transformer_embedding_model_raises_unsupported_model(): function test_sentence_transformer_embedding_model_succeeds (line 30) | def test_sentence_transformer_embedding_model_succeeds(mock_sentence_tra... FILE: rag_experiment_accelerator/evaluation/eval.py function compute_metrics (line 44) | def compute_metrics( function evaluate_single_prompt (line 129) | def evaluate_single_prompt( function evaluate_prompts (line 178) | def evaluate_prompts( FILE: rag_experiment_accelerator/evaluation/llm_based_metrics.py function lower_and_strip (line 15) | def lower_and_strip(text): function llm_answer_relevance (line 31) | def llm_answer_relevance( function llm_context_precision (line 63) | def llm_context_precision( function llm_context_recall (line 104) | def llm_context_recall( function compute_llm_based_score (line 153) | def compute_llm_based_score( FILE: rag_experiment_accelerator/evaluation/plain_metrics.py function bleu (line 9) | def bleu(predictions: list[str], references: list[str]) -> float: function fuzzy_score (line 33) | def fuzzy_score(str1: str, str2: str, match_type: str = "token_set_ratio... function rouge_score (line 74) | def rouge_score(ground_truth: str, prediction: str, rouge_metric_name: s... function levenshtein (line 110) | def levenshtein(str1: str, str2: str) -> int: function jaccard (line 125) | def jaccard(str1: str, str2: str) -> int: function hamming (line 140) | def hamming(str1: str, str2: str) -> int: function jaro_winkler (line 155) | def jaro_winkler(str1: str, str2: str) -> int: function cosine_ochiai (line 170) | def cosine_ochiai(str1: str, str2: str) -> float: function lcsseq (line 185) | def lcsseq(str1: str, str2: str) -> int: function lcsstr (line 200) | def lcsstr(str1: str, str2: str) -> int: FILE: rag_experiment_accelerator/evaluation/plot_metrics.py function generate_metrics (line 11) | def generate_metrics(experiment_name, run_id, mlflow_client): function draw_hist_df (line 83) | def draw_hist_df(df, run_id, mlflow_client): function plot_apk_scores (line 106) | def plot_apk_scores(df, run_id, mlflow_client): function plot_mapk_scores (line 113) | def plot_mapk_scores(df, run_id, mlflow_client): function plot_map_scores (line 119) | def plot_map_scores(df, run_id, mlflow_client): function draw_search_chart (line 125) | def draw_search_chart(temp_df, run_id, mlflow_client): FILE: rag_experiment_accelerator/evaluation/search_eval.py function evaluate_search_result (line 11) | def evaluate_search_result( FILE: rag_experiment_accelerator/evaluation/spacy_evaluator.py class SpacyEvaluator (line 8) | class SpacyEvaluator: method __init__ (line 25) | def __init__(self, similarity_threshold=0.8, model="en_core_web_lg") -... method similarity (line 36) | def similarity(self, doc1: str, doc2: str): method is_relevant (line 41) | def is_relevant(self, doc1: str, doc2: str): FILE: rag_experiment_accelerator/evaluation/tests/test_llm_based_metrics.py function test_llm_answer_relevance (line 12) | def test_llm_answer_relevance(mock_st, mock_generate_response): function test_llm_context_precision (line 32) | def test_llm_context_precision(mock_generate_response): function test_llm_context_recall (line 48) | def test_llm_context_recall(mock_generate_response): FILE: rag_experiment_accelerator/evaluation/tests/test_plain_metrics.py function test_fuzzy_score (line 18) | def test_fuzzy_score(): function test_levenshtein (line 26) | def test_levenshtein(): function test_jaccard (line 33) | def test_jaccard(): function test_hamming (line 40) | def test_hamming(): function test_jaro_winkler (line 47) | def test_jaro_winkler(): function test_cosine_ochiai (line 54) | def test_cosine_ochiai(): function test_rouge_score (line 61) | def test_rouge_score(): function test_lcsseq (line 81) | def test_lcsseq(): function test_lcsstr (line 88) | def test_lcsstr(): function test_bleu (line 96) | def test_bleu(mock_evaluate_load): FILE: rag_experiment_accelerator/evaluation/tests/test_search_eval.py function test_evaluate_search_result_calulates_precision_score (line 24) | def test_evaluate_search_result_calulates_precision_score(): function test_evaluate_search_result_calulates_recall_score (line 39) | def test_evaluate_search_result_calulates_recall_score(): function test_evaluate_search_result_returns_all_search_content (line 54) | def test_evaluate_search_result_returns_all_search_content(): FILE: rag_experiment_accelerator/evaluation/tests/test_spacy_evaluator.py function test_evaluator_init (line 8) | def test_evaluator_init(mock_nlp): function test_similarity_returns_similar (line 15) | def test_similarity_returns_similar(mock_nlp): function test_is_relevant_returns_valid (line 32) | def test_is_relevant_returns_valid(mock_nlp, mock_similarity): FILE: rag_experiment_accelerator/evaluation/tests/test_transformer_based_metrics.py function test_compare_semantic_document_values (line 11) | def test_compare_semantic_document_values(): FILE: rag_experiment_accelerator/evaluation/transformer_based_metrics.py function compare_semantic_document_values (line 16) | def compare_semantic_document_values(doc1, doc2, model_type): function semantic_compare_values (line 33) | def semantic_compare_values( function compute_transformer_based_score (line 56) | def compute_transformer_based_score( FILE: rag_experiment_accelerator/ingest_data/acs_ingest.py function my_hash (line 23) | def my_hash(s): function upload_data (line 36) | def upload_data( function generate_qna (line 92) | def generate_qna(environment, config, docs, azure_oai_deployment_name): function generate_qna_for_chunk (line 139) | def generate_qna_for_chunk(chunk, response_generator): function generate_multiple_questions (line 158) | def generate_multiple_questions(question, response_generator: ResponseGe... function do_we_need_multiple_questions (line 176) | def do_we_need_multiple_questions( function chunks_to_index_documents (line 198) | def chunks_to_index_documents(chunks): FILE: rag_experiment_accelerator/ingest_data/tests/test_acs_ingest.py function test_my_hash_with_string (line 19) | def test_my_hash_with_string(): function test_my_hash_with_empty_string (line 33) | def test_my_hash_with_empty_string(): function test_my_hash_with_numbers (line 47) | def test_my_hash_with_numbers(): function test_generate_title (line 62) | def test_generate_title(mock_response_generator): function test_generate_summary (line 84) | def test_generate_summary(mock_response_generator): function test_upload_data (line 108) | def test_upload_data( function test_we_need_multiple_questions (line 153) | def test_we_need_multiple_questions(mock_response_generator): function test_do_we_need_multiple_questions_true (line 173) | def test_do_we_need_multiple_questions_true(mock_response_generator): function test_do_we_need_multiple_questions_false (line 193) | def test_do_we_need_multiple_questions_false(mock_response_generator): FILE: rag_experiment_accelerator/init_Index/create_index.py function create_acs_index (line 29) | def create_acs_index( FILE: rag_experiment_accelerator/init_Index/tests/test_create_index.py class TestCreateIndex (line 17) | class TestCreateIndex(unittest.TestCase): method test_create_acs_index (line 27) | def test_create_acs_index( method test_analyzer_name_alone (line 70) | def test_analyzer_name_alone( method test_analyzer_with_index_and_search_analyzer (line 97) | def test_analyzer_with_index_and_search_analyzer(self): method test_analyzer_with_index_or_search_analyzer (line 178) | def test_analyzer_with_index_or_search_analyzer( method test_create_acs_index_analyzers_non_none (line 246) | def test_create_acs_index_analyzers_non_none( method test_create_acs_index_analyzers_none (line 269) | def test_create_acs_index_analyzers_none( method test_create_acs_index_invalid_parameters (line 291) | def test_create_acs_index_invalid_parameters( method test_create_acs_index_create_or_update_index_fails (line 303) | def test_create_acs_index_create_or_update_index_fails( method test_create_acs_index_create_or_update_index_returns_non_none (line 321) | def test_create_acs_index_create_or_update_index_returns_non_none( method test_dimension_setting (line 345) | def test_dimension_setting( FILE: rag_experiment_accelerator/io/exceptions.py class WriteException (line 1) | class WriteException(Exception): method __init__ (line 2) | def __init__(self, path: str, e: Exception): class CopyException (line 10) | class CopyException(Exception): method __init__ (line 11) | def __init__(self, src: str, dest: str, e: Exception): FILE: rag_experiment_accelerator/io/loader.py class Loader (line 4) | class Loader(ABC): method load (line 10) | def load(self, src: str, **kwargs) -> list: method can_handle (line 24) | def can_handle(self, src: str) -> bool: method exists (line 37) | def exists(self, src: str) -> bool: FILE: rag_experiment_accelerator/io/local/base.py class LocalIOBase (line 4) | class LocalIOBase: method exists (line 9) | def exists(self, path: str) -> bool: FILE: rag_experiment_accelerator/io/local/loaders/jsonl_loader.py class JsonlLoader (line 7) | class JsonlLoader(LocalLoader): method load (line 10) | def load(self, path: str, **kwargs) -> list: method can_handle (line 38) | def can_handle(self, path: str) -> bool: FILE: rag_experiment_accelerator/io/local/loaders/local_loader.py class LocalLoader (line 8) | class LocalLoader(LocalIOBase, Loader): method load (line 29) | def load(self, src: str, **kwargs) -> list: method can_handle (line 42) | def can_handle(self, src: str) -> bool: method _get_file_ext (line 54) | def _get_file_ext(self, path: str): FILE: rag_experiment_accelerator/io/local/loaders/tests/test_jsonl_loader.py function temp_dir (line 11) | def temp_dir(): function test_loads (line 18) | def test_loads(temp_dir: str): function test_loads_raises_file_not_found (line 32) | def test_loads_raises_file_not_found(temp_dir: str): function test_can_handle_true (line 39) | def test_can_handle_true(): function test_can_handle_false (line 45) | def test_can_handle_false(): FILE: rag_experiment_accelerator/io/local/loaders/tests/test_local_loader.py function test__get_file_ext (line 4) | def test__get_file_ext(): FILE: rag_experiment_accelerator/io/local/tests/test_local_io_base.py function temp_dir (line 10) | def temp_dir(): function test_exists_true (line 17) | def test_exists_true(temp_dir: str) -> bool: function test_exists_false (line 22) | def test_exists_false() -> bool: FILE: rag_experiment_accelerator/io/local/writers/jsonl_writer.py class JsonlWriter (line 9) | class JsonlWriter(LocalWriter): method _write_file (line 23) | def _write_file(self, path: str, data, **kwargs): FILE: rag_experiment_accelerator/io/local/writers/local_writer.py class LocalWriter (line 15) | class LocalWriter(LocalIOBase, Writer): method _make_dir (line 22) | def _make_dir(self, dir: str): method _get_dirname (line 38) | def _get_dirname(self, path: str): method _write_file (line 51) | def _write_file(path: str, data, **kwargs): method write (line 65) | def write(self, path: str, data, **kwargs): method copy (line 84) | def copy(self, src: str, dest: str, **kwargs): method delete (line 108) | def delete(self, src: str): method list_filenames (line 121) | def list_filenames(self, dir: str): FILE: rag_experiment_accelerator/io/local/writers/tests/test_jsonl_writer.py function temp_dir (line 13) | def temp_dir(): function test__write_file (line 20) | def test__write_file(temp_dir: str): FILE: rag_experiment_accelerator/io/local/writers/tests/test_local_writer.py function temp_dirname (line 13) | def temp_dirname(): function temp_dir (line 22) | def temp_dir(): function writer_impl (line 31) | def writer_impl(): function test__make_dir (line 45) | def test__make_dir(temp_dirname: str, writer_impl: LocalWriter): function test__make_dir_raises (line 53) | def test__make_dir_raises(writer_impl: LocalWriter): function test_write_calls__write_file (line 61) | def test_write_calls__write_file(temp_dir: str, writer_impl: LocalWriter): function test_write_creates_parent_dir (line 72) | def test_write_creates_parent_dir(temp_dirname: str, writer_impl: LocalW... function test_write_raises_write_exception (line 80) | def test_write_raises_write_exception(writer_impl: LocalWriter): function test_copy (line 86) | def test_copy(temp_dirname: str, writer_impl: LocalWriter): function test_copy_raises_copy_exception (line 101) | def test_copy_raises_copy_exception(temp_dirname: str, writer_impl: Loca... function test_copy_raises_file_not_found (line 117) | def test_copy_raises_file_not_found(temp_dirname: str, writer_impl: Loca... function test_delete (line 130) | def test_delete(temp_dirname: str, writer_impl: LocalWriter): function test_list_filenames (line 144) | def test_list_filenames(temp_dirname: str, writer_impl: LocalWriter): FILE: rag_experiment_accelerator/io/writer.py class Writer (line 4) | class Writer(ABC): method write (line 8) | def write(self, path: str, data, **kwargs): method copy (line 22) | def copy(self, src: str, dest: str, **kwargs): method delete (line 36) | def delete(self, src: str): method exists (line 48) | def exists(self, path: str) -> bool: FILE: rag_experiment_accelerator/llm/exceptions.py class ContentFilteredException (line 1) | class ContentFilteredException(Exception): FILE: rag_experiment_accelerator/llm/prompt/hyde_prompts.py function validate_hypothetical_questions (line 9) | def validate_hypothetical_questions(text: str) -> bool: FILE: rag_experiment_accelerator/llm/prompt/instruction_prompts.py function validate_instruction_keyword (line 9) | def validate_instruction_keyword(text: str) -> bool: function validate_instruction_entities (line 16) | def validate_instruction_entities(text: str) -> bool: FILE: rag_experiment_accelerator/llm/prompt/multiprompts.py function validate_do_we_need_multiple (line 5) | def validate_do_we_need_multiple(text: str) -> bool: function validate_multiple_prompt (line 9) | def validate_multiple_prompt(text: str) -> bool: FILE: rag_experiment_accelerator/llm/prompt/prompt.py function _default_validation (line 13) | def _default_validation(x: any) -> bool: class PromptTag (line 17) | class PromptTag(StrEnum): class Prompt (line 24) | class Prompt: method __init__ (line 29) | def __init__( method arguments_in_prompt (line 46) | def arguments_in_prompt(prompt: str) -> set[str]: method check_formatting_argument (line 52) | def check_formatting_argument(text: str, field: str) -> bool: method _get_prompt_file_path (line 56) | def _get_prompt_file_path(prompt_file: str) -> str: method _try_load_prompt_file (line 63) | def _try_load_prompt_file(prompt_file: str) -> str: method update_system_prompt (line 88) | def update_system_prompt(self, system_message: str) -> "Prompt": method update_user_prompt (line 93) | def update_user_prompt(self, user_template: str) -> "Prompt": class CoTPrompt (line 99) | class CoTPrompt(Prompt): method __init__ (line 100) | def __init__( method _check_separator_declaration (line 129) | def _check_separator_declaration( method update_system_prompt (line 151) | def update_system_prompt(self, system_message: str) -> Prompt: class StructuredPrompt (line 160) | class StructuredPrompt(Prompt): method __init__ (line 165) | def __init__( class StructuredWithCoTPrompt (line 179) | class StructuredWithCoTPrompt(CoTPrompt, StructuredPrompt): method __init__ (line 180) | def __init__( FILE: rag_experiment_accelerator/llm/prompt/qna_prompts.py function qna_generation_validate (line 9) | def qna_generation_validate(response: str) -> bool: FILE: rag_experiment_accelerator/llm/prompt/ragas_prompts.py function validate_context_precision (line 10) | def validate_context_precision(text: str) -> bool: function validate_context_recall (line 14) | def validate_context_recall(text: str) -> bool: FILE: rag_experiment_accelerator/llm/prompt/rerank_prompts.py function validate_rerank (line 6) | def validate_rerank(text: str) -> bool: FILE: rag_experiment_accelerator/llm/response_generator.py class ResponseGenerator (line 32) | class ResponseGenerator: method __init__ (line 33) | def __init__(self, environment: Environment, config: Config, deploymen... method _initialize_azure_openai_client (line 41) | def _initialize_azure_openai_client(self, environment: Environment): method _interpret_response (line 48) | def _interpret_response(self, response: str, prompt: Prompt) -> any: method _get_response (line 87) | def _get_response( method generate_response (line 120) | def generate_response( FILE: rag_experiment_accelerator/llm/tests/test_response_generator.py class TestResponseGenerator (line 14) | class TestResponseGenerator(unittest.TestCase): method setUp (line 15) | def setUp(self): method create_mock_prompt (line 25) | def create_mock_prompt(self, prompt_type, tags, separator=None, valida... method test_interpret_response_with_cot_prompt (line 34) | def test_interpret_response_with_cot_prompt(self): method test_interpret_response_with_structured_prompt (line 42) | def test_interpret_response_with_structured_prompt(self): method test_interpret_response_with_invalid_separator (line 53) | def test_interpret_response_with_invalid_separator(self): method test_interpret_response_non_strict_mode (line 61) | def test_interpret_response_non_strict_mode(self): method test_get_response_normal (line 68) | def test_get_response_normal(self, mock_logger): method test_get_response_content_filtered (line 83) | def test_get_response_content_filtered(self, mock_logger): method test_get_response_retries_on_random_exception (line 96) | def test_get_response_retries_on_random_exception(self, mock_logger): method test_generate_response_full_system_message (line 118) | def test_generate_response_full_system_message(self, mock_get_response): method test_generate_response_full_user_template (line 134) | def test_generate_response_full_user_template(self, mock_get_response): method test_generate_response_mixed_messages (line 150) | def test_generate_response_mixed_messages(self, mock_get_response): method test_generate_response_missing_system_argument (line 166) | def test_generate_response_missing_system_argument(self, mock_get_resp... method test_generate_response_missing_user_argument_non_strict (line 178) | def test_generate_response_missing_user_argument_non_strict( method test_generate_response_exception_handling_strict (line 196) | def test_generate_response_exception_handling_strict(self, mock_get_re... method test_initialize_azure_openai_client (line 208) | def test_initialize_azure_openai_client(self, mock_initialize_azure_op... FILE: rag_experiment_accelerator/nlp/language_evaluator.py class LanguageEvaluator (line 10) | class LanguageEvaluator: method __init__ (line 41) | def __init__( method check_string (line 63) | def check_string(self, input_string): method detect_language (line 75) | def detect_language(self, text: str): method is_confident (line 100) | def is_confident(self, text: str): method is_language_match (line 108) | def is_language_match(self, text: str, language_code: str): FILE: rag_experiment_accelerator/nlp/preprocess.py class Preprocess (line 10) | class Preprocess: method __init__ (line 13) | def __init__(self, enabled=False): method preprocess (line 25) | def preprocess(self, text) -> str: method remove_punctuation (line 50) | def remove_punctuation(self, text): method remove_tags (line 62) | def remove_tags(self, text): method sentence_tokenize (line 75) | def sentence_tokenize(self, text): method word_tokenize (line 88) | def word_tokenize(self, text): method remove_stop_words (line 100) | def remove_stop_words(self, sentence): method lemmatize (line 117) | def lemmatize(self, text): FILE: rag_experiment_accelerator/nlp/tests/test_language_evaluator.py function test_language_evaluator_init (line 40) | def test_language_evaluator_init(): function test_detect_language (line 49) | def test_detect_language(): function test_detect_languages (line 60) | def test_detect_languages(): function test_is_confident_returns_certainty (line 74) | def test_is_confident_returns_certainty(): function test_is_language_match (line 84) | def test_is_language_match(): function test_check_string (line 93) | def test_check_string(): FILE: rag_experiment_accelerator/nlp/tests/test_preprocessor.py function test_sentence_tokenize (line 7) | def test_sentence_tokenize(mock_nlp): function test_word_tokenize (line 22) | def test_word_tokenize(mock_nlp): function test_remove_stopwords (line 39) | def test_remove_stopwords(mock_nlp): function test_lemmatize (line 71) | def test_lemmatize(mock_nlp): function test_remove_punct (line 92) | def test_remove_punct(mock_nlp): FILE: rag_experiment_accelerator/reranking/reranker.py function cross_encoder_rerank_documents (line 12) | def cross_encoder_rerank_documents( function llm_rerank_documents (line 46) | def llm_rerank_documents( FILE: rag_experiment_accelerator/run/evaluation.py function _flatten_dict_gen (line 17) | def _flatten_dict_gen(d, parent_key, sep): function flatten_dict (line 26) | def flatten_dict(d: MutableMapping, parent_key: str = "", sep: str = "."): function get_job_hyper_params (line 30) | def get_job_hyper_params(config: Config, index_config: IndexConfig) -> d... function run (line 45) | def run( FILE: rag_experiment_accelerator/run/index.py function run (line 30) | def run( function convert_docs_to_vector_db_records (line 103) | def convert_docs_to_vector_db_records(docs): function embed_chunks (line 134) | def embed_chunks(config: Config, index_config: IndexConfig, pre_process,... function embed_chunk (line 188) | def embed_chunk(pre_process, embedding_model, chunk): function generate_titles_from_chunks (line 212) | def generate_titles_from_chunks( function generate_summaries_from_chunks (line 253) | def generate_summaries_from_chunks( function process_title (line 293) | def process_title( function process_summary (line 333) | def process_summary( function generate_title (line 373) | def generate_title(chunk, azure_oai_deployment_name, environment, config): function generate_summary (line 393) | def generate_summary(chunk, azure_oai_deployment_name, environment, conf... FILE: rag_experiment_accelerator/run/qa_generation.py function run (line 23) | def run( FILE: rag_experiment_accelerator/run/querying.py function query_acs (line 73) | def query_acs( function rerank_documents (line 106) | def rerank_documents( function hyde (line 145) | def hyde( function query_expansion (line 172) | def query_expansion( function deduplicate_search_results (line 199) | def deduplicate_search_results(search_results: list[dict]) -> list[dict]: class QueryAndEvalACSResult (line 217) | class QueryAndEvalACSResult: method __init__ (line 218) | def __init__(self, documents: list[str], evaluations: dict[str, any]): function query_and_eval_acs (line 223) | def query_and_eval_acs( function filter_non_related_questions (line 286) | def filter_non_related_questions( function query_and_eval_acs_multi (line 316) | def query_and_eval_acs_multi( function query_and_eval_single_line (line 398) | def query_and_eval_single_line( function get_query_output (line 469) | def get_query_output( function run (line 560) | def run( FILE: rag_experiment_accelerator/run/tests/test_index.py function test_run (line 26) | def test_run( FILE: rag_experiment_accelerator/run/tests/test_qa_generation.py function test_run (line 12) | def test_run( FILE: rag_experiment_accelerator/run/tests/test_querying.py class TestQuerying (line 27) | class TestQuerying(unittest.TestCase): method setUp (line 28) | def setUp(self): method test_query_acs (line 77) | def test_query_acs(self, mock_search_mapping): method test_rerank_documents (line 101) | def test_rerank_documents( method test_query_and_eval_acs (line 121) | def test_query_and_eval_acs( method test_query_and_eval_acs_multi_rerank (line 171) | def test_query_and_eval_acs_multi_rerank( method test_query_and_eval_acs_multi_no_rerank (line 245) | def test_query_and_eval_acs_multi_no_rerank( method test_run_no_multi_no_rerank (line 315) | def test_run_no_multi_no_rerank( FILE: rag_experiment_accelerator/sampling/clustering.py function load_parser (line 24) | def load_parser(): function spacy_tokenizer (line 41) | def spacy_tokenizer(sentence, parser): function determine_optimum_k_elbow (line 65) | def determine_optimum_k_elbow(embeddings_2d, X, min_cluster, max_cluster... function vectorize_tfidf (line 140) | def vectorize_tfidf(text, max_features): function dataframe_to_chunk_dict (line 156) | def dataframe_to_chunk_dict(df_concat): function chunk_dict_to_dataframe (line 174) | def chunk_dict_to_dataframe(all_chunks): function cluster_kmeans (line 200) | def cluster_kmeans(embeddings_2d, optimum_k, df, result_dir): function cluster (line 249) | def cluster(index_name, all_chunks, config: Config, parser): FILE: rag_experiment_accelerator/sampling/tests/test_clustering.py function mock_logger (line 11) | def mock_logger(): function mock_df (line 16) | def mock_df(): function mock_reducer (line 46) | def mock_reducer(): function mock_df_concat (line 51) | def mock_df_concat(): function mock_data_dir (line 70) | def mock_data_dir(tmpdir): function test_cluster (line 74) | def test_cluster(mock_logger, mock_df, mock_reducer, mock_df_concat, moc... FILE: rag_experiment_accelerator/search_type/acs_search_methods.py function create_client (line 18) | def create_client(service_endpoint, index_name, key): function format_results (line 38) | def format_results(results): function search_for_match_semantic (line 58) | def search_for_match_semantic( function search_for_match_Hybrid_multi (line 117) | def search_for_match_Hybrid_multi( function search_for_match_Hybrid_cross (line 173) | def search_for_match_Hybrid_cross( function search_for_match_text (line 222) | def search_for_match_text( function search_for_match_pure_vector (line 255) | def search_for_match_pure_vector( function search_for_match_pure_vector_multi (line 298) | def search_for_match_pure_vector_multi( function search_for_match_pure_vector_cross (line 352) | def search_for_match_pure_vector_cross( function search_for_manual_hybrid (line 396) | def search_for_manual_hybrid(**kwargs): FILE: rag_experiment_accelerator/search_type/tests/test_acs_search_methods.py function test_create_client (line 26) | def test_create_client(mock_azure_key_credential, mock_search_client): function test_format_results (line 45) | def test_format_results(): function test_search_for_match_semantic (line 59) | def test_search_for_match_semantic(mock_vector_query): function test_search_for_match_semantic_handles_exception (line 122) | def test_search_for_match_semantic_handles_exception(mock_logger, mock_v... function test_search_for_match_Hybrid_multi (line 152) | def test_search_for_match_Hybrid_multi(mock_vector_query): function test_search_for_match_Hybrid_multi_handles_exception (line 215) | def test_search_for_match_Hybrid_multi_handles_exception( function test_search_for_match_Hybrid_cross (line 262) | def test_search_for_match_Hybrid_cross(mock_vector_query): function test_search_for_match_Hybrid_cross_handles_exception (line 320) | def test_search_for_match_Hybrid_cross_handles_exception( function test_search_for_match_text (line 368) | def test_search_for_match_text(): function test_search_for_match_text_handles_exception (line 404) | def test_search_for_match_text_handles_exception(mock_logger): function test_search_for_match_pure_vector (line 430) | def test_search_for_match_pure_vector(mock_vector_query): function test_search_for_match_pure_vector_handles_exception (line 483) | def test_search_for_match_pure_vector_handles_exception( function test_search_for_match_pure_vector_multi (line 528) | def test_search_for_match_pure_vector_multi(mock_vector_query): function test_search_for_match_pure_vector_multi_handles_exception (line 584) | def test_search_for_match_pure_vector_multi_handles_exception( function test_search_for_match_pure_vector_cross (line 631) | def test_search_for_match_pure_vector_cross(mock_vector_query): function test_search_for_match_pure_vector_cross_handles_exception (line 687) | def test_search_for_match_pure_vector_cross_handles_exception( function test_search_for_manual_hybrid (line 737) | def test_search_for_manual_hybrid( FILE: rag_experiment_accelerator/utils/auth.py function get_default_az_cred (line 8) | def get_default_az_cred(): FILE: rag_experiment_accelerator/utils/logging.py function get_logger (line 9) | def get_logger(name: str) -> logging.Logger: FILE: rag_experiment_accelerator/utils/timetook.py class TimeTook (line 5) | class TimeTook(object): method __init__ (line 14) | def __init__(self, description, logger): method __enter__ (line 20) | def __enter__(self): method __exit__ (line 24) | def __exit__(self, type, value, traceback):