SYMBOL INDEX (945 symbols across 112 files) FILE: examples/all_llm_provider/all_llm_provider.py function get_llm_response (line 34) | async def get_llm_response( function _get_openai_response (line 104) | def _get_openai_response( function _get_async_openai_response (line 127) | async def _get_async_openai_response( function _get_openai_beta_response (line 150) | def _get_openai_beta_response( function _get_azure_openai_response (line 175) | def _get_azure_openai_response( function _get_async_azure_openai_response (line 198) | async def _get_async_azure_openai_response( function _get_litellm_response (line 221) | def _get_litellm_response( function _get_async_litellm_response (line 243) | async def _get_async_litellm_response( function _get_vertexai_response (line 265) | def _get_vertexai_response( function _get_async_vertexai_response (line 292) | async def _get_async_vertexai_response( function _get_google_generativeai_response (line 318) | def _get_google_generativeai_response( function _get_async_google_generativeai_response (line 342) | async def _get_async_google_generativeai_response( function _get_anthropic_response (line 366) | def _get_anthropic_response( function _get_async_anthropic_response (line 386) | async def _get_async_anthropic_response( function _get_chat_google_generativeai_response (line 406) | def _get_chat_google_generativeai_response( function _get_async_chat_google_generativeai_response (line 427) | async def _get_async_chat_google_generativeai_response( function _get_chat_vertexai_response (line 448) | def _get_chat_vertexai_response( function _get_async_chat_vertexai_response (line 472) | async def _get_async_chat_vertexai_response( function _get_groq_response (line 496) | def _get_groq_response( function _get_async_groq_response (line 516) | async def _get_async_groq_response( FILE: examples/all_llm_provider/config.py function initialize_tracing (line 11) | def initialize_tracing(): FILE: examples/all_llm_provider/run_all_llm_provider.py function test_provider (line 70) | async def test_provider(provider: str, model: str, async_mode: bool, syn... function run_tests (line 98) | async def run_tests(): FILE: examples/crewai/scifi_writer/scifi_writer.py function write_to_file (line 26) | def write_to_file(filename: str, content: str) -> str: FILE: examples/custom_agents/travel_agent/agents.py class ItineraryAgent (line 9) | class ItineraryAgent: method __init__ (line 10) | def __init__(self, persona="Itinerary Agent"): method plan_itinerary (line 14) | def plan_itinerary(self, user_preferences, duration=3): FILE: examples/custom_agents/travel_agent/config.py function initialize_tracing (line 11) | def initialize_tracing(): FILE: examples/custom_agents/travel_agent/main.py function travel_agent (line 22) | def travel_agent(): FILE: examples/custom_agents/travel_agent/tools.py function llm_call (line 16) | def llm_call(prompt, max_tokens=512, model="gpt-4o-mini", name="default"): function weather_tool (line 50) | def weather_tool(destination): function currency_converter_tool (line 71) | def currency_converter_tool(amount, from_currency, to_currency): function flight_price_estimator_tool (line 96) | def flight_price_estimator_tool(origin, destination): FILE: examples/haystack/news_fetching/news_fetching.py class MessageCollector (line 40) | class MessageCollector: method __init__ (line 41) | def __init__(self): method run (line 45) | def run(self, messages: Variadic[List[ChatMessage]]) -> Dict[str, Any]: method clear (line 49) | def clear(self): FILE: examples/langchain/medical_rag/diagnosis_agent.py class MedicalDataLoader (line 39) | class MedicalDataLoader: method load_pdfs (line 41) | def load_pdfs() -> List[str]: method load_symptom_map (line 50) | def load_symptom_map() -> pd.DataFrame: class DiagnosisSystem (line 53) | class DiagnosisSystem: method __init__ (line 54) | def __init__(self): method _create_vector_db (line 59) | def _create_vector_db(self): method _init_llm (line 72) | def _init_llm(self): method _match_symptoms (line 78) | def _match_symptoms(self, symptoms: List[str]) -> Dict: method generate_diagnosis (line 90) | def generate_diagnosis(self, symptoms: List[str], patient_history: str): function main (line 135) | def main(): FILE: examples/langgraph/personal_research_assistant/research_assistant.py function initialize_catalyst (line 20) | def initialize_catalyst(): function initialize_models (line 38) | def initialize_models(model_name: str = "gpt-4o-mini", temperature: floa... class ResearchState (line 49) | class ResearchState(TypedDict): function generate_sub_questions (line 59) | def generate_sub_questions(state: ResearchState) -> ResearchState: function research_sub_questions (line 69) | def research_sub_questions(state: ResearchState) -> ResearchState: function synthesize_findings (line 89) | def synthesize_findings(state: ResearchState) -> ResearchState: function critique_synthesis (line 101) | def critique_synthesis(state: ResearchState) -> ResearchState: function refine_synthesis (line 114) | def refine_synthesis(state: ResearchState) -> ResearchState: function should_refine (line 129) | def should_refine(state: ResearchState) -> str: function run_research_assistant (line 157) | def run_research_assistant(topic: str = "Impact of AI on healthcare by 2... FILE: examples/llamaindex_examples/legal_research_rag/legal_rag.py function parse_pdf_metadata (line 37) | def parse_pdf_metadata(pdf_path): function load_legal_data (line 52) | def load_legal_data(): function main (line 68) | def main(): FILE: examples/openai_agents_sdk/email_data_extraction_agent/data_extraction_email.py function initialize_catalyst (line 15) | def initialize_catalyst(): class Person (line 31) | class Person(BaseModel): class Meeting (line 37) | class Meeting(BaseModel): class Task (line 44) | class Task(BaseModel): class EmailData (line 51) | class EmailData(BaseModel): function initialize_agent (line 61) | def initialize_agent(agent_name: str, agent_instructions: str|Callable, ... function extract_email_data (line 88) | async def extract_email_data(email_text: str) -> EmailData: function display_email_data (line 136) | def display_email_data(email_data: EmailData): function process_email (line 164) | async def process_email(email_text: str): FILE: examples/openai_agents_sdk/youtube_summary_agent/youtube_summary_agent.py function initialize_catalyst (line 18) | def initialize_catalyst(): function search_video (line 38) | def search_video(query: str, channel_url: str = None) -> str: function get_transcript (line 78) | def get_transcript(video_identifier: str) -> str: function main (line 113) | def main(): FILE: examples/pii_masking_example/llamaindex_agentic_fastapi/app.py function masking_function (line 45) | def masking_function(value): class PrepEvent (line 96) | class PrepEvent(Event): class InputEvent (line 99) | class InputEvent(Event): class ToolCallEvent (line 102) | class ToolCallEvent(Event): class FunctionOutputEvent (line 105) | class FunctionOutputEvent(Event): class ProgressEvent (line 108) | class ProgressEvent(Event): class ReActAgent (line 112) | class ReActAgent(Workflow): method __init__ (line 113) | def __init__( method new_user_msg (line 132) | async def new_user_msg(self, ctx: Context, ev: StartEvent) -> PrepEvent: method prepare_chat_history (line 144) | async def prepare_chat_history( method handle_llm_input (line 156) | async def handle_llm_input( method handle_tool_calls (line 208) | async def handle_tool_calls( function generate_email_from_username (line 239) | def generate_email_from_username(username: str, domain: str = "example.c... function generate_similar_emails (line 292) | def generate_similar_emails(email: str) -> str: function run_agent (line 374) | async def run_agent(payload: dict, background_tasks: BackgroundTasks): function event_generator (line 380) | async def event_generator(handler): FILE: examples/pii_masking_example/llamaindex_agentic_fastapi/app_presidio.py function presidio_masking_function (line 48) | def presidio_masking_function(value): class PrepEvent (line 82) | class PrepEvent(Event): class InputEvent (line 85) | class InputEvent(Event): class ToolCallEvent (line 88) | class ToolCallEvent(Event): class FunctionOutputEvent (line 91) | class FunctionOutputEvent(Event): class ProgressEvent (line 94) | class ProgressEvent(Event): class ReActAgent (line 98) | class ReActAgent(Workflow): method __init__ (line 99) | def __init__( method new_user_msg (line 118) | async def new_user_msg(self, ctx: Context, ev: StartEvent) -> PrepEvent: method prepare_chat_history (line 130) | async def prepare_chat_history( method handle_llm_input (line 142) | async def handle_llm_input( method handle_tool_calls (line 194) | async def handle_tool_calls( function generate_email_from_username (line 225) | def generate_email_from_username(username: str, domain: str = "example.c... function generate_similar_emails (line 278) | def generate_similar_emails(email: str) -> str: function run_agent (line 360) | async def run_agent(payload: dict, background_tasks: BackgroundTasks): function event_generator (line 366) | async def event_generator(handler): FILE: examples/pii_masking_example/llamaindex_agentic_fastapi/request.py function make_request (line 6) | def make_request(prompt): FILE: examples/smolagents/most_upvoted_paper/most_upvoted_paper.py function get_hugging_face_top_daily_paper (line 43) | def get_hugging_face_top_daily_paper() -> str: function get_paper_id_by_title (line 76) | def get_paper_id_by_title(title: str) -> str: function download_paper_by_id (line 98) | def download_paper_by_id(paper_id: str) -> bool: function read_pdf_file (line 120) | def read_pdf_file(file_path: str = "paper.pdf") -> str: function main (line 148) | def main(): FILE: ragaai_catalyst/dataset.py class Dataset (line 19) | class Dataset: method __init__ (line 23) | def __init__(self, project_name): method list_datasets (line 55) | def list_datasets(self): method get_schema_mapping (line 104) | def get_schema_mapping(self): method get_dataset_columns (line 126) | def get_dataset_columns(self, dataset_name): method create_from_csv (line 172) | def create_from_csv(self, csv_path, dataset_name, schema_mapping): method add_rows (line 283) | def add_rows(self, csv_path, dataset_name): method add_columns (line 454) | def add_columns(self, text_fields, dataset_name, column_name, provider... method get_status (line 613) | def get_status(self): method _jsonl_to_csv (line 660) | def _jsonl_to_csv(self, jsonl_file, csv_file): method create_from_jsonl (line 676) | def create_from_jsonl(self, jsonl_path, dataset_name, schema_mapping): method add_rows_from_jsonl (line 691) | def add_rows_from_jsonl(self, jsonl_path, dataset_name): method create_from_df (line 706) | def create_from_df(self, df, dataset_name, schema_mapping): method add_rows_from_df (line 721) | def add_rows_from_df(self, df, dataset_name): FILE: ragaai_catalyst/evaluation.py class Evaluation (line 16) | class Evaluation: method __init__ (line 18) | def __init__(self, project_name, dataset_name): method list_metrics (line 80) | def list_metrics(self): method _get_dataset_id_based_on_dataset_type (line 105) | def _get_dataset_id_based_on_dataset_type(self, metric_to_evaluate): method _get_dataset_schema (line 132) | def _get_dataset_schema(self, metric_to_evaluate=None): method _get_variablename_from_user_schema_mapping (line 169) | def _get_variablename_from_user_schema_mapping(self, schemaName, metri... method _get_mapping (line 185) | def _get_mapping(self, metric_name, metrics_schema, schema_mapping): method _get_metricParams (line 205) | def _get_metricParams(self): method _get_metrics_schema_response (line 223) | def _get_metrics_schema_response(self): method _update_base_json (line 248) | def _update_base_json(self, metrics): method _get_executed_metrics_list (line 282) | def _get_executed_metrics_list(self): method add_metrics (line 311) | def add_metrics(self, metrics): method append_metrics (line 361) | def append_metrics(self, display_name): method get_status (line 407) | def get_status(self): method get_results (line 452) | def get_results(self): FILE: ragaai_catalyst/experiment.py class Experiment (line 14) | class Experiment: method __init__ (line 19) | def __init__( method _check_if_dataset_exists (line 81) | def _check_if_dataset_exists(self,project_name,dataset_name): method _check_if_project_exists (line 107) | def _check_if_project_exists(self,project_name,num_projects=100): method list_experiments (line 139) | def list_experiments(self): method add_metrics (line 180) | def add_metrics(self, metrics): method get_status (line 276) | def get_status(self, job_id=None): method get_results (line 340) | def get_results(self, job_id=None): method parse_response (line 431) | def parse_response(self, response): class FailedToRetrieveResults (line 485) | class FailedToRetrieveResults(Exception): FILE: ragaai_catalyst/guard_executor.py class GuardExecutor (line 12) | class GuardExecutor: method __init__ (line 14) | def __init__(self,guard_manager,input_deployment_id = None,output_depl... method execute_deployment (line 42) | def execute_deployment(self, deployment_id, payload): method llm_executor (line 65) | def llm_executor(self,prompt,model_params,llm_caller): method set_input_params (line 104) | def set_input_params(self, prompt: None, context: None, instruction: N... method __call__ (line 115) | def __call__(self,prompt,prompt_params,model_params,llm_caller='litell... method set_variables (line 151) | def set_variables(self,prompt,prompt_params): method execute_input_guardrails (line 166) | def execute_input_guardrails(self, prompt, prompt_params): method execute_output_guardrails (line 177) | def execute_output_guardrails(self, llm_response: str, prompt=None, pr... FILE: ragaai_catalyst/guardrails_manager.py class GuardrailsManager (line 10) | class GuardrailsManager: method __init__ (line 11) | def __init__(self, project_name): method _get_project_list (line 30) | def _get_project_list(self): method list_deployment_ids (line 44) | def list_deployment_ids(self): method get_deployment (line 61) | def get_deployment(self, deployment_id): method list_guardrails (line 81) | def list_guardrails(self): method list_fail_condition (line 98) | def list_fail_condition(self): method list_datasets (line 113) | def list_datasets(self): method create_deployment (line 162) | def create_deployment(self, deployment_name, deployment_dataset_name): method add_guardrails (line 206) | def add_guardrails(self, deployment_id, guardrails, guardrails_config=... method _get_guardrail_config_payload (line 248) | def _get_guardrail_config_payload(self, guardrails_config): method _get_guardrail_list_payload (line 267) | def _get_guardrail_list_payload(self, guardrails): method _get_one_guardrail_data (line 279) | def _get_one_guardrail_data(self, guardrail): method _run (line 321) | def _run(self, **kwargs): FILE: ragaai_catalyst/internal_api_completion.py function api_completion (line 10) | def api_completion(messages, model_config, kwargs): function get_username (line 53) | def get_username(): function convert_input (line 59) | def convert_input(messages, model_config, user_id): FILE: ragaai_catalyst/prompt_manager.py class PromptManager (line 8) | class PromptManager: method __init__ (line 12) | def __init__(self, project_name): method list_prompts (line 59) | def list_prompts(self): method get_prompt (line 76) | def get_prompt(self, prompt_name, version=None): method list_prompt_versions (line 114) | def list_prompt_versions(self, prompt_name): class Prompt (line 144) | class Prompt: method __init__ (line 145) | def __init__(self): method list_prompts (line 151) | def list_prompts(self, url, headers, timeout): method _get_response_by_version (line 177) | def _get_response_by_version(self, base_url, headers, timeout, prompt_... method _get_response (line 205) | def _get_response(self, base_url, headers, timeout, prompt_name): method _get_prompt_by_version (line 232) | def _get_prompt_by_version(self, base_url, headers, timeout, prompt_na... method get_prompt (line 253) | def get_prompt(self, base_url, headers, timeout, prompt_name, version=... method list_prompt_versions (line 283) | def list_prompt_versions(self, base_url, headers, timeout, prompt_name): class PromptObject (line 315) | class PromptObject: method __init__ (line 316) | def __init__(self, text, parameters, model): method _extract_variable_from_content (line 329) | def _extract_variable_from_content(self, content): method _add_variable_value_to_content (line 344) | def _add_variable_value_to_content(self, content, user_variables): method compile (line 363) | def compile(self, **kwargs): method get_variables (line 394) | def get_variables(self): method _convert_value (line 411) | def _convert_value(self, value, type_): method get_model_parameters (line 428) | def get_model_parameters(self): method get_prompt_content (line 444) | def get_prompt_content(self): FILE: ragaai_catalyst/proxy_call.py function api_completion (line 9) | def api_completion(model,messages, api_base='http://127.0.0.1:8000', function get_username (line 48) | def get_username(): function convert_output (line 53) | def convert_output(response,job_id): function convert_input (line 75) | def convert_input(prompt,model,model_config): FILE: ragaai_catalyst/ragaai_catalyst.py class RagaAICatalyst (line 12) | class RagaAICatalyst: method __init__ (line 16) | def __init__( method _normalize_base_url (line 79) | def _normalize_base_url(url): method _set_access_key_secret_key (line 86) | def _set_access_key_secret_key(self, access_key, secret_key): method _upload_keys (line 92) | def _upload_keys(self): method add_api_key (line 138) | def add_api_key(self, service: str, key: str): method get_api_key (line 142) | def get_api_key(self, service: str) -> Optional[str]: method get_token (line 147) | def get_token() -> Union[str, None]: method project_use_cases (line 213) | def project_use_cases(self): method create_project (line 235) | def create_project(self, project_name, usecase="Q/A", type="llm"): method get_project_id (line 319) | def get_project_id(self, project_name): method list_projects (line 322) | def list_projects(self, num_projects=99999): method list_metrics (line 399) | def list_metrics(self): method list_metrics (line 403) | def list_metrics(): FILE: ragaai_catalyst/redteaming/data_generator/scenario_generator.py class ScenarioInput (line 10) | class ScenarioInput: class ScenarioGenerator (line 15) | class ScenarioGenerator: method __init__ (line 16) | def __init__(self, api_key: str, api_base: str = '', api_version: str ... method _create_input_template (line 31) | def _create_input_template(self, input_data: ScenarioInput) -> str: method generate_scenarios (line 44) | def generate_scenarios(self, input_data: ScenarioInput) -> Dict[str, L... method _validate_scenarios (line 62) | def _validate_scenarios(self, scenarios: Dict[str, List[str]]) -> Dict... function main (line 81) | def main(): FILE: ragaai_catalyst/redteaming/data_generator/test_case_generator.py class TestCaseInput (line 10) | class TestCaseInput: class TestCaseGenerator (line 18) | class TestCaseGenerator: method __init__ (line 19) | def __init__(self, api_key: str, api_base: str = '', api_version: str ... method _create_input_template (line 26) | def _create_input_template(self, input_data: TestCaseInput) -> str: method generate_test_cases (line 51) | def generate_test_cases(self, input_data: TestCaseInput) -> Dict[str, ... method _validate_test_cases (line 72) | def _validate_test_cases( function main (line 100) | def main(): FILE: ragaai_catalyst/redteaming/evaluator.py class Conversation (line 9) | class Conversation: method format (line 13) | def format(self) -> str: class EvaluationInput (line 18) | class EvaluationInput: class Evaluator (line 23) | class Evaluator: method __init__ (line 24) | def __init__(self, api_key: str, api_base: str = '', api_version: str ... method _create_input_template (line 40) | def _create_input_template(self, input_data: EvaluationInput) -> str: method evaluate_conversation (line 55) | def evaluate_conversation(self, input_data: EvaluationInput) -> Dict[s... method _validate_evaluation (line 81) | def _validate_evaluation(self, evaluation: Dict[str, Any]) -> Dict[str... function main (line 100) | def main(): FILE: ragaai_catalyst/redteaming/llm_generator.py class LLMGenerator (line 7) | class LLMGenerator: method __init__ (line 9) | def __init__(self, api_key: str, api_base: str = '', api_version: str ... method _validate_api_key (line 30) | def _validate_api_key(self): method _validate_azure_keys (line 34) | def _validate_azure_keys(self): method _validate_provider (line 40) | def _validate_provider(self): method get_xai_response (line 47) | def get_xai_response(self, system_prompt: str, user_prompt: str, max_t... method generate_response (line 92) | def generate_response(self, system_prompt: str, user_prompt: str, max_... FILE: ragaai_catalyst/redteaming/llm_generator_old.py class LLMGenerator (line 6) | class LLMGenerator: method __init__ (line 10) | def __init__(self, api_key: str, model_name: str = "gpt-4-1106-preview... method generate_response (line 35) | def generate_response(self, system_prompt: str, user_prompt: str, max_... FILE: ragaai_catalyst/redteaming/red_teaming.py class RedTeaming (line 17) | class RedTeaming: method __init__ (line 18) | def __init__( method upload_result (line 52) | def upload_result(self, project_name, dataset_name): method _load_supported_detectors (line 60) | def _load_supported_detectors(self) -> None: method validate_detectors (line 74) | def validate_detectors(self, detectors: List[str]) -> None: method get_supported_detectors (line 90) | def get_supported_detectors(self) -> List[str]: method _get_save_path (line 94) | def _get_save_path(self, description: str) -> str: method _save_results_to_csv (line 104) | def _save_results_to_csv(self, result_df: pd.DataFrame, description: s... method _run_with_examples (line 111) | def _run_with_examples(self, description: str, detectors: List[str], r... method _run_without_examples (line 193) | def _run_without_examples(self, description: str, detectors: List[str]... method run (line 276) | def run( FILE: ragaai_catalyst/redteaming/upload_result.py class UploadResult (line 3) | class UploadResult: method __init__ (line 4) | def __init__(self, project_name): method list_datasets (line 9) | def list_datasets(self): method upload_result (line 15) | def upload_result(self, csv_path, dataset_name): FILE: ragaai_catalyst/redteaming/utils/issue_description.py function get_stereotypes_description (line 1) | def get_stereotypes_description() -> str: function get_harmful_content_description (line 11) | def get_harmful_content_description() -> str: function get_sycophancy_description (line 21) | def get_sycophancy_description() -> str: function get_chars_injection_description (line 30) | def get_chars_injection_description() -> str: function get_faithfulness_description (line 39) | def get_faithfulness_description() -> str: function get_implausible_output_description (line 48) | def get_implausible_output_description() -> str: function get_information_disclosure_description (line 57) | def get_information_disclosure_description() -> str: function get_output_formatting_description (line 67) | def get_output_formatting_description() -> str: function get_prompt_injection_description (line 76) | def get_prompt_injection_description() -> str: function get_issue_description (line 87) | def get_issue_description(detector_name: str) -> str: FILE: ragaai_catalyst/synthetic_data_generation.py class SyntheticDataGeneration (line 26) | class SyntheticDataGeneration: method __init__ (line 31) | def __init__(self): method generate_qna (line 36) | def generate_qna(self, text, question_type="simple", n=5, model_config... method _initialize_client (line 155) | def _initialize_client(self, provider, api_key, api_base=None, api_ver... method _generate_batch_response (line 190) | def _generate_batch_response(self, text, system_message, provider, mod... method _generate_internal_response (line 208) | def _generate_internal_response(self, text, system_message, model_conf... method validate_input (line 217) | def validate_input(self,text): method _get_system_message (line 228) | def _get_system_message(self, question_type, n): method _generate_llm_response (line 274) | def _generate_llm_response(self, text, system_message, model_config, a... method _generate_raw_llm_response (line 342) | def _generate_raw_llm_response(self, text, system_message: Optional[st... method _parse_response (line 395) | def _parse_response(self, response, provider): method process_document (line 428) | def process_document(self, input_data): method _read_pdf (line 464) | def _read_pdf(self, file_path): method _read_text (line 481) | def _read_text(self, file_path): method _read_markdown (line 494) | def _read_markdown(self, file_path): method _read_csv (line 509) | def _read_csv(self, file_path): method get_supported_qna (line 526) | def get_supported_qna(self): method get_supported_providers (line 535) | def get_supported_providers(self): method _get_init_ex_gen_prompt (line 544) | def _get_init_ex_gen_prompt(self): method _get_iter_ex_gen_prompt (line 576) | def _get_iter_ex_gen_prompt(self): method _generate_examples_iter (line 611) | def _generate_examples_iter( method _generate_examples (line 645) | def _generate_examples( method _get_valid_examples (line 671) | def _get_valid_examples(self, user_indices_str: str, examples: List[st... method generate_examples (line 687) | def generate_examples( method generate_examples_from_csv (line 785) | def generate_examples_from_csv( FILE: ragaai_catalyst/tracers/agentic_tracing/data/data_structure.py class OSInfo (line 7) | class OSInfo: class EnvironmentInfo (line 14) | class EnvironmentInfo: class SystemInfo (line 22) | class SystemInfo: class ResourceInfo (line 29) | class ResourceInfo: class CPUResource (line 35) | class CPUResource: class MemoryInfo (line 41) | class MemoryInfo: class MemoryResource (line 46) | class MemoryResource: class DiskInfo (line 52) | class DiskInfo: class DiskResource (line 57) | class DiskResource: class NetworkInfo (line 64) | class NetworkInfo: class NetworkResource (line 69) | class NetworkResource: class Resources (line 76) | class Resources: class Metadata (line 83) | class Metadata: class NetworkCall (line 90) | class NetworkCall: class Interaction (line 103) | class Interaction: method __init__ (line 104) | def __init__(self, id, type: str, content: str, timestamp: str): method to_dict (line 110) | def to_dict(self): class Error (line 119) | class Error: class LLMParameters (line 126) | class LLMParameters: class TokenUsage (line 132) | class TokenUsage: class Cost (line 138) | class Cost: class LLMInfo (line 144) | class LLMInfo: class AgentInfo (line 151) | class AgentInfo: class ToolInfo (line 157) | class ToolInfo: class LLMCall (line 163) | class LLMCall: class Component (line 175) | class Component: method __init__ (line 176) | def __init__( method to_dict (line 227) | def to_dict(self): class LLMComponent (line 248) | class LLMComponent(Component): method __init__ (line 249) | def __init__(self, id: str, hash_id: str, source_hash_id: str, type: s... class AgentComponent (line 252) | class AgentComponent(Component): method __init__ (line 253) | def __init__(self, id: str, hash_id: str, source_hash_id: str, type: s... class ToolComponent (line 256) | class ToolComponent(Component): method __init__ (line 257) | def __init__(self, id: str, hash_id: str, source_hash_id: str, type: s... class ComponentInfo (line 262) | class ComponentInfo: class Trace (line 273) | class Trace: method __init__ (line 274) | def __init__(self, id: str, trace_name: str, project_name: str, start_... method to_dict (line 285) | def to_dict(self): FILE: ragaai_catalyst/tracers/agentic_tracing/tests/ai_travel_agent.py function llm_call (line 30) | def llm_call(prompt, max_tokens=512, model="gpt-3.5-turbo"): function weather_tool (line 44) | def weather_tool(destination): function currency_converter_tool (line 64) | def currency_converter_tool(amount, from_currency, to_currency): function flight_price_estimator_tool (line 84) | def flight_price_estimator_tool(origin, destination): class ItineraryAgent (line 92) | class ItineraryAgent: method __init__ (line 93) | def __init__(self, persona="Itinerary Agent"): method plan_itinerary (line 96) | def plan_itinerary(self, user_preferences, duration=3): function travel_agent (line 113) | def travel_agent(): function main (line 189) | def main(): FILE: ragaai_catalyst/tracers/agentic_tracing/tests/unique_decorator_test.py function print_test_case (line 5) | def print_test_case(case_num, description, expected_behavior, hash1, has... function example_function (line 21) | def example_function(): function example_function (line 28) | def example_function(): function function_with_params (line 43) | def function_with_params(a: int, b: int = 10): function function_with_params (line 60) | def function_with_params(a: int, b: int = 5): # Different default value class ExampleClass (line 73) | class ExampleClass: method method1 (line 75) | def method1(self): method method1 (line 84) | def method1(self): class ExampleClass (line 82) | class ExampleClass: method method1 (line 75) | def method1(self): method method1 (line 84) | def method1(self): function complex_function (line 99) | def complex_function(a: dict, b: list = [1, 2]): function documented_function (line 121) | def documented_function(x: int): function documented_function (line 132) | def documented_function(x:int): function function_a (line 149) | def function_a(x): function function_b (line 153) | def function_b(x): FILE: ragaai_catalyst/tracers/agentic_tracing/tracers/agent_tracer.py class AgentTracerMixin (line 23) | class AgentTracerMixin: method __init__ (line 24) | def __init__(self, *args, **kwargs): method trace_agent (line 51) | def trace_agent( method _trace_sync_agent_execution (line 299) | def _trace_sync_agent_execution( method _trace_agent_execution (line 427) | async def _trace_agent_execution( method create_agent_component (line 551) | def create_agent_component(self, **kwargs): method start_component (line 639) | def start_component(self, component_id): method end_component (line 646) | def end_component(self, component_id): method _sanitize_input (line 653) | def _sanitize_input(self, args: tuple, kwargs: dict) -> dict: method _sanitize_output (line 671) | def _sanitize_output(self, output: Any) -> Any: method instrument_agent_calls (line 677) | def instrument_agent_calls(self): method instrument_user_interaction_calls (line 680) | def instrument_user_interaction_calls(self): method instrument_network_calls (line 683) | def instrument_network_calls(self): method instrument_file_io_calls (line 686) | def instrument_file_io_calls(self): FILE: ragaai_catalyst/tracers/agentic_tracing/tracers/base.py class TracerJSONEncoder (line 35) | class TracerJSONEncoder(json.JSONEncoder): method default (line 36) | def default(self, obj): class BaseTracer (line 60) | class BaseTracer: method __init__ (line 61) | def __init__(self, user_details): method _get_system_info (line 102) | def _get_system_info(self) -> SystemInfo: method _get_resources (line 105) | def _get_resources(self) -> Resources: method _track_memory_usage (line 108) | def _track_memory_usage(self): method _track_cpu_usage (line 118) | def _track_cpu_usage(self): method _track_disk_usage (line 128) | def _track_disk_usage(self): method _track_network_usage (line 138) | def _track_network_usage(self): method register_post_processor (line 148) | def register_post_processor(self, post_processor_func): method start (line 163) | def start(self): method on_upload_completed (line 208) | def on_upload_completed(self, callback_fn): method wait_for_uploads (line 241) | def wait_for_uploads(self, timeout=None): method stop (line 276) | def stop(self): method get_upload_status (line 377) | def get_upload_status(self): method _process_resource_metrics (line 389) | def _process_resource_metrics(self): method add_component (line 432) | def add_component(self, component: Component): method __enter__ (line 436) | def __enter__(self): method __exit__ (line 440) | def __exit__(self, exc_type, exc_value, traceback): method _process_children (line 443) | def _process_children(self, children_list, parent_id, current_id): method _change_span_ids_to_int (line 454) | def _change_span_ids_to_int(self, trace): method _change_agent_input_output (line 464) | def _change_agent_input_output(self, trace): method _extract_cost_tokens (line 496) | def _extract_cost_tokens(self, trace): method _clean_trace (line 543) | def _clean_trace(self, trace): method add_tags (line 654) | def add_tags(self, tags: List[str]): method _process_child_interactions (line 657) | def _process_child_interactions(self, child, interaction_id, interacti... method format_interactions (line 832) | def format_interactions(self) -> dict: method execute_metrics (line 1028) | def execute_metrics(self, method add_metrics (line 1094) | def add_metrics( method span (line 1177) | def span(self, span_name): method get_formatted_metric (line 1183) | def get_formatted_metric(span_attributes_dict, project_id, name): method upload_directly (line 1235) | def upload_directly(self): FILE: ragaai_catalyst/tracers/agentic_tracing/tracers/custom_tracer.py class CustomTracerMixin (line 14) | class CustomTracerMixin: method __init__ (line 15) | def __init__(self, *args, **kwargs): method trace_custom (line 30) | def trace_custom(self, name: str = None, custom_type: str = "generic",... method _trace_sync_custom_execution (line 72) | def _trace_sync_custom_execution(self, func, name, custom_type, versio... method _trace_custom_execution (line 164) | async def _trace_custom_execution(self, func, name, custom_type, versi... method create_custom_component (line 244) | def create_custom_component(self, **kwargs): method start_component (line 300) | def start_component(self, component_id): method end_component (line 304) | def end_component(self, component_id): method _sanitize_input (line 308) | def _sanitize_input(self, args: tuple, kwargs: dict) -> dict: method _sanitize_output (line 326) | def _sanitize_output(self, output: Any) -> Any: method instrument_custom_calls (line 333) | def instrument_custom_calls(self): method instrument_user_interaction_calls (line 337) | def instrument_user_interaction_calls(self): method instrument_network_calls (line 341) | def instrument_network_calls(self): method instrument_file_io_calls (line 345) | def instrument_file_io_calls(self): FILE: ragaai_catalyst/tracers/agentic_tracing/tracers/llm_tracer.py class LLMTracerMixin (line 46) | class LLMTracerMixin: method __init__ (line 47) | def __init__(self, *args, **kwargs): method check_package_available (line 73) | def check_package_available(self, package_name): method validate_openai_key (line 81) | def validate_openai_key(self): method instrument_llm_calls (line 85) | def instrument_llm_calls(self): method instrument_user_interaction_calls (line 159) | def instrument_user_interaction_calls(self): method instrument_network_calls (line 163) | def instrument_network_calls(self): method instrument_file_io_calls (line 167) | def instrument_file_io_calls(self): method patch_llama_index_methods (line 171) | def patch_llama_index_methods(self, module): method patch_openai_methods (line 248) | def patch_openai_methods(self, module): method patch_langchain_openai_methods (line 260) | def patch_langchain_openai_methods(self, module): method patch_langchain_anthropic_methods (line 278) | def patch_langchain_anthropic_methods(self, module): method patch_openai_beta_methods (line 296) | def patch_openai_beta_methods(self, openai_module): method patch_anthropic_methods (line 332) | def patch_anthropic_methods(self, module): method patch_google_genai_methods (line 337) | def patch_google_genai_methods(self, module): method patch_vertex_ai_methods (line 366) | def patch_vertex_ai_methods(self, module): method wrap_vertex_model_methods (line 379) | def wrap_vertex_model_methods(self, model_class): method patch_litellm_methods (line 385) | def patch_litellm_methods(self, module): method patch_langchain_google_methods (line 389) | def patch_langchain_google_methods(self, module): method wrap_openai_client_methods (line 415) | def wrap_openai_client_methods(self, client_class): method wrap_langchain_openai_method (line 451) | def wrap_langchain_openai_method(self, client_class, method_name): method wrap_langchain_anthropic_method (line 467) | def wrap_langchain_anthropic_method(self, client_class, method_name): method wrap_anthropic_client_methods (line 481) | def wrap_anthropic_client_methods(self, client_class): method wrap_genai_model_methods (line 493) | def wrap_genai_model_methods(self, model_class): method wrap_method (line 505) | def wrap_method(self, obj, method_name): method create_llm_component (line 540) | def create_llm_component( method convert_to_content (line 678) | def convert_to_content(self, input_data): method process_content (line 710) | def process_content(content): method start_component (line 730) | def start_component(self, component_id): method end_component (line 735) | def end_component(self, component_id): method trace_llm_call (line 739) | async def trace_llm_call(self, original_func, *args, **kwargs): method trace_llm_call_sync (line 841) | def trace_llm_call_sync(self, original_func, *args, **kwargs): method trace_llm (line 952) | def trace_llm( method unpatch_llm_calls (line 1175) | def unpatch_llm_calls(self): FILE: ragaai_catalyst/tracers/agentic_tracing/tracers/main_tracer.py class AgenticTracing (line 48) | class AgenticTracing( method __init__ (line 51) | def __init__(self, user_detail, auto_instrumentation=None, timeout=120): method start_component (line 123) | def start_component(self, component_id: str): method end_component (line 130) | def end_component(self, component_id: str): method register_post_processor (line 159) | def register_post_processor(self, post_processor_func): method start (line 165) | def start(self): method stop (line 215) | def stop(self): method _calculate_final_metrics (line 240) | def _calculate_final_metrics(self): method add_component (line 297) | def add_component(self, component_data: dict, is_error: bool = False): method __enter__ (line 390) | def __enter__(self): method __exit__ (line 395) | def __exit__(self, exc_type, exc_value, traceback): FILE: ragaai_catalyst/tracers/agentic_tracing/tracers/network_tracer.py class NetworkTracer (line 10) | class NetworkTracer: method __init__ (line 11) | def __init__(self): method record_call (line 21) | def record_call( method activate_patches (line 70) | def activate_patches(self): method deactivate_patches (line 81) | def deactivate_patches(self): function monkey_patch_urllib (line 95) | def monkey_patch_urllib(network_tracer): function restore_urllib (line 139) | def restore_urllib(original_urlopen): function monkey_patch_requests (line 143) | def monkey_patch_requests(network_tracer): function restore_requests (line 178) | def restore_requests(original_request): function monkey_patch_http_client (line 182) | def monkey_patch_http_client(network_tracer): function restore_http_client (line 226) | def restore_http_client(original_http_request, original_https_request): function monkey_patch_socket (line 231) | def monkey_patch_socket(network_tracer): function restore_socket (line 262) | def restore_socket(original_create_connection): function patch_aiohttp_trace_config (line 266) | async def patch_aiohttp_trace_config(network_tracer): FILE: ragaai_catalyst/tracers/agentic_tracing/tracers/tool_tracer.py class ToolTracerMixin (line 29) | class ToolTracerMixin: method __init__ (line 30) | def __init__(self, *args, **kwargs): method instrument_tool_calls (line 49) | def instrument_tool_calls(self): method patch_langchain_core_tools (line 76) | def patch_langchain_core_tools(self, module): method patch_langchain_tools (line 94) | def patch_langchain_tools(self, module): class ToolMethodProxy (line 111) | class ToolMethodProxy: method __init__ (line 112) | def __init__(self, tracer, tool_class, tool_name): method _create_proxy_method (line 125) | def _create_proxy_method(self, method_name): method _cleanup_proxy (line 151) | def _cleanup_proxy(self): method _wrap_specific_method (line 157) | def _wrap_specific_method(self, tool_class, method_name, tool_name): method instrument_user_interaction_calls (line 199) | def instrument_user_interaction_calls(self): method instrument_file_io_calls (line 202) | def instrument_file_io_calls(self): method instrument_network_calls (line 205) | def instrument_network_calls(self): method trace_tool (line 208) | def trace_tool( method _trace_sync_tool_execution (line 286) | def _trace_sync_tool_execution( method _trace_tool_execution (line 370) | async def _trace_tool_execution( method create_tool_component (line 445) | def create_tool_component(self, **kwargs): method start_component (line 529) | def start_component(self, component_id): method end_component (line 532) | def end_component(self, component_id): method _sanitize_input (line 535) | def _sanitize_input(self, args: tuple, kwargs: dict) -> dict: method _sanitize_output (line 553) | def _sanitize_output(self, output: Any) -> Any: FILE: ragaai_catalyst/tracers/agentic_tracing/tracers/user_interaction_tracer.py class TracedFile (line 8) | class TracedFile: method __init__ (line 9) | def __init__(self, file_obj, file_path: str, tracer): method write (line 14) | def write(self, content: str) -> int: method read (line 18) | def read(self, size: Optional[int] = None) -> str: method close (line 23) | def close(self) -> None: method __enter__ (line 26) | def __enter__(self): method __exit__ (line 29) | def __exit__(self, exc_type, exc_val, exc_tb): method __getattr__ (line 33) | def __getattr__(self, name: str) -> Any: class UserInteractionTracer (line 36) | class UserInteractionTracer: method __init__ (line 37) | def __init__(self, *args, **kwargs): method traced_input (line 47) | def traced_input(self, prompt=""): method traced_print (line 65) | def traced_print(self, *args, **kwargs): method traced_open (line 77) | def traced_open(self, file: str, mode: str = 'r', *args, **kwargs): method trace_file_operation (line 96) | def trace_file_operation(self, operation: str, file_path: str, **kwargs): method __enter__ (line 120) | def __enter__(self): method __exit__ (line 126) | def __exit__(self, exc_type, exc_val, exc_tb): FILE: ragaai_catalyst/tracers/agentic_tracing/upload/trace_uploader.py function get_executor (line 71) | def get_executor(): function process_upload (line 78) | def process_upload(task_id: str, filepath: str, hash_id: str, zip_path: ... function save_task_status (line 219) | def save_task_status(task_status: Dict[str, Any]): function submit_upload_task (line 226) | def submit_upload_task(filepath, hash_id, zip_path, project_name, projec... function get_task_status (line 288) | def get_task_status(task_id): function shutdown (line 330) | def shutdown(): function ensure_uploader_running (line 342) | def ensure_uploader_running(): function run_daemon (line 351) | def run_daemon(): FILE: ragaai_catalyst/tracers/agentic_tracing/upload/upload_agentic_traces.py class UploadAgenticTraces (line 13) | class UploadAgenticTraces: method __init__ (line 14) | def __init__(self, method _get_presigned_url (line 32) | def _get_presigned_url(self): method update_presigned_url (line 64) | def update_presigned_url(self, presigned_url, base_url): method _put_presigned_url (line 80) | def _put_presigned_url(self, presignedUrl, filename): method insert_traces (line 110) | def insert_traces(self, presignedUrl): method _get_dataset_spans (line 139) | def _get_dataset_spans(self): method _get_agent_dataset_spans (line 168) | def _get_agent_dataset_spans(self, span, datasetSpans): method upload_agentic_traces (line 197) | def upload_agentic_traces(self): FILE: ragaai_catalyst/tracers/agentic_tracing/upload/upload_code.py function upload_code (line 12) | def upload_code(hash_id, zip_path, project_name, dataset_name, base_url=... function _fetch_dataset_code_hashes (line 24) | def _fetch_dataset_code_hashes(project_name, dataset_name, base_url=None... function update_presigned_url (line 53) | def update_presigned_url(presigned_url, base_url): function _fetch_presigned_url (line 69) | def _fetch_presigned_url(project_name, dataset_name, base_url=None, time... function _put_zip_presigned_url (line 105) | def _put_zip_presigned_url(project_name, presignedUrl, filename, timeout... function _insert_code (line 129) | def _insert_code(dataset_name, hash_id, presigned_url, project_name, bas... FILE: ragaai_catalyst/tracers/agentic_tracing/upload/upload_local_metric.py function calculate_metric (line 15) | def calculate_metric(project_id, metric_name, model, provider, **kwargs): FILE: ragaai_catalyst/tracers/agentic_tracing/upload/upload_trace_metric.py function upload_trace_metric (line 18) | def upload_trace_metric(json_file_path, dataset_name, project_name, base... function _get_children_metrics_of_agent (line 67) | def _get_children_metrics_of_agent(children_traces): function get_trace_metrics_from_trace (line 79) | def get_trace_metrics_from_trace(traces): function _change_metrics_format_for_payload (line 101) | def _change_metrics_format_for_payload(metrics): FILE: ragaai_catalyst/tracers/agentic_tracing/utils/api_utils.py function fetch_analysis_trace (line 3) | def fetch_analysis_trace(base_url, trace_id): FILE: ragaai_catalyst/tracers/agentic_tracing/utils/create_dataset_schema.py function create_dataset_schema_with_trace (line 7) | def create_dataset_schema_with_trace(project_name, dataset_name, base_ur... FILE: ragaai_catalyst/tracers/agentic_tracing/utils/file_name_tracker.py class TrackName (line 4) | class TrackName: method __init__ (line 5) | def __init__(self): method trace_decorator (line 8) | def trace_decorator(self, func): method trace_wrapper (line 17) | def trace_wrapper(self, func): method _get_wrapped_file_name (line 25) | def _get_wrapped_file_name(self): method _get_decorated_file_name (line 36) | def _get_decorated_file_name(self): method _get_notebook_name (line 49) | def _get_notebook_name(self): method get_unique_files (line 60) | def get_unique_files(self): method reset (line 63) | def reset(self): method trace_main_file (line 67) | def trace_main_file(self): FILE: ragaai_catalyst/tracers/agentic_tracing/utils/generic.py function get_db_path (line 5) | def get_db_path(): FILE: ragaai_catalyst/tracers/agentic_tracing/utils/get_user_trace_metrics.py function get_user_trace_metrics (line 6) | def get_user_trace_metrics(project_name, dataset_name): FILE: ragaai_catalyst/tracers/agentic_tracing/utils/llm_utils.py function get_model_cost (line 17) | def get_model_cost(): function extract_model_name (line 30) | def extract_model_name(args, kwargs, result): function extract_parameters (line 85) | def extract_parameters(kwargs): function extract_token_usage (line 114) | def extract_token_usage(result): function num_tokens_from_messages (line 229) | def num_tokens_from_messages(model="gpt-4o-mini-2024-07-18", prompt_mess... function extract_input_data (line 321) | def extract_input_data(args, kwargs, result): function calculate_llm_cost (line 340) | def calculate_llm_cost(token_usage, model_name, model_costs, model_custo... function sanitize_api_keys (line 378) | def sanitize_api_keys(data): function sanitize_input (line 390) | def sanitize_input(args, kwargs): function extract_llm_output (line 406) | def extract_llm_output(result): function extract_llm_data (line 483) | def extract_llm_data(args, kwargs, result): FILE: ragaai_catalyst/tracers/agentic_tracing/utils/span_attributes.py class SpanAttributes (line 13) | class SpanAttributes: method __init__ (line 14) | def __init__(self, name, project_id: Optional[int] = None): method add_tags (line 26) | def add_tags(self, tags: str | List[str]): method add_metadata (line 32) | def add_metadata(self, metadata): method add_metrics (line 36) | def add_metrics( method add_feedback (line 61) | def add_feedback(self, feedback: Any): method execute_metrics (line 66) | def execute_metrics(self, **kwargs: Any): method add_gt (line 112) | def add_gt(self, gt: Any): method add_context (line 120) | def add_context(self, context: Any): FILE: ragaai_catalyst/tracers/agentic_tracing/utils/system_monitor.py class SystemMonitor (line 24) | class SystemMonitor: method __init__ (line 25) | def __init__(self, trace_id: str): method get_system_info (line 28) | def get_system_info(self) -> SystemInfo: method get_resources (line 79) | def get_resources(self) -> Resources: method track_memory_usage (line 174) | def track_memory_usage(self) -> Optional[float]: method track_cpu_usage (line 183) | def track_cpu_usage(self, interval: float) -> Optional[float]: method track_disk_usage (line 191) | def track_disk_usage(self) -> Dict[str, Optional[float]]: method track_network_usage (line 204) | def track_network_usage(self) -> Dict[str, Optional[float]]: FILE: ragaai_catalyst/tracers/agentic_tracing/utils/trace_utils.py function convert_usage_to_dict (line 10) | def convert_usage_to_dict(usage): function calculate_cost (line 39) | def calculate_cost( function log_event (line 62) | def log_event(event_data, log_file_path): function process_child_interactions (line 68) | def process_child_interactions(child, interaction_id, interactions): function format_interactions (line 244) | def format_interactions(trace) -> dict: FILE: ragaai_catalyst/tracers/agentic_tracing/utils/unique_decorator.py function normalize_source_code (line 9) | def normalize_source_code(source): function generate_unique_hash (line 38) | def generate_unique_hash(func, *args, **kwargs): function generate_unique_hash_simple (line 87) | def generate_unique_hash_simple(func): class UniqueIdentifier (line 126) | class UniqueIdentifier: method __new__ (line 130) | def __new__(cls, *args, **kwargs): method __init__ (line 135) | def __init__(self, salt=None): method __call__ (line 139) | def __call__(self, obj): FILE: ragaai_catalyst/tracers/agentic_tracing/utils/zip_list_of_unique_files.py class PackageUsageRemover (line 28) | class PackageUsageRemover(ast.NodeTransformer): method __init__ (line 29) | def __init__(self, package_name): method visit_Import (line 33) | def visit_Import(self, node): method visit_ImportFrom (line 46) | def visit_ImportFrom(self, node): method visit_Assign (line 52) | def visit_Assign(self, node): method visit_Call (line 62) | def visit_Call(self, node): method _uses_package (line 70) | def _uses_package(self, node): function remove_package_code (line 83) | def remove_package_code(source_code: str, package_name: str) -> str: class JupyterNotebookHandler (line 95) | class JupyterNotebookHandler: method is_running_in_colab (line 97) | def is_running_in_colab(): method is_running_in_notebook (line 106) | def is_running_in_notebook(): method get_notebook_path (line 117) | def get_notebook_path(): function comment_magic_commands (line 185) | def comment_magic_commands(script_content: str) -> str: class TraceDependencyTracker (line 199) | class TraceDependencyTracker: method __init__ (line 200) | def __init__(self, output_dir=None): method check_environment_and_save (line 217) | def check_environment_and_save(self): method track_jupyter_notebook (line 240) | def track_jupyter_notebook(self): method track_file_access (line 263) | def track_file_access(self, filepath): method find_config_files (line 267) | def find_config_files(self, content, base_path): method analyze_python_imports (line 292) | def analyze_python_imports(self, filepath, ignored_locations): method get_env_location (line 314) | def get_env_location(self): method get_catalyst_location (line 317) | def get_catalyst_location(self): method should_ignore_path (line 325) | def should_ignore_path(self, path, main_filepaths): method create_zip (line 332) | def create_zip(self, filepaths): function zip_list_of_unique_files (line 463) | def zip_list_of_unique_files(filepaths, output_dir=None): FILE: ragaai_catalyst/tracers/distributed.py function get_current_tracer (line 25) | def get_current_tracer() -> Optional[Tracer]: function get_current_catalyst (line 29) | def get_current_catalyst() -> Optional[RagaAICatalyst]: function init_tracing (line 33) | def init_tracing( function trace_agent (line 68) | def trace_agent(name: str = None, agent_type: str = "generic", version: ... function trace_llm (line 131) | def trace_llm(name: str = None, model: str = None, **kwargs): function trace_tool (line 177) | def trace_tool(name: str = None, tool_type: str = "generic", version: st... function trace_custom (line 236) | def trace_custom(name: str = None, custom_type: str = "generic", version... function current_span (line 279) | def current_span(): FILE: ragaai_catalyst/tracers/exporters/dynamic_trace_exporter.py class DynamicTraceExporter (line 10) | class DynamicTraceExporter(SpanExporter): method __init__ (line 17) | def __init__(self, tracer_type, files_to_zip, project_name, project_id... method export (line 61) | def export(self, spans): method shutdown (line 87) | def shutdown(self): method _update_exporter_properties (line 104) | def _update_exporter_properties(self): method files_to_zip (line 122) | def files_to_zip(self): method files_to_zip (line 126) | def files_to_zip(self, value): method project_name (line 130) | def project_name(self): method project_name (line 134) | def project_name(self, value): method project_id (line 138) | def project_id(self): method project_id (line 142) | def project_id(self, value): method dataset_name (line 146) | def dataset_name(self): method dataset_name (line 150) | def dataset_name(self, value): method user_details (line 154) | def user_details(self): method user_details (line 158) | def user_details(self, value): method base_url (line 162) | def base_url(self): method base_url (line 166) | def base_url(self, value): method custom_model_cost (line 170) | def custom_model_cost(self): method custom_model_cost (line 174) | def custom_model_cost(self, value): method max_upload_workers (line 178) | def max_upload_workers(self): method max_upload_workers (line 182) | def max_upload_workers(self, value): method user_context (line 186) | def user_context(self): method user_context (line 190) | def user_context(self, value): FILE: ragaai_catalyst/tracers/exporters/file_span_exporter.py class FileSpanExporter (line 19) | class FileSpanExporter(SpanExporter): method __init__ (line 20) | def __init__( method export (line 52) | def export(self, spans): method _run_async (line 110) | def _run_async(self, coroutine): method _upload_traces (line 117) | async def _upload_traces(self, json_file_path=None): method shutdown (line 158) | def shutdown(self): FILE: ragaai_catalyst/tracers/exporters/raga_exporter.py class RagaExporter (line 16) | class RagaExporter: method __init__ (line 45) | def __init__(self, project_name, dataset_name): method _check_schema (line 77) | def _check_schema(self): method _create_schema (line 139) | def _create_schema(self): method response_checker_async (line 188) | async def response_checker_async(self, response, context=""): method get_presigned_url (line 193) | async def get_presigned_url(self, session, num_files): method stream_trace (line 241) | async def stream_trace(self, session, trace_uri): method upload_file (line 291) | async def upload_file(self, session, url, file_path): method check_and_upload_files (line 339) | async def check_and_upload_files(self, session, file_paths): method tracer_stopsession (line 451) | async def tracer_stopsession(self, file_names): FILE: ragaai_catalyst/tracers/exporters/ragaai_trace_exporter.py class RAGATraceExporter (line 28) | class RAGATraceExporter(SpanExporter): method __init__ (line 29) | def __init__(self, tracer_type, files_to_zip, project_name, project_id... method export (line 47) | def export(self, spans): method shutdown (line 76) | def shutdown(self): method process_complete_trace (line 82) | def process_complete_trace(self, spans, trace_id): method prepare_trace (line 123) | def prepare_trace(self, spans, trace_id): method upload_trace (line 191) | def upload_trace(self, ragaai_trace_details, trace_id): method upload_rag_trace (line 209) | async def upload_rag_trace(self, ragaai_trace, additional_metadata, tr... method prepare_rag_trace (line 262) | def prepare_rag_trace(self, spans, trace_id): FILE: ragaai_catalyst/tracers/langchain_callback.py class LangchainTracer (line 23) | class LangchainTracer(BaseCallbackHandler): method __init__ (line 29) | def __init__( method __enter__ (line 65) | def __enter__(self): method __exit__ (line 70) | def __exit__(self, exc_type, exc_val, exc_tb): method reset_trace (line 79) | def reset_trace(self): method _periodic_save (line 101) | async def _periodic_save(self): method _async_save_trace (line 107) | async def _async_save_trace(self, force: bool = False): method _save_trace (line 155) | def _save_trace(self, force: bool = False): method _create_safe_wrapper (line 162) | def _create_safe_wrapper(self, original_func, component_name, method_n... method _monkey_patch (line 268) | def _monkey_patch(self): method _restore_original_methods (line 375) | def _restore_original_methods(self): method start (line 453) | def start(self): method stop (line 471) | def stop(self): method force_save (line 491) | def force_save(self): method on_llm_start (line 496) | def on_llm_start( method on_llm_end (line 520) | def on_llm_end(self, response: LLMResult, *, run_id: UUID, **kwargs: A... method on_chat_model_start (line 628) | def on_chat_model_start( method on_chain_start (line 662) | def on_chain_start( method on_chain_end (line 703) | def on_chain_end( method on_agent_action (line 718) | def on_agent_action(self, action: AgentAction, run_id: UUID, **kwargs:... method on_agent_finish (line 731) | def on_agent_finish(self, finish: AgentFinish, run_id: UUID, **kwargs:... method on_retriever_start (line 745) | def on_retriever_start( method on_retriever_end (line 762) | def on_retriever_end( method on_llm_new_token (line 783) | def on_llm_new_token(self, token: str, **kwargs: Any) -> None: method on_error (line 796) | def on_error(self, error: Exception, context: str = "", **kwargs: Any)... method on_chain_error (line 811) | def on_chain_error(self, error: Exception, **kwargs: Any) -> None: method on_llm_error (line 814) | def on_llm_error(self, error: Exception, **kwargs: Any) -> None: method on_tool_error (line 817) | def on_tool_error(self, error: Exception, **kwargs: Any) -> None: method on_retriever_error (line 820) | def on_retriever_error(self, error: Exception, **kwargs: Any) -> None: FILE: ragaai_catalyst/tracers/llamaindex_callback.py class CustomEncoder (line 14) | class CustomEncoder(json.JSONEncoder): method default (line 15) | def default(self, obj): class LlamaIndexTracer (line 23) | class LlamaIndexTracer: method __init__ (line 24) | def __init__(self, user_detail): method start (line 39) | def start(self): method _save_current_query_traces (line 111) | def _save_current_query_traces(self, query_traces): method _monkey_patch (line 135) | def _monkey_patch(self): method stop (line 179) | def stop(self): method _restore_original_inits (line 187) | def _restore_original_inits(self): method _generate_trace_id (line 211) | def _generate_trace_id(self): method _get_user_passed_detail (line 218) | def _get_user_passed_detail(self): method _add_traces_in_data (line 227) | def _add_traces_in_data(self, traces=None): method _create_dataset_schema_with_trace (line 238) | def _create_dataset_schema_with_trace(self): method _get_presigned_url (line 281) | def _get_presigned_url(self): method _put_presigned_url (line 301) | def _put_presigned_url(self, presignedUrl, filename): method _insert_traces (line 321) | def _insert_traces(self, presignedUrl): method _upload_traces (line 338) | def _upload_traces(self, save_json_to_pwd=None): method get_upload_status (line 356) | def get_upload_status(self): FILE: ragaai_catalyst/tracers/llamaindex_instrumentation.py class EventHandler (line 68) | class EventHandler(BaseEventHandler): method class_name (line 102) | def class_name(cls) -> str: method handle (line 106) | def handle(self, event: BaseEvent) -> None: method _get_events_by_span (line 265) | def _get_events_by_span(self) -> Dict[str, List[BaseEvent]]: class SpanHandler (line 314) | class SpanHandler(BaseSpanHandler[SimpleSpan]): method class_name (line 319) | def class_name(cls) -> str: method new_span (line 323) | def new_span( method prepare_to_exit_span (line 340) | def prepare_to_exit_span( method prepare_to_drop_span (line 353) | def prepare_to_drop_span( class LlamaIndexInstrumentationTracer (line 368) | class LlamaIndexInstrumentationTracer: method __init__ (line 369) | def __init__(self, user_detail): method start (line 383) | def start(self): method stop (line 397) | def stop(self): FILE: ragaai_catalyst/tracers/tracer.py class Tracer (line 39) | class Tracer(AgenticTracing): method __init__ (line 41) | def __init__( method set_model_cost (line 352) | def set_model_cost(self, cost_config): method register_masking_function (line 382) | def register_masking_function(self, masking_func): method register_post_processor (line 457) | def register_post_processor(self, post_processor_func): method set_external_id (line 479) | def set_external_id(self, external_id): method set_dataset_name (line 503) | def set_dataset_name(self, dataset_name): method _improve_metadata (line 547) | def _improve_metadata(self, metadata, tracer_type): method _add_unique_key (line 554) | def _add_unique_key(self, data, key_name): method _setup_provider (line 558) | def _setup_provider(self): method _setup_instrumentor (line 569) | def _setup_instrumentor(self, tracer_type): method trace (line 580) | def trace(self): method start (line 593) | def start(self): method stop (line 608) | def stop(self): method get_upload_status (line 648) | def get_upload_status(self): method _run_async (line 661) | def _run_async(self, coroutine): method _upload_traces (line 668) | async def _upload_traces(self): method _cleanup (line 712) | def _cleanup(self): method _pass_user_data (line 737) | def _pass_user_data(self): method update_dynamic_exporter (line 758) | def update_dynamic_exporter(self, **kwargs): method _setup_agentic_tracer (line 785) | def _setup_agentic_tracer(self, instrumentors): method update_file_list (line 833) | def update_file_list(self): method add_context (line 851) | def add_context(self, context): method add_metadata (line 871) | def add_metadata(self, metadata): FILE: ragaai_catalyst/tracers/upload_traces.py class UploadTraces (line 7) | class UploadTraces: method __init__ (line 8) | def __init__(self, method _create_dataset_schema_with_trace (line 23) | def _create_dataset_schema_with_trace(self, additional_metadata_keys=N... method _get_presigned_url (line 89) | def _get_presigned_url(self): method _put_presigned_url (line 109) | def _put_presigned_url(self, presignedUrl, filename): method _insert_traces (line 129) | def _insert_traces(self, presignedUrl): method upload_traces (line 145) | def upload_traces(self, additional_metadata_keys=None, additional_pipe... FILE: ragaai_catalyst/tracers/utils/convert_langchain_callbacks_output.py function convert_langchain_callbacks_output (line 3) | def convert_langchain_callbacks_output(result, project_name="", metadata... FILE: ragaai_catalyst/tracers/utils/convert_llama_instru_callback.py function convert_llamaindex_instrumentation_to_callback (line 1) | def convert_llamaindex_instrumentation_to_callback(data): FILE: ragaai_catalyst/tracers/utils/extraction_logic_llama_index.py function extract_llama_index_data (line 5) | def extract_llama_index_data(data): FILE: ragaai_catalyst/tracers/utils/langchain_tracer_extraction_logic.py function langchain_tracer_extraction (line 4) | def langchain_tracer_extraction(data, user_context=""): FILE: ragaai_catalyst/tracers/utils/rag_trace_json_converter.py function rag_trace_json_converter (line 14) | def rag_trace_json_converter(input_trace, custom_model_cost, trace_id, u... function get_additional_metadata (line 222) | def get_additional_metadata(spans, custom_model_cost, model_cost_dict, p... function num_tokens_from_messages (line 324) | def num_tokens_from_messages(model, message): FILE: ragaai_catalyst/tracers/utils/trace_json_converter.py function convert_time_format (line 9) | def convert_time_format(original_time_str, target_timezone_str="Asia/Kol... function get_uuid (line 34) | def get_uuid(name): function get_ordered_family (line 38) | def get_ordered_family(parent_children_mapping: Dict[str, Any]) -> List[... function get_spans (line 50) | def get_spans(input_trace, custom_model_cost): function convert_json_format (line 227) | def convert_json_format(input_trace, custom_model_cost): FILE: ragaai_catalyst/tracers/utils/utils.py function normalize_string (line 6) | def normalize_string(input_str): function get_unique_key (line 11) | def get_unique_key(input_data): FILE: ragaai_catalyst/utils.py function response_checker (line 28) | def response_checker(response, context=""): FILE: tests/examples/all_llm_provider/all_llm_provider.py function get_llm_response (line 38) | async def get_llm_response( function _get_openai_response (line 108) | def _get_openai_response( function _get_async_openai_response (line 131) | async def _get_async_openai_response( function _get_openai_beta_response (line 154) | def _get_openai_beta_response( function _get_azure_openai_response (line 179) | def _get_azure_openai_response( function _get_async_azure_openai_response (line 202) | async def _get_async_azure_openai_response( function _get_litellm_response (line 225) | def _get_litellm_response( function _get_async_litellm_response (line 247) | async def _get_async_litellm_response( function _get_vertexai_response (line 269) | def _get_vertexai_response( function _get_async_vertexai_response (line 296) | async def _get_async_vertexai_response( function _get_google_generativeai_response (line 322) | def _get_google_generativeai_response( function _get_async_google_generativeai_response (line 346) | async def _get_async_google_generativeai_response( function _get_anthropic_response (line 370) | def _get_anthropic_response( function _get_async_anthropic_response (line 390) | async def _get_async_anthropic_response( function _get_chat_google_generativeai_response (line 410) | def _get_chat_google_generativeai_response( function _get_async_chat_google_generativeai_response (line 431) | async def _get_async_chat_google_generativeai_response( function _get_chat_vertexai_response (line 452) | def _get_chat_vertexai_response( function _get_async_chat_vertexai_response (line 476) | async def _get_async_chat_vertexai_response( function _get_groq_response (line 500) | def _get_groq_response( function _get_async_groq_response (line 520) | async def _get_async_groq_response( FILE: tests/examples/all_llm_provider/config.py function initialize_tracing (line 11) | def initialize_tracing(): FILE: tests/examples/all_llm_provider/test_all_llm_provider.py function test_all_llm_provider (line 46) | def test_all_llm_provider(provider: str, model: str, async_mode: bool): FILE: tests/examples/crewai/scifi_writer/scifi_writer.py function write_to_file (line 31) | def write_to_file(filename: str, content: str) -> str: function main (line 90) | def main(info): FILE: tests/examples/crewai/scifi_writer/test_scifi_writer.py function test_scifi_writer (line 19) | def test_scifi_writer(info: str): FILE: tests/examples/custom_agents/travel_agent/agents.py class ItineraryAgent (line 12) | class ItineraryAgent: method __init__ (line 13) | def __init__(self, persona="Itinerary Agent"): method plan_itinerary (line 17) | def plan_itinerary(self, user_preferences, duration=3): FILE: tests/examples/custom_agents/travel_agent/config.py function initialize_tracing (line 10) | def initialize_tracing(): FILE: tests/examples/custom_agents/travel_agent/main.py function travel_agent (line 23) | def travel_agent(model_name: str = "gpt-4o-mini", provider: str = "opena... FILE: tests/examples/custom_agents/travel_agent/test_travel_agent.py function test_travel_agent (line 19) | def test_travel_agent(model: str, provider: str): FILE: tests/examples/custom_agents/travel_agent/tools.py function llm_call (line 16) | def llm_call(prompt, max_tokens=512, name="default", model_name="gpt-4o-... function weather_tool (line 50) | def weather_tool(destination): function currency_converter_tool (line 71) | def currency_converter_tool(amount, from_currency, to_currency): function flight_price_estimator_tool (line 96) | def flight_price_estimator_tool(origin, destination): FILE: tests/examples/haystack/news_fetching/news_fetching.py class MessageCollector (line 41) | class MessageCollector: method __init__ (line 42) | def __init__(self): method run (line 46) | def run(self, messages: Variadic[List[ChatMessage]]) -> Dict[str, Any]: method clear (line 50) | def clear(self): function main (line 95) | def main(info: str): FILE: tests/examples/haystack/news_fetching/test_news_fetching.py function test_news_fetching (line 19) | def test_news_fetching(info: str): FILE: tests/examples/langchain/medical_rag/diagnosis_agent.py class MedicalDataLoader (line 41) | class MedicalDataLoader: method load_pdfs (line 43) | def load_pdfs() -> List[str]: method load_symptom_map (line 52) | def load_symptom_map() -> pd.DataFrame: class DiagnosisSystem (line 55) | class DiagnosisSystem: method __init__ (line 56) | def __init__(self, model_type: str): method _create_vector_db (line 61) | def _create_vector_db(self): method _init_llm (line 74) | def _init_llm(self, model_type: str): method _match_symptoms (line 80) | def _match_symptoms(self, symptoms: List[str]) -> Dict: method generate_diagnosis (line 92) | def generate_diagnosis(self, symptoms: List[str], patient_history: str): function main (line 137) | def main(model_type: str): FILE: tests/examples/langchain/medical_rag/test_diagnosis_agent.py function test_diagnosis_agent (line 19) | def test_diagnosis_agent(model_type: str): FILE: tests/examples/langgraph/personal_research_assistant/research_assistant.py function initialize_catalyst (line 22) | def initialize_catalyst(): function initialize_models (line 40) | def initialize_models(model_name: str = "gpt-4o-mini", provider: str = "... class ResearchState (line 76) | class ResearchState(TypedDict): function generate_sub_questions (line 86) | def generate_sub_questions(state: ResearchState) -> ResearchState: function research_sub_questions (line 96) | def research_sub_questions(state: ResearchState) -> ResearchState: function synthesize_findings (line 136) | def synthesize_findings(state: ResearchState) -> ResearchState: function critique_synthesis (line 148) | def critique_synthesis(state: ResearchState) -> ResearchState: function refine_synthesis (line 161) | def refine_synthesis(state: ResearchState) -> ResearchState: function should_refine (line 176) | def should_refine(state: ResearchState) -> str: function run_research_assistant (line 204) | def run_research_assistant(topic: str = "Impact of AI on healthcare by 2... FILE: tests/examples/langgraph/personal_research_assistant/test_research_assistant.py function test_research_assistant (line 23) | def test_research_assistant(model: str, provider: str, async_llm: bool, ... FILE: tests/examples/llamaindex_examples/legal_research_rag/legal_rag.py function parse_pdf_metadata (line 41) | def parse_pdf_metadata(pdf_path): function load_legal_data (line 56) | def load_legal_data(): function main (line 72) | def main(info: str): FILE: tests/examples/llamaindex_examples/legal_research_rag/test_legal_rag.py function test_legal_rag (line 19) | def test_legal_rag(info: str): FILE: tests/examples/smolagents/most_upvoted_paper/most_upvoted_paper.py function get_hugging_face_top_daily_paper (line 44) | def get_hugging_face_top_daily_paper() -> str: function get_paper_id_by_title (line 77) | def get_paper_id_by_title(title: str) -> str: function download_paper_by_id (line 99) | def download_paper_by_id(paper_id: str) -> bool: function read_pdf_file (line 121) | def read_pdf_file(file_path: str = "paper.pdf") -> str: function main (line 149) | def main(model_name: str = "gpt-4o-mini", provider: str = "openai"): FILE: tests/examples/smolagents/most_upvoted_paper/test_most_upvoted_paper.py function test_most_upvoted_paper (line 19) | def test_most_upvoted_paper(model: str, provider: str): FILE: tests/examples/test_utils/get_components.py function process_component (line 2) | def process_component(component, all_components): function get_component_structure_and_sequence (line 18) | def get_component_structure_and_sequence(json_data): FILE: tests/examples/test_utils/get_trace_data.py function run_command (line 14) | def run_command(command, cwd: Optional[str] = None): function extract_information (line 34) | def extract_information(logs: str) -> str: function load_trace_data (line 61) | def load_trace_data(locations: List[str]) -> Dict: FILE: tests/run_pytest_and_print_and_save_results.py function parse_pytest_output (line 9) | def parse_pytest_output(output: str) -> List[Dict[str, any]]: function generate_test_report (line 34) | def generate_test_report(test_results, duration): function save_report (line 90) | def save_report(report, filename=None): function run_pytest_and_generate_report (line 99) | def run_pytest_and_generate_report(): FILE: tests/test_catalyst/test_base_tracer_add_metrics.py function tracer (line 6) | def tracer(): function test_add_metrics_individual_params (line 19) | def test_add_metrics_individual_params(tracer): function test_add_metrics_dict_input (line 43) | def test_add_metrics_dict_input(tracer): function test_add_metrics_list_input (line 59) | def test_add_metrics_list_input(tracer): function test_add_metrics_duplicate_names (line 72) | def test_add_metrics_duplicate_names(tracer): function test_add_metrics_missing_required_fields (line 85) | def test_add_metrics_missing_required_fields(tracer): function test_add_metrics_invalid_input_type (line 97) | def test_add_metrics_invalid_input_type(tracer): function test_add_metrics_before_trace_init (line 109) | def test_add_metrics_before_trace_init(tracer): function test_add_metrics_with_empty_optional_fields (line 119) | def test_add_metrics_with_empty_optional_fields(tracer): FILE: tests/test_catalyst/test_base_tracer_metrics.py function sample_span_attributes (line 6) | def sample_span_attributes(): function sample_metric_response (line 25) | def sample_metric_response(): function test_get_formatted_metric_successful (line 51) | def test_get_formatted_metric_successful(sample_span_attributes, sample_... function test_get_formatted_metric_missing_metric (line 83) | def test_get_formatted_metric_missing_metric(): function test_get_formatted_metric_empty_local_metrics (line 92) | def test_get_formatted_metric_empty_local_metrics(sample_span_attributes): function test_get_formatted_metric_calculation_error (line 102) | def test_get_formatted_metric_calculation_error(sample_span_attributes): function test_get_formatted_metric_unexpected_error (line 115) | def test_get_formatted_metric_unexpected_error(sample_span_attributes): FILE: tests/test_catalyst/test_dataset.py function base_url (line 16) | def base_url(): function access_keys (line 20) | def access_keys(): function dataset (line 26) | def dataset(base_url, access_keys): function test_list_dataset (line 35) | def test_list_dataset(dataset) -> List[str]: function test_incorrect_dataset (line 44) | def test_incorrect_dataset(dataset): function test_get_schema_mapping (line 48) | def test_get_schema_mapping(dataset): function test_upload_csv (line 53) | def test_upload_csv(dataset): function test_upload_csv_repeat_dataset (line 74) | def test_upload_csv_repeat_dataset(dataset): function test_upload_csv_no_schema_mapping (line 92) | def test_upload_csv_no_schema_mapping(dataset): function test_upload_csv_empty_csv_path (line 108) | def test_upload_csv_empty_csv_path(dataset): function test_upload_csv_empty_schema_mapping (line 126) | def test_upload_csv_empty_schema_mapping(dataset): function test_upload_csv_invalid_schema (line 145) | def test_upload_csv_invalid_schema(dataset): FILE: tests/test_catalyst/test_evaluation.py function base_url (line 32) | def base_url(): function access_keys (line 36) | def access_keys(): function evaluation (line 43) | def evaluation(base_url, access_keys): function chat_evaluation (line 56) | def chat_evaluation(base_url, access_keys): function test_evaluation_initialization (line 69) | def test_evaluation_initialization(evaluation): function test_project_does_not_exist (line 74) | def test_project_does_not_exist(): function test_metric_validation_checks (line 81) | def test_metric_validation_checks(evaluation, provider_config): FILE: tests/test_catalyst/test_evaluation_metrics.py function evaluation (line 8) | def evaluation(): function valid_metrics (line 36) | def valid_metrics(): function mock_response (line 45) | def mock_response(): function test_add_metrics_success (line 55) | def test_add_metrics_success(evaluation, valid_metrics, mock_response): function test_add_metrics_missing_required_keys (line 69) | def test_add_metrics_missing_required_keys(evaluation): function test_add_metrics_invalid_metric_name (line 82) | def test_add_metrics_invalid_metric_name(evaluation, valid_metrics): function test_add_metrics_duplicate_column_name (line 92) | def test_add_metrics_duplicate_column_name(evaluation, valid_metrics): function test_add_metrics_http_error (line 103) | def test_add_metrics_http_error(evaluation, valid_metrics): function test_add_metrics_connection_error (line 114) | def test_add_metrics_connection_error(evaluation, valid_metrics): function test_add_metrics_timeout_error (line 125) | def test_add_metrics_timeout_error(evaluation, valid_metrics): function test_add_metrics_bad_request (line 136) | def test_add_metrics_bad_request(evaluation, valid_metrics): FILE: tests/test_catalyst/test_prompt_manager.py function base_url (line 11) | def base_url(): function access_keys (line 15) | def access_keys(): function prompt_manager (line 22) | def prompt_manager(base_url, access_keys): function test_prompt_initialistaion (line 31) | def test_prompt_initialistaion(prompt_manager): function test_list_prompt_version (line 35) | def test_list_prompt_version(prompt_manager): function test_missing_prompt_name (line 39) | def test_missing_prompt_name(prompt_manager): function test_get_variable (line 43) | def test_get_variable(prompt_manager): function test_get_model_parameters (line 48) | def test_get_model_parameters(prompt_manager): function test_compile_prompt (line 53) | def test_compile_prompt(prompt_manager): function test_compile_prompt_no_modelname (line 67) | def test_compile_prompt_no_modelname(prompt_manager): FILE: tests/test_catalyst/test_synthetic_data_generation.py function synthetic_gen (line 19) | def synthetic_gen(): function sample_text (line 23) | def sample_text(synthetic_gen): function test_special_chars_csv_processing (line 27) | def test_special_chars_csv_processing(synthetic_gen): function test_invalid_llm_proxy (line 33) | def test_invalid_llm_proxy(synthetic_gen, sample_text): function test_missing_model_config (line 45) | def test_missing_model_config(synthetic_gen, sample_text): FILE: tests/test_catalyst/test_the_configuration.py function mock_env_vars (line 14) | def mock_env_vars(): function raga_catalyst (line 26) | def raga_catalyst(mock_env_vars): function test_project_use_cases (line 36) | def test_project_use_cases(): function test_list_project (line 46) | def test_list_project(): function test_existing_projectname (line 56) | def test_existing_projectname(): function test_initialization_missing_credentials (line 68) | def test_initialization_missing_credentials(): function test_get_token_success (line 74) | def test_get_token_success(mock_post, mock_env_vars): function test_get_token_failure (line 89) | def test_get_token_failure(mock_post, mock_env_vars): function test_project_use_cases_success (line 102) | def test_project_use_cases_success(mock_get, raga_catalyst): function test_project_use_cases_failure (line 115) | def test_project_use_cases_failure(mock_get, raga_catalyst): function test_create_project_success (line 124) | def test_create_project_success(mock_list_projects, mock_post, raga_cata... function test_create_project_duplicate (line 140) | def test_create_project_duplicate(mock_list_projects, mock_post, raga_ca... function test_list_projects_success (line 148) | def test_list_projects_success(mock_get, raga_catalyst): function test_list_metrics_success (line 166) | def test_list_metrics_success(mock_get): function test_initialization_invalid_credentials (line 184) | def test_initialization_invalid_credentials(): function test_initialization_invalid_base_url (line 193) | def test_initialization_invalid_base_url():