MessageSchema — langchain Architecture
Handles chat components like Human, AI, and System messages.
Entity Profile
Dependency Diagram
graph TD subdomain_CoreAbstractions_MessageSchema["MessageSchema"] d2cf815c_5ff6_56e0_564d_f07623592652["test_chat_models.py"] subdomain_CoreAbstractions_MessageSchema --> d2cf815c_5ff6_56e0_564d_f07623592652 11f97e21_b5f1_b2f2_ddfb_9bbeac4ce7c3["file.py"] subdomain_CoreAbstractions_MessageSchema --> 11f97e21_b5f1_b2f2_ddfb_9bbeac4ce7c3 7a0ce696_785b_95bf_70a2_ce036e4f725c["chat_models.py"] subdomain_CoreAbstractions_MessageSchema --> 7a0ce696_785b_95bf_70a2_ce036e4f725c 74d74c24_89bd_b542_fd83_4bf8728305c5["modifier.py"] subdomain_CoreAbstractions_MessageSchema --> 74d74c24_89bd_b542_fd83_4bf8728305c5 4a656d41_9620_b51d_31d1_ce9a142f2780["azure_openai.py"] subdomain_CoreAbstractions_MessageSchema --> 4a656d41_9620_b51d_31d1_ce9a142f2780 806fa4b3_cba5_95c3_9a93_0874d5b1e0f2["jinachat.py"] subdomain_CoreAbstractions_MessageSchema --> 806fa4b3_cba5_95c3_9a93_0874d5b1e0f2 f4db06b3_ed5e_25a2_b81c_b03df989dd7f["google_genai.py"] subdomain_CoreAbstractions_MessageSchema --> f4db06b3_ed5e_25a2_b81c_b03df989dd7f b5e830e7_ec0e_2621_0651_5ceaab19651f["_client_utils.py"] subdomain_CoreAbstractions_MessageSchema --> b5e830e7_ec0e_2621_0651_5ceaab19651f 8d5a57f5_d3ae_39c7_5d28_b197f71cc4cf["test_base.py"] subdomain_CoreAbstractions_MessageSchema --> 8d5a57f5_d3ae_39c7_5d28_b197f71cc4cf 2607f111_28e4_c935_ca3a_fb948d0eb1c5["upstash_redis.py"] subdomain_CoreAbstractions_MessageSchema --> 2607f111_28e4_c935_ca3a_fb948d0eb1c5 d0fedb82_04c2_f0bb_a718_e1ddb367833e["rocksetdb.py"] subdomain_CoreAbstractions_MessageSchema --> d0fedb82_04c2_f0bb_a718_e1ddb367833e a8904744_25e1_b029_1435_71e806d86a1f["whatsapp_chat.py"] subdomain_CoreAbstractions_MessageSchema --> a8904744_25e1_b029_1435_71e806d86a1f 51f634bf_713d_3f19_d694_5c6ef3e59c57["test_cache.py"] subdomain_CoreAbstractions_MessageSchema --> 51f634bf_713d_3f19_d694_5c6ef3e59c57 ef319ed4_dc8d_9c1f_9698_bc31d21b05f4["test_listwise_rerank.py"] subdomain_CoreAbstractions_MessageSchema --> ef319ed4_dc8d_9c1f_9698_bc31d21b05f4 style subdomain_CoreAbstractions_MessageSchema fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Domain
Functions
- ChatOpenAI()
- InputType()
- InputType()
- OutputType()
- _AnyIdHumanMessage()
- _AnyIdToolMessage()
- _HAS_FILETYPE()
- _HAS_LANGCHAIN_TEXT_SPLITTERS()
- _HAS_RESOURCE()
- __add__()
- __add__()
- __add__()
- __add__()
- __add__()
- __add__()
- __add__()
- __aenter__()
- __aexit__()
- __aiter__()
- __anext__()
- __call__()
- __call__()
- __call__()
- __call__()
- __call__()
- __del__()
- __del__()
- __dir__()
- __enter__()
- __exit__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __getattr__()
- __hash__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __init__()
- __iter__()
- __new__()
- __next__()
- __post_init__()
- __post_init__()
- __post_init__()
- __str__()
- __version__()
- __version__()
- _acall()
- _achat_stream_with_aggregation()
- _acreate()
- _acreate_chat_stream()
- _acreate_generate_stream()
- _aembed_texts()
- _aevaluate_agent_trajectory()
- _aevaluate_string_pairs()
- _aevaluate_strings()
- _agenerate()
- _agenerate()
- _agenerate()
- _agenerate()
- _agenerate()
- _agenerate()
- _agenerate()
- _agenerate()
- _agenerate()
- _agenerate()
- _agenerate()
- _agenerate()
- _agenerate()
- _agenerate()
- _agenerate()
- _agenerate_with_cache()
- _aiter_sse()
- _aiterate_over_stream()
- _amoderate()
- _amoderate_output()
- _amoderate_tool_messages()
- _amoderate_user_message()
- _any_id_ai_message()
- _any_id_ai_message_chunk()
- _any_id_human_message()
- _apply_overrides()
- _apply_redact_strategy()
- _approximate_token_counter()
- _araise_on_error()
- _asimilarity_search_with_relevance_scores()
- _astream()
- _astream()
- _astream()
- _astream()
- _astream()
- _astream()
- _astream()
- _astream()
- _astream()
- _astream()
- _astream()
- _astream()
- _astream()
- _astream()
- _astream()
- _astream()
- _astream_responses()
- _async_client()
- _attempt_infer_model_provider()
- _attempt_infer_model_provider()
- _backwards_compat_tool_calls()
- _base62_encode()
- _base_vcr_config()
- _build_async_httpx_client()
- _build_cleared_tool_input_message()
- _build_deprecation_message()
- _build_final_ai_message_content()
- _build_limit_exceeded_message()
- _build_new_messages()
- _build_sync_httpx_client()
- _build_tool_message_content()
- _build_vectors()
- _bytes_to_b64_str()
- _bytes_to_b64_str()
- _bytes_to_b64_str()
- _cached_async_httpx_client()
- _cached_sync_httpx_client()
- _call()
- _call()
- _call()
- _call()
- _call()
- _call()
- _call()
- _call()
- _call()
- _call_async()
- _can_use_prlimit()
- _chain_model_call_handlers()
- _chain_tool_call_wrappers()
- _chat_params()
- _chat_stream_with_aggregation()
- _check_evaluation_args()
- _check_parsed_result()
- _check_pkg()
- _check_response()
- _checkpointer_postgres_aio_pipe()
- _checkpointer_postgres_pool()
- _checkpointer_sqlite()
- _chunk_to_msg()
- _clean_block()
- _cleanup_llm_representation()
- _client()
- _client_params()
- _client_params()
- _collect_code_execution_tool_ids()
- _collect_output()
- _collection()
- _combine_llm_outputs()
- _combine_llm_outputs()
- _combine_llm_outputs()
- _combine_llm_outputs()
- _combine_llm_outputs()
- _compact_in_params()
- _consolidate_calls()
- _construct_lc_result_from_responses_api()
- _construct_responses_api_input()
- _construct_responses_api_payload()
- _content_blocks_equal_ignore_id()
- _convert_agent_action_to_messages()
- _convert_agent_observation_to_messages()
- _convert_annotation_from_v1()
- _convert_annotation_to_v1()
- _convert_cached_generations()
- _convert_chat_completions_blocks_to_responses()
- _convert_chunk_to_generation_chunk()
- _convert_chunk_to_generation_chunk()
- _convert_chunk_to_generation_chunk()
- _convert_chunk_to_message_chunk()
- _convert_chunk_to_message_chunk()
- _convert_chunk_to_message_chunk()
- _convert_chunk_to_message_chunk()
- _convert_citation_to_v1()
- _convert_citation_to_v1()
- _convert_delta_to_message_chunk()
- _convert_delta_to_message_chunk()
- _convert_dict_to_message()
- _convert_dict_to_message()
- _convert_dict_to_message()
- _convert_dict_to_message()
- _convert_from_v03_ai_message()
- _convert_from_v1_to_anthropic()
- _convert_from_v1_to_chat_completions()
- _convert_from_v1_to_chat_completions()
- _convert_from_v1_to_chat_completions()
- _convert_from_v1_to_groq()
- _convert_from_v1_to_responses()
- _convert_input()
- _convert_json_schema_to_openai_function()
- _convert_legacy_v0_content_block_to_v1()
- _convert_message_to_dict()
- _convert_message_to_dict()
- _convert_message_to_dict()
- _convert_message_to_dict()
- _convert_message_to_dict()
- _convert_message_to_mistral_chat_message()
- _convert_messages_to_ollama_messages()
- _convert_mistral_chat_message_to_message()
- _convert_openai_format_to_data_block()
- _convert_responses_chunk_to_generation_chunk()
- _convert_to_anthropic_output_config_format()
- _convert_to_message()
- _convert_to_openai_response_format()
- _convert_to_openai_response_format()
- _convert_to_openai_tool_calls()
- _convert_to_v03_ai_message()
- _convert_to_v1_from_anthropic()
- _convert_to_v1_from_anthropic_input()
- _convert_to_v1_from_bedrock()
- _convert_to_v1_from_bedrock_chunk()
- _convert_to_v1_from_chat_completions()
- _convert_to_v1_from_chat_completions_chunk()
- _convert_to_v1_from_chat_completions_input()
- _convert_to_v1_from_converse()
- _convert_to_v1_from_converse_input()
- _convert_to_v1_from_genai()
- _convert_to_v1_from_genai_input()
- _convert_to_v1_from_groq()
- _convert_to_v1_from_responses()
- _convert_tool_call_id_to_mistral_compatible()
- _convert_v0_multimodal_input_to_v1()
- _count_content()
- _count_image_tokens()
- _count_message_tokens()
- _create()
- _create_action_and_config()
- _create_chat_model_run()
- _create_chat_result()
- _create_chat_result()
- _create_chat_result()
- _create_chat_result()
- _create_chat_result()
- _create_chat_result()
- _create_chat_result()
- _create_chat_result()
- _create_chat_stream()
- _create_function_message()
- _create_message_dicts()
- _create_message_dicts()
- _create_message_dicts()
- _create_message_dicts()
- _create_message_dicts()
- _create_message_from_message_type()
- _create_retry_decorator()
- _create_tool_selection_response()
- _create_usage_metadata()
- _create_usage_metadata()
- _create_usage_metadata()
- _create_usage_metadata()
- _create_usage_metadata_responses()
- _default_params()
- _default_params()
- _default_params()
- _default_params()
- _default_params()
- _default_params()
- _default_params()
- _default_params()
- _default_params()
- _default_params()
- _default_text_splitter()
- _dereference_refs_helper()
- _document_from_point()
- _document_from_scored_point()
- _documents_in_params()
- _embed_query()
- _empty_state()
- _enqueue_stream()
- _ensure_message_copy()
- _ensure_message_ids()
- _ensure_sync_client_available()
- _ensure_valid_tool_message_content()
- _evaluate_agent_trajectory()
- _evaluate_string_pairs()
- _evaluate_strings()
- _evaluate_strings()
- _expand_include_patterns()
- _expand_include_patterns()
- _explode_reasoning()
- _extract_reasoning_from_additional_kwargs()
- _extract_text_content_from_message()
- _extract_tool_calls_from_message()
- _fake_runtime()
- _fetch_last_ai_and_tool_messages()
- _filter_disabled_params()
- _find_last_index()
- _find_safe_cutoff_point()
- _first_max_tokens()
- _format_annotation_from_lc()
- _format_annotation_to_lc()
- _format_content_block_xml()
- _format_data_content_block()
- _format_failure_message()
- _format_failure_message()
- _format_for_tracing()
- _format_func()
- _format_grep_results()
- _format_grep_results()
- _format_image()
- _format_invalid_tool_call_for_mistral()
- _format_ls_structured_output()
- _format_message_content()
- _format_message_content()
- _format_messages()
- _format_messages()
- _format_output()
- _format_output()
- _format_tool_call_for_mistral()
- _format_tool_message()
- _format_violation_message()
- _gen_info_and_msg_metadata()
- _generate()
- _generate()
- _generate()
- _generate()
- _generate()
- _generate()
- _generate()
- _generate()
- _generate()
- _generate()
- _generate()
- _generate()
- _generate()
- _generate()
- _generate()
- _generate()
- _generate()
- _generate()
- _generate()
- _generate()
- _generate()
- _generate()
- _generate()
- _generate()
- _generate()
- _generate()
- _generate()
- _generate()
- _generate()
- _generate()
- _generate()
- _generate()
- _generate()
- _generate()
- _generate()
- _generate()
- _generate()
- _generate_clients()
- _generate_response_from_error()
- _generate_with_cache()
- _get_agent()
- _get_anthropic_stop()
- _get_base64_from_url()
- _get_can_jump_to()
- _get_chat_model_creator()
- _get_data_content_block_types()
- _get_default_async_httpx_client()
- _get_default_httpx_client()
- _get_default_httpx_client()
- _get_default_model_profile()
- _get_default_model_profile()
- _get_default_model_profile()
- _get_default_model_profile()
- _get_default_model_profile()
- _get_default_model_profile()
- _get_default_model_profile()
- _get_default_model_profile()
- _get_default_model_profile()
- _get_encoding_model()
- _get_full_path()
- _get_generation_chunk_from_completion()
- _get_image_from_data_content_block()
- _get_input_messages()
- _get_input_output()
- _get_invocation_params()
- _get_invocation_params()
- _get_invocation_params()
- _get_joke_class()
- _get_joke_class()
- _get_last_messages()
- _get_len_safe_embeddings()
- _get_llm()
- _get_llm()
- _get_llm_for_structured_output_when_thinking_is_enabled()
- _get_llm_string()
- _get_llm_string()
- _get_ls_params()
- _get_ls_params()
- _get_ls_params()
- _get_ls_params()
- _get_ls_params()
- _get_ls_params()
- _get_ls_params()
- _get_ls_params()
- _get_ls_params()
- _get_ls_params()
- _get_message_openai_role()
- _get_message_type_str()
- _get_messages()
- _get_messages_from_run_dict()
- _get_model()
- _get_output_messages()
- _get_output_text()
- _get_profile_limits()
- _get_provider_list()
- _get_relevant_documents()
- _get_relevant_documents()
- _get_request_payload()
- _get_request_payload()
- _get_request_payload()
- _get_request_payload()
- _get_request_payload()
- _get_retriever_tags()
- _get_tool_call_json_schema()
- _get_tool_calls_from_response()
- _get_type()
- _get_usage_metadata_from_generation_info()
- _handle_anthropic_bad_request()
- _handle_insert()
- _handle_openai_api_error()
- _handle_openai_bad_request()
- _handle_rename()
- _handle_str_replace()
- _handle_view()
- _has_base64_data()
- _identifying_params()
- _identifying_params()
- _identifying_params()
- _identifying_params()
- _identifying_params()
- _identifying_params()
- _identifying_params()
- _identifying_params()
- _identifying_params()
- _identifying_params()
- _implode_reasoning_blocks()
- _import_databricks_chat()
- _import_gradient_ai()
- _import_human()
- _import_javelin_ai_gateway()
- _import_mlflow_ai_gateway()
- _import_mlflow_chat()
- _import_module()
- _import_openai_chat()
- _import_promptlayer_chat()
- _infer_model_and_provider()
- _infer_model_and_provider()
- _inherit_llm_properties()
- _init_chat_model_helper()
- _init_chat_model_helper()
- _invocation_params()
- _invocation_params()
- _invocation_params()
- _invoke()
- _invoke()
- _is_b64()
- _is_builtin_tool()
- _is_builtin_tool()
- _is_code_execution_related_block()
- _is_huggingface_endpoint()
- _is_huggingface_hub()
- _is_huggingface_pipeline()
- _is_huggingface_textgen_inference()
- _is_message_type()
- _is_pydantic_class()
- _is_pydantic_class()
- _is_pydantic_class()
- _is_pydantic_class()
- _is_pydantic_class()
- _is_pydantic_class()
- _is_url()
- _is_valid_mistral_tool_call_id()
- _iterate_over_stream()
- _last_max_tokens()
- _lc_invalid_tool_call_to_fireworks_tool_call()
- _lc_invalid_tool_call_to_groq_tool_call()
- _lc_invalid_tool_call_to_hf_tool_call()
- _lc_invalid_tool_call_to_openai_tool_call()
- _lc_tool_call_to_fireworks_tool_call()
- _lc_tool_call_to_groq_tool_call()
- _lc_tool_call_to_hf_tool_call()
- _lc_tool_call_to_openai_tool_call()
- _lc_tool_call_to_openai_tool_call()
- _lc_tool_calls_to_anthropic_tool_use_blocks()
- _list_directory()
- _llm_type()
- _llm_type()
- _llm_type()
- _llm_type()
- _llm_type()
- _llm_type()
- _llm_type()
- _llm_type()
- _llm_type()
- _llm_type()
- _llm_type()
- _llm_type()
- _llm_type()
- _llm_type()
- _llm_type()
- _llm_type()
- _llm_type()
- _llm_type()
- _llm_type()
- _llm_type()
- _llm_type()
- _llm_type()
- _llm_type()
- _llm_type()
- _llm_type()
- _llm_type()
- _llm_type()
- _llm_type()
- _llm_type()
- _llm_type()
- _llm_type()
- _llm_type()
- _llm_type()
- _llm_type()
- _llm_type()
- _llm_type()
- _llm_type()
- _llm_type()
- _llm_type()
- _llm_type()
- _make_completion_response_from_token()
- _make_computer_call_output_from_message()
- _make_custom_tool_output_from_message()
- _make_message_chunk_from_anthropic_event()
- _make_request()
- _make_request()
- _make_state_and_request()
- _make_tool()
- _make_tools_to_model_edge()
- _make_wrapped_coroutine()
- _matches_tool_filter()
- _merge_messages()
- _merge_status()
- _message_from_dict()
- _mkdir_for_store()
- _mock_httpx_client_stream()
- _model()
- _model()
- _model_params()
- _model_params()
- _model_prefers_responses_api()
- _moderate()
- _moderate_inputs()
- _moderate_tool_messages()
- _moderate_user_message()
- _msg_to_chunk()
- _normalize_commands()
- _normalize_messages()
- _normalize_schema()
- _oai_structured_outputs_parser()
- _on_chat_model_start()
- _on_chat_model_start()
- _on_chat_model_start()
- _optimum_version()
- _parse_arguments_from_tool_call()
- _parse_code_json()
- _parse_json()
- _parse_json_string()
- _parse_model()
- _parse_model()
- _parse_with_schema()
- _partition_messages()
- _persist_run()
- _persist_run()
- _persist_run()
- _pop_and_store_interaction()
- _pop_index_and_sub_index()
- _populate_extras()
- _populate_extras()
- _populate_extras()
- _prepare_selection_request()
- _process_batched_chunked_embeddings()
- _process_dict_properties()
- _raise_on_error()
- _recursive_dump()
- _register_anthropic_translator()
- _register_bedrock_converse_translator()
- _register_bedrock_translator()
- _register_google_genai_translator()
- _register_google_vertexai_translator()
- _register_groq_translator()
- _register_openai_translator()
- _register_translators()
- _remove_prefix()
- _resize()
- _resolve_binary()
- _resolve_jump()
- _resolve_model_id()
- _resolve_schema()
- _resolve_sync_and_async_api_keys()
- _results_to_docs_and_scores()
- _results_to_docs_and_vectors()
- _retrieve_ref()
- _run()
- _run()
- _run_shell_tool()
- _run_startup_commands()
- _runnable_support()
- _safe_int()
- _schema()
- _select_relevance_score_fn()
- _seq_input_schema()
- _seq_output_schema()
- _serialized()
- _set_clients()
- _set_clients()
- _set_model_profile()
- _set_model_profile()
- _set_model_profile()
- _set_model_profile()
- _set_model_profile()
- _set_model_profile()
- _set_model_profile()
- _set_model_profile()
- _set_model_profile()
- _set_model_profile()
- _setup_test_dir()
- _should_mount_workspace()
- _should_stream()
- _should_stream()
- _should_stream_usage()
- _should_stream_usage()
- _should_summarize()
- _similarity_search_with_relevance_scores()
- _skip_input_warning()
- _skip_reference_warning()
- _sort_by_id()
- _split_long_ai_text()
- _store_memory_aio()
- _store_postgres_aio_pool()
- _store_postgres_pool()
- _stream()
- _stream()
- _stream()
- _stream()
- _stream()
- _stream()
- _stream()
- _stream()
- _stream()
- _stream()
- _stream()
- _stream()
- _stream()
- _stream()
- _stream()
- _stream()
- _stream()
- _stream()
- _stream()
- _stream()
- _stream()
- _stream()
- _stream()
- _stream()
- _stream_response_to_generation_chunk()
- _stream_responses()
- _stream_with_aggregation()
- _strip_none()
- _thinking_in_params()
- _to_async_iter()
- _to_chat_prompt()
- _to_chat_result()
- _to_chatml_format()
- _to_timestamp_and_nanos()
- _tools_in_params()
- _truncate()
- _update_message_content_to_blocks()
- _update_token_usage()
- _url_to_size()
- _use_responses_api()
- _use_responses_api()
- _validate()
- _validate_and_resolve_path()
- _validate_and_resolve_path()
- _validate_data_dir()
- _validate_tool_call_message()
- _validate_tool_call_message_no_args()
- _warn_search_parameters_deprecated()
- _xml_to_function_call()
- aadd_documents()
- aadd_messages()
- aadd_messages()
- aadd_texts()
- aafter_agent()
- aafter_agent()
- aafter_model()
- aafter_model()
- aafter_model()
- aafter_model()
- aafter_model()
- aafter_model()
- aafter_model()
- abatch()
- abatch()
- abatch()
- abatch_as_completed()
- abatch_as_completed()
- abefore_model()
- abefore_model()
- abuffer_as_messages()
- aclear()
- aclear()
- aclear()
- acompletion_with_retry()
- aconstruct_instance()
- acreate_schema()
- acreate_schema()
- acreate_schema()
- add_ai_message()
- add_ai_message_chunks()
- add_message()
- add_message()
- add_message()
- add_messages()
- add_messages()
- add_texts()
- add_usage()
- add_user_message()
- aembed_documents()
- aembed_documents()
- aembed_documents()
- aembed_documents()
- aembed_query()
- aembed_query()
- aembed_query()
- aevaluate_agent_trajectory()
- aevaluate_string_pairs()
- aevaluate_strings()
- after_agent()
- after_model()
- after_model()
- after_model()
- after_model()
- after_model()
- after_model()
- after_model()
- agenerate()
- agenerate_from_stream()
- agenerate_prompt()
- aget_messages()
- aget_messages()
- ainvoke()
- ainvoke()
- ainvoke()
- ainvoke()
- amax_marginal_relevance_search_by_vector()
- apply()
- apply_strategy()
- asave_context()
- asimilarity_search_by_vector()
- astream()
- astream()
- astream()
- astream_events()
- astream_events()
- astream_log()
- astream_log()
- async_checkpointer()
- atransform()
- atransform()
- awrap_model_call()
- awrap_model_call()
- awrap_model_call()
- awrap_model_call()
- awrap_model_call()
- awrap_model_call()
- awrap_model_call()
- awrap_model_call()
- awrap_model_call()
- awrap_model_call()
- awrap_model_call()
- awrap_model_call()
- awrap_tool_call()
- batch()
- batch()
- batch()
- batch_as_completed()
- batch_as_completed()
- before_agent()
- before_agent()
- before_model()
- before_model()
- before_model()
- before_model()
- before_model()
- before_model()
- before_model()
- before_model()
- bind_tools()
- bind_tools()
- bind_tools()
- bind_tools()
- bind_tools()
- bind_tools()
- bind_tools()
- bind_tools()
- bind_tools()
- bind_tools()
- bind_tools()
- bind_tools()
- bind_tools()
- blockbuster()
- buffer_as_messages()
- buffer_as_messages()
- buffer_as_messages()
- build_extra()
- build_extra()
- build_extra()
- build_extra()
- build_extra()
- build_extra()
- builtins()
- cache_embeddings()
- calculate_delay()
- calculator()
- calculator()
- chat_hugging_face()
- chat_model_class()
- chat_model_class()
- chat_model_class()
- chat_model_class()
- chat_model_class()
- chat_model_class()
- chat_model_class()
- chat_model_class()
- chat_model_class()
- chat_model_class()
- chat_model_class()
- chat_model_class()
- chat_model_class()
- chat_model_class()
- chat_model_class()
- chat_model_class()
- chat_model_class()
- chat_model_class()
- chat_model_class()
- chat_model_class()
- chat_model_class()
- chat_model_class()
- chat_model_class()
- chat_model_class()
- chat_model_class()
- chat_model_class()
- chat_model_class()
- chat_model_class()
- chat_model_class()
- chat_model_class()
- chat_model_class()
- chat_model_class()
- chat_model_params()
- chat_model_params()
- chat_model_params()
- chat_model_params()
- chat_model_params()
- chat_model_params()
- chat_model_params()
- chat_model_params()
- chat_model_params()
- chat_model_params()
- chat_model_params()
- chat_model_params()
- chat_model_params()
- chat_model_params()
- chat_model_params()
- chat_model_params()
- chat_model_params()
- chat_model_params()
- chat_model_params()
- chat_model_params()
- chat_model_params()
- chat_model_params()
- chat_model_params()
- chat_model_params()
- chat_model_params()
- chat_model_params()
- chat_model_params()
- chat_model_params()
- chat_model_params()
- chat_model_params()
- chat_prompt_template()
- check_queries_required()
- chromadb()
- clear()
- clear()
- clear()
- clear()
- clear()
- clear()
- coerce_args()
- collections()
- collections()
- collections()
- collections()
- collections()
- collections()
- collections()
- collections()
- collections()
- collections()
- collections()
- collections()
- collections()
- collections()
- collections()
- collections()
- collections()
- collections()
- completion_with_retry()
- config_schema()
- construct_instance()
- content_blocks()
- content_blocks()
- content_blocks()
- convert_to_anthropic_tool()
- convert_to_json_schema()
- convert_to_messages()
- convert_to_openai_data_block()
- convert_to_openai_image_block()
- convert_to_openai_messages()
- cosine_similarity()
- count_tokens_approximately()
- create_audio_block()
- create_base64_image()
- create_citation()
- create_file_block()
- create_image_block()
- create_image_data()
- create_llm_result()
- create_message()
- create_non_standard_block()
- create_plaintext_block()
- create_reasoning_block()
- create_schema()
- create_schema()
- create_schema()
- create_text_block()
- create_tool_call()
- create_video_block()
- deactivate_blockbuster()
- deepagents()
- default_tool_chunk_parser()
- default_tool_parser()
- delete()
- delete()
- delete_collection()
- dereference_refs()
- detect_email()
- detect_mac_address()
- dict()
- dummy_structured_tool_args_schema_dict()
- dummy_token_counter()
- dummy_tool()
- dynamic_tool()
- embed_documents()
- embed_documents()
- embed_documents()
- embed_documents()
- embed_documents()
- embed_documents()
- embed_documents()
- embed_documents()
- embed_documents()
- embed_documents()
- embed_query()
- embed_query()
- embed_query()
- embed_query()
- embed_query()
- embedding_model_params()
- embedding_model_params()
- enable_vcr_tests()
- enable_vcr_tests()
- enable_vcr_tests()
- encode_image()
- evaluate_agent_trajectory()
- evaluate_string_pairs()
- evaluate_strings()
- evaluation_name()
- evaluation_name()
- example_memory()
- extract_deprecated_lookup()
- extract_tool_calls()
- fake_vectorstore()
- file_store()
- files()
- files()
- files()
- files()
- files()
- filetype()
- filter_messages()
- foo()
- from_existing_collection()
- from_llm()
- from_messages()
- from_model_id()
- from_model_id()
- from_run_and_data_type()
- from_schema_spec()
- from_schema_spec()
- from_texts()
- from_texts()
- function()
- generate()
- generate_from_stream()
- generate_prompt()
- generate_response()
- generate_schema_pydantic()
- get_action_and_input()
- get_action_and_input()
- get_action_and_input()
- get_buffer_string()
- get_by_ids()
- get_chat_model()
- get_current_weather()
- get_format_instructions()
- get_from_env()
- get_input_schema()
- get_input_schema()
- get_input_schema()
- get_input_schema()
- get_input_schema()
- get_input_schema()
- get_input_schema()
- get_input_schema()
- get_input_schema()
- get_input_schema()
- get_input_schema()
- get_input_schema()
- get_lc_namespace()
- get_lc_namespace()
- get_lc_namespace()
- get_lc_namespace()
- get_lc_namespace()
- get_lc_namespace()
- get_lc_namespace()
- get_lc_namespace()
- get_msg_title_repr()
- get_num_tokens()
- get_num_tokens_from_messages()
- get_num_tokens_from_messages()
- get_num_tokens_from_messages()
- get_num_tokens_from_messages()
- get_num_tokens_from_messages()
- get_output_schema()
- get_output_schema()
- get_output_schema()
- get_output_schema()
- get_output_schema()
- get_output_schema()
- get_output_schema()
- get_output_schema()
- get_output_schema()
- get_output_schema()
- get_output_schema()
- get_pydantic_major_version()
- get_sample_llm_string()
- get_sample_prompt()
- get_state()
- get_system_message()
- get_token_ids()
- get_tool_messages()
- get_translator()
- get_weather()
- get_weather()
- get_weather()
- get_weather()
- has_async()
- has_structured_output()
- has_structured_output()
- has_structured_output()
- has_tool_calling()
- has_tool_calling()
- has_tool_calling()
- has_tool_choice()
- has_tool_choice()
- has_tool_choice()
- ignore_agent()
- ignore_agent()
- ignore_agent()
- ignore_chain()
- ignore_chain()
- ignore_chain()
- ignore_chat_model()
- ignore_llm()
- init_chat_model()
- init_chat_model()
- init_from_env_params()
- init_from_env_params()
- init_from_env_params()
- init_from_env_params()
- init_from_env_params()
- init_from_env_params()
- init_from_env_params()
- init_from_env_params()
- init_from_env_params()
- init_from_env_params()
- init_server_tool_calls()
- init_tool_calls()
- initialize_client()
- injected_tool_with_schema()
- input_keys()
- input_schema()
- invalid_tool_call()
- invoke()
- invoke()
- invoke()
- invoke()
- invoke()
- invoke_agent()
- invoke_with_audio_input()
- invoke_with_audio_output()
- invoke_with_cache_creation_input()
- invoke_with_cache_read_input()
- invoke_with_cache_read_input()
- invoke_with_cache_read_input()
- invoke_with_cache_read_input()
- invoke_with_reasoning_output()
- invoke_with_reasoning_output()
- invoke_with_reasoning_output()
- is_api_accessible()
- is_data_content_block()
- is_lc_serializable()
- is_lc_serializable()
- is_lc_serializable()
- is_lc_serializable()
- is_lc_serializable()
- is_lc_serializable()
- is_lc_serializable()
- is_lc_serializable()
- is_lc_serializable()
- is_lc_serializable()
- is_openvino_available()
- is_optimum_available()
- json()
- json_distance_evaluator()
- json_schema()
- json_schema()
- json_schema_evaluator()
- kv_store()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_community()
- langchain_core()
- langchain_core()
- langchain_core()
- langchain_core()
- langchain_core()
- langchain_core()
- langchain_core()
- langchain_huggingface()
- langchain_openai()
- langchain_openai()
- langchain_tests()
- langchain_text_splitters()
- langgraph()
- langgraph()
- lazy_load()
- lazy_load()
- lazy_parse()
- lc_attributes()
- lc_attributes()
- lc_attributes()
- lc_attributes()
- lc_attributes()
- lc_attributes()
- lc_secrets()
- lc_secrets()
- lc_secrets()
- lc_secrets()
- lc_secrets()
- lc_secrets()
- lc_secrets()
- lc_secrets()
- lc_secrets()
- lc_secrets()
- lc_secrets()
- lc_secrets()
- lc_secrets()
- llm()
- load()
- load_cassette()
- lookup()
- magic_function()
- magic_function_no_args()
- main()
- main()
- max_context_size()
- max_marginal_relevance_search()
- max_marginal_relevance_search_with_score_by_vector()
- maximal_marginal_relevance()
- mdelete()
- merge_chat_generation_chunks()
- merge_content()
- merge_message_runs()
- message()
- message_chunk_to_message()
- message_to_dict()
- messages()
- messages()
- messages()
- messages()
- messages()
- messages_2()
- messages_from_dict()
- messages_to_dict()
- mget()
- mock_async_client()
- mock_chat_astream()
- mock_chat_stream()
- mock_client()
- mock_completion()
- mock_completion()
- mock_completion()
- mock_deepseek_completion()
- mock_glm4_completion()
- mock_llm()
- mock_openai_completion()
- model()
- model()
- model_dump()
- model_override_value()
- mset()
- my_adder_tool()
- name()
- on_agent_finish()
- on_agent_finish()
- on_agent_finish_common()
- on_chain_end()
- on_chain_end()
- on_chain_end_common()
- on_chain_error()
- on_chain_error()
- on_chain_error()
- on_chain_error()
- on_chain_error()
- on_chain_error_common()
- on_chain_error_common()
- on_chain_error_common()
- on_chat_model_start()
- on_chat_model_start()
- on_chat_model_start()
- on_chat_model_start()
- on_chat_model_start()
- on_chat_model_start()
- on_chat_model_start()
- on_chat_model_start()
- on_chat_model_start()
- on_chat_model_start()
- on_chat_model_start()
- on_chat_model_start()
- on_chat_model_start()
- on_chat_model_start()
- on_chat_model_start()
- on_chat_model_start()
- on_chat_model_start()
- on_chat_model_start()
- on_chat_model_start()
- on_chat_model_start()
- on_chat_model_start_common()
- on_chat_model_start_common()
- on_chat_model_start_common()
- on_chat_model_start_common()
- on_chat_model_start_common()
- on_llm_end()
- on_llm_end()
- on_llm_end()
- on_llm_end()
- on_llm_end_common()
- on_llm_end_common()
- on_llm_end_common()
- on_llm_error()
- on_llm_error()
- on_llm_error()
- on_llm_new_token()
- on_llm_new_token()
- on_llm_new_token()
- on_llm_new_token()
- on_llm_new_token()
- on_llm_new_token()
- on_llm_new_token_common()
- on_llm_start()
- on_llm_start()
- on_llm_start()
- on_llm_start_common()
- on_retriever_end()
- on_retriever_end_common()
- on_retriever_error()
- on_retriever_error()
- on_retriever_error()
- on_retriever_error_common()
- on_retriever_error_common()
- on_retriever_error_common()
- on_retry()
- on_retry()
- on_retry()
- on_retry()
- on_retry_common()
- on_retry_common()
- on_retry_common()
- on_text()
- on_text()
- on_text()
- on_text()
- on_text()
- on_text_common()
- on_text_common()
- on_text_common()
- on_tool_end()
- on_tool_end()
- on_tool_end_common()
- on_tool_error()
- on_tool_error()
- on_tool_error()
- on_tool_error()
- on_tool_error()
- on_tool_error_common()
- on_tool_error_common()
- on_tool_error_common()
- openai_function()
- os()
- os()
- output_schema()
- parrot_multiply_tool()
- parse_and_check_json_markdown()
- parse_result()
- parse_url_with_auth()
- pretty_print()
- pretty_repr()
- pretty_repr()
- pydantic()
- pytest()
- pytest_addoption()
- pytest_benchmark()
- pytest_benchmark()
- pytest_collection_modifyitems()
- pytest_collection_modifyitems()
- pytest_recording_configure()
- qdrant_running_locally()
- refresh()
- register_translator()
- remove_request_headers()
- remove_response_headers()
- requires_input()
- requires_input()
- requires_input()
- requires_reference()
- requires_reference()
- requires_reference()
- restart()
- retriever_query_example()
- retriever_query_example()
- returns_usage_metadata()
- sandbox()
- save_context()
- send_email()
- serialize_chat_messages()
- serialize_chat_messages()
- set_default_max_tokens()
- set_text()
- setrlimit()
- setup_module()
- similarity_search()
- similarity_search()
- similarity_search()
- similarity_search_by_image_with_relevance_score()
- similarity_search_by_vector()
- similarity_search_by_vector()
- similarity_search_with_score()
- similarity_search_with_vectors()
- simple_tool()
- simple_tool()
- skip_openai_integration_tests()
- spawn()
- standard_chat_model_params()
- standard_chat_model_params()
- standard_chat_model_params()
- stream()
- stream()
- stream()
- strip_ansi()
- structured_output_kwargs()
- structured_output_kwargs()
- subtract_usage()
- supported_usage_metadata_details()
- supported_usage_metadata_details()
- supports_anthropic_inputs()
- supports_anthropic_inputs()
- supports_audio_inputs()
- supports_audio_inputs()
- supports_image_inputs()
- supports_image_inputs()
- supports_image_inputs()
- supports_image_inputs()
- supports_image_inputs()
- supports_image_inputs()
- supports_image_inputs()
- supports_image_tool_message()
- supports_image_tool_message()
- supports_image_tool_message()
- supports_image_urls()
- supports_image_urls()
- supports_image_urls()
- supports_image_urls()
- supports_image_urls()
- supports_json_mode()
- supports_json_mode()
- supports_json_mode()
- supports_json_mode()
- supports_json_mode()
- supports_json_mode()
- supports_model_override()
- supports_pdf_inputs()
- supports_pdf_inputs()
- supports_pdf_tool_message()
- supports_pdf_tool_message()
- supports_pdf_tool_message()
- supports_video_inputs()
- sync_store()
- system_prompt()
- test__aget_relevant_documents()
- test__astream_no_reasoning()
- test__construct_lc_result_from_responses_api_basic_text_response()
- test__construct_lc_result_from_responses_api_complex_response()
- test__construct_lc_result_from_responses_api_error_handling()
- test__construct_lc_result_from_responses_api_file_search_response()
- test__construct_lc_result_from_responses_api_function_call_invalid_json()
- test__construct_lc_result_from_responses_api_function_call_valid_json()
- test__construct_lc_result_from_responses_api_mixed_search_responses()
- test__construct_lc_result_from_responses_api_multiple_messages()
- test__construct_lc_result_from_responses_api_multiple_text_blocks()
- test__construct_lc_result_from_responses_api_no_usage_metadata()
- test__construct_lc_result_from_responses_api_refusal_response()
- test__construct_lc_result_from_responses_api_web_search_response()
- test__construct_responses_api_input_ai_message_with_tool_calls()
- test__construct_responses_api_input_ai_message_with_tool_calls_and_content()
- test__construct_responses_api_input_human_message_with_image_url_conversion()
- test__construct_responses_api_input_human_message_with_text_blocks_conversion()
- test__construct_responses_api_input_multiple_message_components()
- test__construct_responses_api_input_multiple_message_types()
- test__construct_responses_api_input_skips_blocks_without_text()
- test__construct_responses_api_input_tool_message_conversion()
- test__convert_dict_to_message_ai()
- test__convert_dict_to_message_ai()
- test__convert_dict_to_message_ai_with_name()
- test__convert_dict_to_message_developer()
- test__convert_dict_to_message_human()
- test__convert_dict_to_message_human()
- test__convert_dict_to_message_human_with_name()
- test__convert_dict_to_message_human_with_name()
- test__convert_dict_to_message_system()
- test__convert_dict_to_message_system()
- test__convert_dict_to_message_system_with_name()
- test__convert_dict_to_message_tool()
- test__convert_dict_to_message_tool_call()
- test__convert_dict_to_message_tool_call()
- test__convert_dict_to_message_tool_call()
- test__convert_dict_to_message_tool_call_with_null_content()
- test__convert_dict_to_message_with_missing_content()
- test__convert_to_openai_response_format()
- test__create_usage_metadata()
- test__create_usage_metadata_responses()
- test__dict_message_prompt_template_fstring()
- test__format_image()
- test__format_messages_openai_image_format()
- test__format_messages_trailing_whitespace()
- test__format_messages_with_cache_control()
- test__format_messages_with_citations()
- test__format_messages_with_list_content_and_tool_calls()
- test__format_messages_with_multiple_system()
- test__format_messages_with_str_content_and_tool_calls()
- test__format_messages_with_tool_calls()
- test__format_messages_with_tool_use_blocks_and_tool_calls()
- test__format_output()
- test__format_output_cached()
- test__format_tool_use_block()
- test__get_encoding_model()
- test__get_messages_invalid()
- test__get_messages_valid()
- test__get_prompts_invalid()
- test__get_request_payload()
- test__is_message_content_block()
- test__is_message_content_type()
- test__list_rerank_init()
- test__merge_messages()
- test__merge_messages_mutation()
- test__parse_arguments_from_tool_call()
- test__parse_arguments_from_tool_call_with_function_name_metadata()
- test__resize_caps_dimensions_preserving_ratio()
- test__unique_documents()
- test_aadd_documents()
- test_abatch()
- test_abatch()
- test_abatch()
- test_abatch()
- test_abatch()
- test_abatch_tags()
- test_abatch_tags()
- test_abatch_tags()
- test_abatch_tags()
- test_access_state_in_middleware()
- test_action()
- test_add_ai_message_chunks_usage()
- test_add_documents_with_ids_is_idempotent()
- test_add_documents_with_ids_is_idempotent_async()
- test_add_message_implementation_only()
- test_add_system_prompt()
- test_add_usage_both_none()
- test_add_usage_both_present()
- test_add_usage_one_none()
- test_add_usage_with_details()
- test_additional_html_header_text_splitter()
- test_adds_system_prompt_when_none_exists()
- test_adds_system_prompt_when_none_exists_async()
- test_aembed_documents()
- test_aembed_query()
- test_after_model_replaces_flagged_message()
- test_agenerate()
- test_agenerate_streaming()
- test_agent_async_iterator_with_callbacks()
- test_agent_graph_without_return_direct_tools()
- test_agent_hooks_run_once_with_multiple_model_calls()
- test_agent_iterator_empty_input()
- test_agent_iterator_failing_tool()
- test_agent_iterator_properties_and_setters()
- test_agent_iterator_reset()
- test_agent_iterator_stopped_early()
- test_agent_lookup_tool()
- test_agent_loop()
- test_agent_loop()
- test_agent_loop()
- test_agent_loop_streaming()
- test_agent_name_async()
- test_agent_name_set_on_ai_message()
- test_agent_stopped_early()
- test_agent_tool_return_direct()
- test_agent_tool_return_direct_in_intermediate_steps()
- test_agent_with_callbacks()
- test_ai_message_chunks()
- test_ai_message_return_unchanged()
- test_ai_message_with_secret_in_response_metadata()
- test_aindexing_force_update()
- test_aindexing_same_content()
- test_aindexing_with_no_docs()
- test_ainvoke()
- test_ainvoke()
- test_ainvoke()
- test_ainvoke()
- test_ainvoke()
- test_ainvoke_returns_documents()
- test_ainvoke_uses_async_response_requires_action_agent()
- test_ainvoke_with_model_override()
- test_aliases_hidden()
- test_all()
- test_all_imports()
- test_all_imports()
- test_all_imports()
- test_all_imports()
- test_all_imports()
- test_all_imports()
- test_all_imports()
- test_all_imports()
- test_all_imports()
- test_all_imports()
- test_all_imports()
- test_all_imports()
- test_all_imports()
- test_all_imports()
- test_all_imports()
- test_all_imports()
- test_all_imports()
- test_all_imports()
- test_all_imports()
- test_all_imports()
- test_all_imports()
- test_all_imports()
- test_all_imports()
- test_all_imports()
- test_all_imports()
- test_all_imports()
- test_all_imports()
- test_all_imports()
- test_all_imports()
- test_all_imports()
- test_all_imports()
- test_all_imports()
- test_all_imports()
- test_all_imports()
- test_all_imports()
- test_all_imports()
- test_all_none_parameters_results_in_empty_options()
- test_all_providers_registered()
- test_ano_delete()
- test_anthropic_api_key_is_secret_string()
- test_anthropic_api_key_masked_when_passed_from_env()
- test_anthropic_api_key_masked_when_passed_via_constructor()
- test_anthropic_async_generate()
- test_anthropic_async_streaming_callback()
- test_anthropic_bind_tools_tool_choice()
- test_anthropic_bind_tools_tool_choice()
- test_anthropic_call()
- test_anthropic_call()
- test_anthropic_client_caching()
- test_anthropic_fields_in_model_kwargs()
- test_anthropic_generate()
- test_anthropic_incorrect_field()
- test_anthropic_initialization()
- test_anthropic_inputs()
- test_anthropic_model_kwargs()
- test_anthropic_model_name_param()
- test_anthropic_model_param()
- test_anthropic_model_params()
- test_anthropic_multimodal()
- test_anthropic_prompt_caching_middleware_async()
- test_anthropic_prompt_caching_middleware_async_min_messages()
- test_anthropic_prompt_caching_middleware_async_with_system_prompt()
- test_anthropic_proxy_from_environment()
- test_anthropic_proxy_support()
- test_anthropic_streaming()
- test_anthropic_streaming_callback()
- test_anthropic_uses_actual_secret_value_from_secretstr()
- test_anthropic_with_empty_text_block()
- test_appends_to_existing_system_prompt()
- test_appends_to_existing_system_prompt_async()
- test_apply_to_both()
- test_apply_to_tool_results_mask_strategy()
- test_arbitrary_roles_accepted_in_chatmessages()
- test_args_schema_as_pydantic()
- test_args_schema_explicitly_typed()
- test_arun_on_dataset()
- test_astream()
- test_astream()
- test_astream()
- test_astream()
- test_astream()
- test_astream()
- test_astream_fallback_to_ainvoke()
- test_astream_implementation_fallback_to_stream()
- test_astream_implementation_uses_astream()
- test_astream_o_series()
- test_astream_response_format()
- test_astream_response_format()
- test_astream_with_callback()
- test_astream_with_model_override()
- test_astreaming()
- test_astreaming_tool_call()
- test_async_batch_size()
- test_async_before_model_decorator()
- test_async_before_model_preserves_can_jump_to()
- test_async_before_model_uses_async_moderation()
- test_async_both_commands_additive_messages()
- test_async_chat_openai()
- test_async_chat_openai_streaming()
- test_async_client_without_proxy()
- test_async_command_adds_messages()
- test_async_command_goto_raises_not_implemented()
- test_async_dynamic_prompt_integration()
- test_async_generation()
- test_async_inner_command_propagated()
- test_async_interface()
- test_async_invoke_matches_output_schema()
- test_async_memory_middleware_merges_system_message()
- test_async_methods_delegate_to_sync()
- test_async_mixed_emulated_and_real_tools()
- test_async_non_emulated_tools_execute_normally()
- test_async_only_middleware_raises_on_sync_path()
- test_async_pass_run_id()
- test_async_response_metadata()
- test_async_response_metadata_streaming()
- test_async_shared_client()
- test_async_tool_use()
- test_attempt_infer_model_provider()
- test_attention_embeddings()
- test_audio_input_modality()
- test_audio_inputs()
- test_audio_model()
- test_audio_output_modality()
- test_auto_append_betas_for_mcp_servers()
- test_auto_append_betas_for_tool_types()
- test_autostrategy_with_anonymous_json_schema()
- test_azure_chat_openai_secrets()
- test_azure_openai_api_key_masked_when_passed_from_env()
- test_azure_openai_embedding_documents_multiple()
- test_azure_openai_embedding_query()
- test_azure_openai_secrets()
- test_backward_compatibility_with_string_system_prompt()
- test_backwards_compat_with_context_schema()
- test_bare_domain_without_path_not_detected()
- test_base_model_schema_consistency()
- test_base_tool_inheritance_base_schema()
- test_batch()
- test_batch()
- test_batch()
- test_batch_size()
- test_before_model_allows_clean_input()
- test_benchmark_model()
- test_bind_runnables_as_tools()
- test_bind_runnables_as_tools()
- test_bind_tool_pydantic()
- test_bind_tool_pydantic()
- test_bind_tools()
- test_bind_tools_errors()
- test_bind_tools_tool_choice()
- test_bind_tools_tool_choice()
- test_bind_tools_with_strict_mode_uses_beta_endpoint()
- test_bind_tools_without_strict_mode_uses_default_endpoint()
- test_block_with_multiple_matches()
- test_both_sync_and_async_middleware_uses_appropriate_path()
- test_both_sync_and_async_middleware_uses_appropriate_path_async()
- test_builtin_tools_computer_use()
- test_builtin_tools_text_editor()
- test_bulk_message_implementation_only()
- test_cache_control_kwarg()
- test_cache_control_kwarg_skips_empty_messages()
- test_cache_control_preserved_across_middleware()
- test_cache_is_empty()
- test_cache_key_ignores_message_id_async()
- test_cache_key_ignores_message_id_sync()
- test_cache_miss()
- test_cache_with_generation_objects()
- test_callable_api_key()
- test_callable_api_key_async()
- test_callable_api_key_async()
- test_callback_handlers()
- test_callback_handlers()
- test_calls_convert_agent_action_to_messages()
- test_calls_convert_agent_action_to_messages()
- test_can_jump_to_with_before_model_decorator()
- test_can_swap_caches()
- test_cannot_set_both_system_prompt_and_system_message()
- test_catches_forbidden_keys()
- test_character_text_splitter_discard_separator_regex()
- test_character_text_splitter_empty_doc()
- test_character_text_splitter_handle_chunksize_equal_to_chunkoverlap()
- test_character_text_splitter_keep_separator_regex()
- test_character_text_splitter_short_words_first()
- test_chat_completions_api_uses_model_name()
- test_chat_generation_chunk()
- test_chat_groq_extra_kwargs()
- test_chat_groq_invalid_streaming_params()
- test_chat_groq_secret()
- test_chat_input_schema()
- test_chat_invalid_input_variables_extra()
- test_chat_invalid_input_variables_missing()
- test_chat_message_chunks()
- test_chat_message_partial()
- test_chat_message_partial_composition()
- test_chat_model_inputs()
- test_chat_ollama_ignores_strict_arg()
- test_chat_ollama_url_auth_integration()
- test_chat_ollama_url_auth_with_existing_headers()
- test_chat_openai()
- test_chat_openai()
- test_chat_openai_generate()
- test_chat_openai_generate()
- test_chat_openai_get_num_tokens()
- test_chat_openai_invalid_streaming_params()
- test_chat_openai_llm_output_contains_model_name()
- test_chat_openai_model()
- test_chat_openai_multiple_completions()
- test_chat_openai_multiple_completions()
- test_chat_openai_secrets()
- test_chat_openai_streaming()
- test_chat_openai_streaming()
- test_chat_openai_streaming_generation_info()
- test_chat_openai_streaming_generation_info()
- test_chat_openai_streaming_llm_output_contains_model_name()
- test_chat_openai_system_message()
- test_chat_perplexity_secrets()
- test_chat_prompt_message_dict()
- test_chat_prompt_message_placeholder_dict()
- test_chat_prompt_message_placeholder_partial()
- test_chat_prompt_message_placeholder_tuple()
- test_chat_prompt_template()
- test_chat_prompt_template_append_and_extend()
- test_chat_prompt_template_data_prompt_from_message()
- test_chat_prompt_template_from_messages()
- test_chat_prompt_template_from_messages_jinja2()
- test_chat_prompt_template_from_messages_mustache()
- test_chat_prompt_template_from_messages_using_message_classes()
- test_chat_prompt_template_from_messages_using_role_strings()
- test_chat_prompt_template_image_prompt_from_message()
- test_chat_prompt_template_indexing()
- test_chat_prompt_template_message_class_tuples_append()
- test_chat_prompt_template_message_class_tuples_concatenation()
- test_chat_prompt_template_message_class_tuples_empty_template()
- test_chat_prompt_template_message_class_tuples_extend()
- test_chat_prompt_template_message_class_tuples_input_variables()
- test_chat_prompt_template_message_class_tuples_mixed_syntax()
- test_chat_prompt_template_message_class_tuples_multiple_variables()
- test_chat_prompt_template_message_class_tuples_mustache_format()
- test_chat_prompt_template_message_class_tuples_partial_variables()
- test_chat_prompt_template_message_class_tuples_slicing()
- test_chat_prompt_template_message_class_tuples_special_characters()
- test_chat_prompt_template_message_class_tuples_static_text()
- test_chat_prompt_template_message_class_tuples_with_invoke()
- test_chat_prompt_template_message_class_tuples_with_placeholder()
- test_chat_prompt_template_variable_names()
- test_chat_prompt_template_with_messages()
- test_chat_prompt_value_concrete()
- test_chat_prompt_w_msgs_placeholder_ser_des()
- test_chat_result_backward_compatibility()
- test_chat_result_with_cached_and_reasoning_tokens()
- test_chat_result_with_reasoning_tokens()
- test_chat_result_with_usage_metadata()
- test_chat_tmpl_dict_msg()
- test_chat_tmpl_from_messages_multipart_formatting_with_path()
- test_chat_tmpl_from_messages_multipart_image()
- test_chat_tmpl_from_messages_multipart_text()
- test_chat_tmpl_from_messages_multipart_text_with_template()
- test_chat_tmpl_serdes()
- test_chat_valid_infer_variables()
- test_chat_valid_with_partial_variables()
- test_chat_xai_extra_kwargs()
- test_chat_xai_invalid_streaming_params()
- test_chat_xai_secrets()
- test_chroma_async_with_ids()
- test_chroma_handles_none_page_content()
- test_chroma_handles_none_page_content_with_vectors()
- test_chroma_init_time()
- test_chroma_large_batch_update()
- test_chroma_mmr_by_vector()
- test_chroma_update_document_with_id()
- test_chroma_with_metadatas_and_ids()
- test_chroma_with_metadatas_with_scores_and_ids()
- test_chroma_with_metadatas_with_scores_using_vector()
- test_chroma_with_persistence()
- test_citations()
- test_citations_and_search_results()
- test_cleanup_serialized()
- test_cleanup_with_different_batchsize()
- test_clear_cache()
- test_clear_tool_outputs_and_inputs()
- test_clear_tool_outputs_and_inputs_async()
- test_code_execution()
- test_code_execution_old()
- test_code_interpreter()
- test_code_interpreter()
- test_code_interpreter_v1()
- test_codex_policy_auto_platform_macos()
- test_codex_policy_formats_override_values()
- test_combine_llm_outputs_with_missing_details()
- test_combine_llm_outputs_with_token_details()
- test_combining_dict_result()
- test_command_messages_added_alongside_model_messages()
- test_command_resume_raises_not_implemented()
- test_command_with_extra_messages_and_model_response()
- test_compaction()
- test_compaction_streaming()
- test_compat_responses_v03()
- test_compat_responses_v03()
- test_complete_llm_run_handles_empty_generations()
- test_complete_llm_run_handles_no_tool_calls()
- test_complete_llm_run_handles_null_tool_calls()
- test_complex_ai_message_chunks()
- test_composition_preserves_state_and_runtime()
- test_computer_calls()
- test_config_and_runtime_not_injected_to_kwargs()
- test_configurable()
- test_configurable()
- test_configurable_with_default()
- test_configurable_with_default()
- test_content_block_transformation_v0_to_v1_image()
- test_content_blocks()
- test_content_blocks_reasoning_extraction()
- test_context_eval_chain()
- test_context_management()
- test_context_management_in_payload()
- test_context_overflow_error_backwards_compatibility()
- test_context_overflow_error_backwards_compatibility()
- test_context_overflow_error_invoke_async()
- test_context_overflow_error_invoke_async()
- test_context_overflow_error_invoke_async_responses_api()
- test_context_overflow_error_invoke_sync()
- test_context_overflow_error_invoke_sync()
- test_context_overflow_error_invoke_sync_responses_api()
- test_context_overflow_error_stream_async()
- test_context_overflow_error_stream_async()
- test_context_overflow_error_stream_async_responses_api()
- test_context_overflow_error_stream_sync()
- test_context_overflow_error_stream_sync()
- test_context_overflow_error_stream_sync_responses_api()
- test_conversation()
- test_convert_chunk_with_empty_delta()
- test_convert_chunk_with_reasoning()
- test_convert_chunk_with_reasoning_content()
- test_convert_chunk_without_reasoning()
- test_convert_dict_to_message()
- test_convert_dict_to_message_ai()
- test_convert_dict_to_message_ai_with_name()
- test_convert_dict_to_message_human()
- test_convert_dict_to_message_system()
- test_convert_dict_to_message_system_with_name()
- test_convert_dict_to_message_tool()
- test_convert_dict_to_message_with_reasoning_content()
- test_convert_dict_to_message_without_reasoning_content()
- test_convert_from_v1_to_chat_completions()
- test_convert_from_v1_to_responses()
- test_convert_message_to_mistral_chat_message()
- test_convert_pydantic_to_openai_function()
- test_convert_to_anthropic_tool()
- test_convert_to_json_schema()
- test_convert_to_message()
- test_convert_to_message_is_strict()
- test_convert_to_messages()
- test_convert_to_messages()
- test_convert_to_messages_openai_refusal()
- test_convert_to_openai_data_block()
- test_convert_to_openai_function_json_schema_missing_title_includes_schema()
- test_convert_to_openai_function_json_schema_missing_title_properties()
- test_convert_to_openai_function_json_schema_missing_title_with_type()
- test_convert_to_openai_image_block()
- test_convert_to_openai_messages_anthropic()
- test_convert_to_openai_messages_bedrock_converse_image()
- test_convert_to_openai_messages_developer()
- test_convert_to_openai_messages_empty_list()
- test_convert_to_openai_messages_empty_message()
- test_convert_to_openai_messages_guard_content()
- test_convert_to_openai_messages_invalid_block()
- test_convert_to_openai_messages_invalid_format()
- test_convert_to_openai_messages_json()
- test_convert_to_openai_messages_mixed_content_types()
- test_convert_to_openai_messages_multimodal()
- test_convert_to_openai_messages_multiple_messages()
- test_convert_to_openai_messages_openai_block()
- test_convert_to_openai_messages_openai_image()
- test_convert_to_openai_messages_openai_string()
- test_convert_to_openai_messages_reasoning_content()
- test_convert_to_openai_messages_single_message()
- test_convert_to_openai_messages_string()
- test_convert_to_openai_messages_tool_message()
- test_convert_to_openai_messages_tool_use()
- test_convert_to_openai_messages_tool_use_unicode()
- test_convert_to_openai_messages_vertexai_image()
- test_convert_to_openai_tool_preserves_enum_defaults()
- test_convert_to_v1_from_anthropic()
- test_convert_to_v1_from_anthropic_chunk()
- test_convert_to_v1_from_anthropic_input()
- test_convert_to_v1_from_bedrock()
- test_convert_to_v1_from_bedrock_chunk()
- test_convert_to_v1_from_bedrock_converse()
- test_convert_to_v1_from_bedrock_input()
- test_convert_to_v1_from_converse_chunk()
- test_convert_to_v1_from_converse_input()
- test_convert_to_v1_from_openai_input()
- test_convert_to_v1_from_openai_input()
- test_convert_to_v1_from_responses()
- test_convert_to_v1_from_responses_chunk()
- test_convert_with_extras_on_v0_block()
- test_count_tokens_approximately_ai_tool_calls_skipped_for_list_content()
- test_count_tokens_approximately_custom_token_length()
- test_count_tokens_approximately_empty_messages()
- test_count_tokens_approximately_large_message_content()
- test_count_tokens_approximately_large_number_of_messages()
- test_count_tokens_approximately_list_content()
- test_count_tokens_approximately_mixed_content_types()
- test_count_tokens_approximately_openai_format()
- test_count_tokens_approximately_respects_count_name_flag()
- test_count_tokens_approximately_string_content()
- test_count_tokens_approximately_text_only_backward_compatible()
- test_count_tokens_approximately_tool_calls()
- test_count_tokens_approximately_usage_metadata_scaling()
- test_count_tokens_approximately_usage_metadata_scaling_floor_at_one()
- test_count_tokens_approximately_usage_metadata_scaling_model_provider()
- test_count_tokens_approximately_usage_metadata_scaling_total_tokens()
- test_count_tokens_approximately_with_custom_image_penalty()
- test_count_tokens_approximately_with_image_content()
- test_count_tokens_approximately_with_image_only_message()
- test_count_tokens_approximately_with_multiple_images()
- test_count_tokens_approximately_with_names()
- test_count_tokens_approximately_with_tools()
- test_count_tokens_approximately_with_unknown_block_type()
- test_cpp_code_splitter()
- test_create_agent_async_invoke_multiple_middleware()
- test_create_agent_fully_typed()
- test_create_agent_jump()
- test_create_agent_no_context_schema()
- test_create_agent_sync_invoke_with_mixed_middleware()
- test_create_agent_with_session_context()
- test_create_agent_with_various_system_prompts()
- test_create_chat_prompt_template_from_template()
- test_create_chat_prompt_template_from_template_partial()
- test_create_chat_result()
- test_create_chat_result_with_model_extra_reasoning()
- test_create_chat_result_with_reasoning_content()
- test_create_collection_if_not_exist_true_existing()
- test_create_collection_if_not_exist_true_non_existing()
- test_create_documents_with_start_index()
- test_create_lc_store()
- test_create_message_dicts_includes_inherited_params()
- test_create_operation()
- test_create_prompt_output()
- test_create_summary_passes_lc_source_metadata()
- test_create_summary_uses_get_buffer_string_format()
- test_create_system_message_prompt_list_template()
- test_create_system_message_prompt_list_template_partial_variables_not_null()
- test_create_system_message_prompt_template_from_template_partial()
- test_create_usage_metadata_basic()
- test_create_usage_metadata_basic()
- test_create_usage_metadata_chat_completions_with_details()
- test_create_usage_metadata_empty_completion_details()
- test_create_usage_metadata_empty_details()
- test_create_usage_metadata_missing_total_tokens()
- test_create_usage_metadata_responses_api_format()
- test_create_usage_metadata_with_all_details()
- test_create_usage_metadata_with_cached_and_reasoning_tokens()
- test_create_usage_metadata_with_cached_tokens()
- test_create_usage_metadata_with_reasoning_tokens()
- test_create_usage_metadata_zero_cached_tokens()
- test_create_usage_metadata_zero_reasoning_tokens()
- test_create_with_various_system_inputs()
- test_criteria_eval_chain_missing_reference()
- test_criteria_result_output_parser_parse()
- test_custom_ai_prefix()
- test_custom_encoder()
- test_custom_field_via_state_schema()
- test_custom_human_prefix()
- test_custom_message_separator()
- test_custom_regex_detector()
- test_custom_system_prompt()
- test_custom_system_prompt()
- test_custom_system_prompt_async()
- test_custom_system_prompt_merges_correctly()
- test_custom_template_tool_response()
- test_custom_token_counting()
- test_custom_token_counting()
- test_custom_token_counting()
- test_custom_tool()
- test_custom_type_without_detector_raises_error()
- test_custom_violation_message_template()
- test_data_prompt_template_deserializable()
- test_dataclass()
- test_dataclass()
- test_dataclass()
- test_decode_returns_no_chunks()
- test_decorated_function_schema_equivalent()
- test_decorator_async_only_raises_on_sync_path()
- test_decorator_preserves_function_name()
- test_decorator_response_rewriting()
- test_decorator_sync_only_works_both_paths()
- test_decorator_with_async_agent()
- test_decorator_with_custom_state_schema()
- test_decorator_with_specified_schema()
- test_decorator_with_specified_schema_pydantic_v1()
- test_deepseek_astream()
- test_deepseek_stream()
- test_default_exact_matching()
- test_default_model_used_when_none()
- test_default_params_includes_inherited_values()
- test_default_regex_matching()
- test_delete_missing_docs()
- test_delete_missing_docs()
- test_delete_missing_keys()
- test_delete_missing_keys()
- test_delete_no_args()
- test_delete_no_args()
- test_delete_where_clause()
- test_deleting_documents()
- test_deleting_documents_async()
- test_dereference_refs_array_with_mixed_refs()
- test_dereference_refs_complex_pattern()
- test_dereference_refs_cyclical_mixed_refs()
- test_dereference_refs_cyclical_refs()
- test_dereference_refs_empty_mixed_ref()
- test_dereference_refs_integer_ref()
- test_dereference_refs_list_index()
- test_dereference_refs_list_index_items_ref_mcp_like()
- test_dereference_refs_missing_ref()
- test_dereference_refs_mixed_ref_cyclical_with_properties()
- test_dereference_refs_mixed_ref_overrides_property()
- test_dereference_refs_mixed_ref_with_properties()
- test_dereference_refs_multiple_refs()
- test_dereference_refs_nested_mixed_refs()
- test_dereference_refs_nested_refs_no_skip()
- test_dereference_refs_nested_refs_skip()
- test_dereference_refs_no_refs()
- test_dereference_refs_non_dict_ref_target()
- test_dereference_refs_one_ref()
- test_dereference_refs_remote_ref()
- test_dereference_refs_string_ref()
- test_detect_bare_domain_with_path()
- test_detect_http_url()
- test_detect_lowercase_mac()
- test_detect_multiple_emails()
- test_detect_multiple_ips()
- test_detect_valid_credit_card()
- test_dict_message_prompt_template_errors_on_jinja2()
- test_dir()
- test_dir()
- test_disable_parallel_tool_calling()
- test_disable_parallel_tool_calling()
- test_disable_streaming()
- test_disable_streaming_async()
- test_disable_streaming_no_streaming_model()
- test_disable_streaming_no_streaming_model_async()
- test_docker_policy_read_only_and_user()
- test_docker_policy_spawns_docker_run()
- test_docker_policy_validates_cpus()
- test_double_messages_conversation()
- test_double_messages_conversation()
- test_download_error_permission_denied()
- test_dumpd_human_message_in_ai_message_kwargs()
- test_dumpd_human_message_with_secret_in_ai_message_kwargs()
- test_dynamic_prompt_overwrites_system_prompt()
- test_dynamic_prompt_uses_state()
- test_dynamic_tool_without_handler_raises_error()
- test_edit_single_occurrence()
- test_effort_in_output_config()
- test_effort_in_output_config_payload()
- test_effort_parameter()
- test_effort_parameter_validation()
- test_effort_priority()
- test_embed_cached_query()
- test_embed_documents()
- test_embed_documents_normalized()
- test_embed_documents_with_custom_chunk_size()
- test_embed_query()
- test_embed_with_kwargs_async()
- test_embedding_distance_eval_chain()
- test_embeddings_property_dense_mode()
- test_empty_handlers_returns_none()
- test_empty_input()
- test_empty_intermediate_steps()
- test_empty_list_agent_actions()
- test_empty_messages()
- test_empty_messages()
- test_empty_output_replaced_with_no_output()
- test_empty_steps()
- test_empty_token()
- test_empty_tools_list_raises_error()
- test_emulate_multiple_tools()
- test_end_behavior_creates_artificial_messages()
- test_enum_output_parser_parse()
- test_error_handling_with_success_path()
- test_error_to_success_conversion()
- test_exa_retriever()
- test_exa_retriever_init_time()
- test_exception_error_message()
- test_exception_error_messages()
- test_exclude_tools_prevents_clearing()
- test_executes_command_and_persists_state()
- test_execution_order()
- test_expand_patterns_nested_braces()
- test_experimental_markdown_syntax_text_splitter_header_config_on_multi_files()
- test_experimental_markdown_syntax_text_splitter_header_configuration()
- test_experimental_markdown_syntax_text_splitter_on_multi_files()
- test_explicit_options_dict_preserved()
- test_extend_support_to_openai_multimodal_formats()
- test_extra_body_parameter()
- test_extra_body_with_model_kwargs()
- test_extra_kwargs()
- test_extract_reasoning_from_additional_kwargs_exists()
- test_extras_with_cache_control()
- test_extras_with_defer_loading()
- test_extras_with_input_examples()
- test_extras_with_multiple_fields()
- test_fake_list_chat_model_batch()
- test_fake_messages_list_chat_model_sleep_delay()
- test_fallback_on_primary_failure()
- test_fetch_last_ai_and_tool_messages_ai_without_tool_calls()
- test_fetch_last_ai_and_tool_messages_empty_list()
- test_fetch_last_ai_and_tool_messages_multiple_ai()
- test_fetch_last_ai_and_tool_messages_no_ai_message()
- test_fetch_last_ai_and_tool_messages_normal()
- test_fetch_last_ai_and_tool_messages_only_human_messages()
- test_few_shot_chat_message_prompt_template()
- test_few_shot_chat_message_prompt_template_infer_input_variables()
- test_few_shot_chat_message_prompt_template_with_selector()
- test_few_shot_chat_message_prompt_template_with_selector_async()
- test_file_search()
- test_files_api_image()
- test_files_api_pdf()
- test_filter_injected_args_not_in_schema()
- test_filter_message()
- test_filter_message_exclude_tool_calls()
- test_filter_message_exclude_tool_calls_content_blocks()
- test_final_answer_before_parsable_action()
- test_fine_grained_tool_streaming()
- test_fine_grained_tool_streaming_beta()
- test_finish_custom()
- test_fireworks_acall()
- test_fireworks_api_key_masked_when_passed_from_env()
- test_fireworks_model_params()
- test_flex_usage_responses()
- test_fn_injected_arg_with_schema()
- test_follow_up()
- test_format_message_content()
- test_format_message_content_empty_list()
- test_format_message_content_langchain_image_base64()
- test_format_message_content_langchain_image_url()
- test_format_message_content_mixed()
- test_format_message_content_none()
- test_format_message_content_string()
- test_format_message_content_text_and_image_url()
- test_from_documents()
- test_from_env_with_default_error_message()
- test_from_env_with_error_message()
- test_from_schema_spec_basic()
- test_from_schema_spec_basic()
- test_from_schema_spec_empty_docstring()
- test_from_schema_spec_with_custom_description()
- test_from_schema_spec_with_custom_name()
- test_from_schema_spec_with_model_docstring()
- test_from_texts_passed_optimizers_config_and_on_disk_payload()
- test_from_texts_passed_optimizers_config_and_on_disk_payload()
- test_fstring_rejects_invalid_identifier_variable_names()
- test_func_call()
- test_func_call()
- test_func_call_invalid()
- test_function_calling()
- test_function_calling_and_structured_output()
- test_function_calls_with_tool_calls()
- test_function_dict_to_message_function_message()
- test_function_message_chunks()
- test_function_message_dict_to_function_message()
- test_function_message_dict_to_function_message()
- test_future_code_execution_version()
- test_generate()
- test_generate_response_from_error_handles_streaming_response_failure()
- test_generate_response_from_error_with_valid_json()
- test_generic_fake_chat_model_ainvoke()
- test_generic_fake_chat_model_ainvoke()
- test_generic_fake_chat_model_astream_log()
- test_generic_fake_chat_model_astream_log()
- test_generic_fake_chat_model_invoke()
- test_generic_fake_chat_model_invoke()
- test_generic_fake_chat_model_stream()
- test_generic_fake_chat_model_stream()
- test_get_action_and_input()
- test_get_action_and_input_newline()
- test_get_action_and_input_newline_after_keyword()
- test_get_action_and_input_sql_query()
- test_get_action_and_input_whitespace()
- test_get_buffer_string_all_custom_prefixes()
- test_get_buffer_string_custom_function_prefix()
- test_get_buffer_string_custom_system_prefix()
- test_get_buffer_string_custom_tool_prefix()
- test_get_buffer_string_invalid_format()
- test_get_buffer_string_prefix_custom_separator()
- test_get_buffer_string_tool_calls_preferred_over_function_call()
- test_get_buffer_string_with_empty_content()
- test_get_buffer_string_with_function_call()
- test_get_buffer_string_with_mixed_content()
- test_get_buffer_string_with_structured_content()
- test_get_buffer_string_with_tool_calls()
- test_get_buffer_string_with_tool_calls_empty_content()
- test_get_buffer_string_xml_all_custom_prefixes()
- test_get_buffer_string_xml_audio_base64_skipped()
- test_get_buffer_string_xml_audio_url_block()
- test_get_buffer_string_xml_basic()
- test_get_buffer_string_xml_chat_message_valid_role()
- test_get_buffer_string_xml_custom_function_prefix()
- test_get_buffer_string_xml_custom_prefixes()
- test_get_buffer_string_xml_custom_separator()
- test_get_buffer_string_xml_custom_system_prefix()
- test_get_buffer_string_xml_custom_tool_prefix()
- test_get_buffer_string_xml_empty_content()
- test_get_buffer_string_xml_empty_messages_list()
- test_get_buffer_string_xml_escaping()
- test_get_buffer_string_xml_escaping_in_content_blocks()
- test_get_buffer_string_xml_function_call_legacy()
- test_get_buffer_string_xml_function_call_special_chars_in_name()
- test_get_buffer_string_xml_image_base64_skipped()
- test_get_buffer_string_xml_image_data_url_skipped()
- test_get_buffer_string_xml_image_file_id_block()
- test_get_buffer_string_xml_image_url_block()
- test_get_buffer_string_xml_mixed_content_blocks()
- test_get_buffer_string_xml_multiline_content()
- test_get_buffer_string_xml_multiple_tool_calls()
- test_get_buffer_string_xml_no_truncation_under_limit()
- test_get_buffer_string_xml_openai_image_url_block()
- test_get_buffer_string_xml_openai_image_url_data_skipped()
- test_get_buffer_string_xml_reasoning_block()
- test_get_buffer_string_xml_server_tool_call_args_truncation()
- test_get_buffer_string_xml_server_tool_call_block()
- test_get_buffer_string_xml_server_tool_result_block()
- test_get_buffer_string_xml_server_tool_result_output_truncation()
- test_get_buffer_string_xml_structured_content()
- test_get_buffer_string_xml_text_plain_block()
- test_get_buffer_string_xml_text_plain_truncation()
- test_get_buffer_string_xml_tool_call_none_id()
- test_get_buffer_string_xml_tool_call_special_chars_in_attrs()
- test_get_buffer_string_xml_tool_calls_empty_content()
- test_get_buffer_string_xml_tool_calls_escaping()
- test_get_buffer_string_xml_tool_calls_preferred_over_function_call()
- test_get_buffer_string_xml_tool_calls_with_content()
- test_get_buffer_string_xml_unicode_content()
- test_get_buffer_string_xml_unknown_block_type_skipped()
- test_get_buffer_string_xml_url_with_special_chars()
- test_get_buffer_string_xml_video_base64_skipped()
- test_get_buffer_string_xml_video_url_block()
- test_get_by_ids_fails()
- test_get_by_ids_missing()
- test_get_by_ids_missing_async()
- test_get_can_jump_to_no_false_positives()
- test_get_combined_score()
- test_get_final_answer_multiline()
- test_get_input_schema_input_dict()
- test_get_input_schema_input_messages()
- test_get_last_messages()
- test_get_last_messages_with_mixed_response_metadata()
- test_get_ls_params()
- test_get_missing()
- test_get_missing()
- test_get_num_tokens_from_messages()
- test_get_num_tokens_from_messages()
- test_get_num_tokens_from_messages_passes_kwargs()
- test_get_or_create_resources_reuses_existing()
- test_get_output_messages_no_value_error()
- test_get_output_messages_with_value_error()
- test_get_output_schema()
- test_get_request_payload()
- test_get_request_payload_use_previous_response_id()
- test_glm4_astream()
- test_glm4_stream()
- test_glob_recursive_pattern()
- test_glob_sorts_by_modified_time()
- test_glob_with_subdirectory_path()
- test_global_cache_abatch()
- test_global_cache_async()
- test_global_cache_batch()
- test_global_cache_stream()
- test_global_cache_sync()
- test_golang_code_splitter()
- test_gpt_5_1_temperature_with_reasoning_effort_none()
- test_gpt_5_temperature()
- test_gpt_5_temperature_case_insensitive()
- test_grep_case_insensitive()
- test_grep_content_mode()
- test_grep_invalid_regex()
- test_grep_no_matches()
- test_grep_output_mode_content()
- test_grep_raw_literal()
- test_grep_with_brace_expansion_filter()
- test_groq_ainvoke()
- test_groq_invoke()
- test_groq_model_param()
- test_groq_serialization()
- test_groq_translate_content_basic()
- test_groq_translate_content_with_executed_tools()
- test_groq_translate_content_with_reasoning()
- test_groq_translate_content_with_tool_calls()
- test_groq_translator_registered()
- test_handle_empty_aimessage()
- test_handle_openai_responses_blocks()
- test_handles_empty_input_list()
- test_handles_empty_input_list()
- test_handles_string_content()
- test_happy_path_splitting_based_on_header_with_whitespace_chars()
- test_has_input_schema()
- test_hash_email()
- test_haskell_code_splitter()
- test_hook_config_decorator_on_class_method()
- test_hook_execution()
- test_host_policy_applies_prlimit()
- test_host_policy_falls_back_to_rlimit_data()
- test_html_code_splitter()
- test_html_splitter_keep_separator_end()
- test_html_splitter_keep_separator_true()
- test_html_splitter_preserve_nested_in_paragraph()
- test_html_splitter_replacement_order()
- test_html_splitter_with_allowlist_tags()
- test_html_splitter_with_custom_extractor()
- test_html_splitter_with_denylist_tags()
- test_html_splitter_with_mixed_preserve_and_filter()
- test_html_splitter_with_preserved_elements()
- test_hub_pull_private_prompt()
- test_huggingface_endpoint_specific_inheritance()
- test_huggingface_pipeline_streaming()
- test_huggingface_type_check()
- test_human_in_the_loop_middleware_mixed_auto_approved_and_interrupt()
- test_human_message_with_secret_in_additional_kwargs()
- test_human_message_with_secret_in_content()
- test_human_message_with_secret_in_list_in_additional_kwargs()
- test_human_message_with_secret_in_nested_additional_kwargs()
- test_human_message_with_secret_round_trip()
- test_ignores_user_messages()
- test_image_generation_multi_turn()
- test_image_generation_multi_turn_v1()
- test_image_generation_streaming()
- test_image_generation_streaming_v1()
- test_image_inputs()
- test_image_token_counting_jpeg()
- test_image_token_counting_png()
- test_image_tool_calling()
- test_image_tool_message()
- test_import_all()
- test_import_all_using_dir()
- test_import_from_deprecated_path()
- test_imports()
- test_incomplete_response()
- test_incremental_delete_with_batch_size()
- test_incremental_fails_with_bad_source_ids()
- test_infer_model_and_provider()
- test_infer_model_and_provider()
- test_infer_model_and_provider_errors()
- test_infer_model_and_provider_errors()
- test_infer_variables()
- test_inference_geo_in_payload()
- test_inference_to_tool_output()
- test_inheritance_with_empty_llm()
- test_inheritance_with_no_llm_properties()
- test_init()
- test_init()
- test_init_chat_model()
- test_init_chat_model()
- test_init_chat_model_chain()
- test_init_chat_model_chain()
- test_init_chat_model_huggingface()
- test_init_connection_error()
- test_init_from_client_settings()
- test_init_from_env()
- test_init_from_env()
- test_init_minimal_reasoning_effort()
- test_init_missing_dep()
- test_init_missing_dep()
- test_init_model_not_found()
- test_init_o1()
- test_init_response_error()
- test_init_streaming()
- test_init_time()
- test_init_tool_calls()
- test_init_unknown_provider()
- test_init_unknown_provider()
- test_initialization()
- test_initialization()
- test_initialization()
- test_initialization()
- test_initialization_with_from_model_id()
- test_initialize_agent_with_str_agent_type()
- test_initialize_azure_openai()
- test_initialize_azure_openai_with_base_set()
- test_initialize_azure_openai_with_openai_api_base_set()
- test_initialize_more()
- test_injected_state_in_middleware_agent()
- test_inner_state_preserved_when_outer_has_no_conflict()
- test_input_messages()
- test_input_messages_async()
- test_input_messages_output_message()
- test_input_messages_output_message_async()
- test_input_schema_matches_invoke_params()
- test_invalid_luhn_not_detected()
- test_invalid_qdrant_mmr_with_sparse()
- test_invoke()
- test_invoke()
- test_invoke()
- test_invoke()
- test_invoke()
- test_invoke()
- test_invoke()
- test_invoke_matches_output_schema()
- test_invoke_no_reasoning()
- test_invoke_reasoning_none()
- test_invoke_streaming()
- test_invoke_with_model_override()
- test_is_data_content_block()
- test_is_sorted()
- test_iterative_text_splitter_discard_separator()
- test_java_code_splitter()
- test_javascript_code_splitter()
- test_json_distance_evaluator_evaluate_strings_complex_diff()
- test_json_distance_evaluator_evaluate_strings_list_diff_length()
- test_json_distance_evaluator_evaluation_name()
- test_json_equality_evaluator_evaluate_strings_custom_operator_equal()
- test_json_equality_evaluator_parse_json()
- test_json_equality_evaluator_requires_input()
- test_json_mode()
- test_json_mode()
- test_json_mode_async()
- test_json_mode_structured_output()
- test_json_schema()
- test_json_schema()
- test_json_schema()
- test_json_schema()
- test_json_schema_evaluator_evaluation_name()
- test_json_schema_evaluator_invalid_prediction()
- test_json_schema_evaluator_missing_property()
- test_json_schema_evaluator_requires_input()
- test_json_schema_evaluator_requires_reference()
- test_json_schema_evaluator_valid_prediction()
- test_json_schema_openai_format()
- test_json_validity_evaluator_evaluate_valid_json()
- test_json_validity_evaluator_requires_input()
- test_k_constructor_param()
- test_known_block_types()
- test_langchain_fireworks_embedding_documents()
- test_langchain_nomic_embedding_dimensionality()
- test_langchain_openai_embedding_query()
- test_langchain_openai_embeddings_equivalent_to_raw_async()
- test_lc_agent_name_not_in_astream_metadata_when_name_not_provided()
- test_lc_agent_name_not_in_stream_metadata_when_name_not_provided()
- test_lc_tool_call_to_openai_tool_call_unicode()
- test_limit_reached_but_not_exceeded()
- test_list_rerank()
- test_llm_chain_extractor_async()
- test_llm_representation_for_serializable()
- test_load_followed_by_content_response()
- test_load_llmchain()
- test_load_openai_chat()
- test_load_openai_llm()
- test_load_response_with_actual_content_is_not_skipped()
- test_load_response_with_empty_content_is_skipped()
- test_load_response_with_whitespace_content_is_skipped()
- test_loads_llmchain()
- test_loads_openai_chat()
- test_local_cache_async()
- test_local_cache_sync()
- test_make_computer_call_output_from_message()
- test_malformed_xml_with_nested_tags()
- test_manual_tool_call_msg()
- test_mask_email()
- test_match_pattern_with_braces()
- test_max_completion_tokens_in_payload()
- test_max_completion_tokens_parameter()
- test_max_tokens_converted_to_max_completion_tokens()
- test_mcp_builtin()
- test_mcp_builtin_zdr()
- test_mcp_builtin_zdr_v1()
- test_mcp_tracing()
- test_mcp_tracing()
- test_md_header_text_splitter_3()
- test_md_header_text_splitter_fenced_code_block()
- test_md_header_text_splitter_with_custom_headers()
- test_mdelete()
- test_media_and_metadata()
- test_memory_middleware_adds_system_message()
- test_memory_middleware_merges_system_message()
- test_memory_tool()
- test_merge_content()
- test_merge_message_runs_content()
- test_merge_message_runs_response_metadata()
- test_merge_message_runs_str()
- test_merge_message_runs_str_with_specified_separator()
- test_merge_message_runs_str_without_separator()
- test_merge_messages_tool_messages()
- test_merge_splits()
- test_merge_tool_calls()
- test_message_chunk_to_message()
- test_message_chunks()
- test_message_init()
- test_message_name()
- test_message_name_chat()
- test_message_name_function()
- test_message_prompt_template_from_template_file()
- test_message_text()
- test_message_with_name()
- test_messages_placeholder()
- test_messages_placeholder_with_max()
- test_messages_prompt_accepts_list()
- test_metadata_merge_across_updates()
- test_middleware_can_add_and_remove_tools()
- test_middleware_can_add_cache_control()
- test_middleware_can_mix_string_and_system_message_updates()
- test_middleware_can_modify_tools()
- test_middleware_can_return_system_message()
- test_middleware_can_set_initial_system_message()
- test_middleware_can_switch_between_formats()
- test_middleware_can_update_via_system_message_object()
- test_middleware_can_use_system_message_with_metadata()
- test_middleware_handles_none_system_message()
- test_middleware_initialization()
- test_middleware_initialization()
- test_middleware_initialization_validation()
- test_middleware_name_property()
- test_middleware_preserves_system_message_metadata()
- test_middleware_unit_functionality()
- test_middleware_with_content_blocks()
- test_middleware_with_specific_tool()
- test_minimal_reasoning_effort_payload()
- test_mismatched_context_schema()
- test_mistralai_embedding_documents()
- test_mistralai_embedding_documents_long()
- test_mistralai_embedding_documents_tenacity_error_async()
- test_mistralai_initialization()
- test_mistralai_initialization_baseurl()
- test_mistralai_initialization_baseurl_env()
- test_mistralai_model_param()
- test_mixed_emulated_and_real_tools()
- test_mixed_sync_async_decorators()
- test_model_data_to_profile_text_modalities()
- test_model_fallback_middleware_exhausted_with_agent()
- test_model_kwargs_inheritance()
- test_model_prefers_responses_api()
- test_model_profile_not_blocking()
- test_model_profiles()
- test_model_request_preserves_context_type()
- test_model_response_with_response_type()
- test_model_retry_async_failing_model()
- test_model_retry_failing_model_raises()
- test_model_retry_failing_model_returns_message()
- test_model_retry_initialization_custom()
- test_model_retry_invalid_max_delay()
- test_model_retry_max_delay_cap()
- test_model_retry_specific_exceptions()
- test_model_retry_zero_retries()
- test_mset_and_mget()
- test_msg_no_text()
- test_msg_with_text()
- test_multi_party_conversation()
- test_multi_vector_retriever_initialization()
- test_multi_vector_retriever_similarity_search_with_score_async()
- test_multiple_always_include_tools()
- test_multiple_decorated_middleware()
- test_multiple_fallbacks_async()
- test_multiple_intermediate_steps_default_response()
- test_multiple_middleware_can_chain_modifications()
- test_multiple_middleware_can_modify_system_message()
- test_multiple_msg()
- test_multiple_msg()
- test_multiple_msg_with_name()
- test_multiple_old_style_middlewares()
- test_multiple_overrides_with_system_message()
- test_multiple_schemas()
- test_multiple_tokens()
- test_multiple_yields_retry_different_models()
- test_mustache_schema_parent_child()
- test_mustache_template_attribute_access_vulnerability()
- test_nan_and_inf_handling()
- test_native_structured_output()
- test_nested_structured_output_strict()
- test_nested_structured_output_strict()
- test_no_cache_async()
- test_no_cache_sync()
- test_no_code_execution_calls()
- test_no_duplicate_tool_calls_when_multiple_tools()
- test_no_ip()
- test_no_max_tools_uses_all_selected()
- test_no_retry_propagates_error()
- test_no_warning()
- test_nomic_embeddings_init_time()
- test_non_dict_block()
- test_non_emulated_tools_execute_normally()
- test_non_zero_distance()
- test_non_zero_distance_pairwise_async()
- test_none_parameters_excluded_from_options()
- test_normal_output_parsing()
- test_normalize_messages_edge_cases()
- test_normalize_messages_v1_content_blocks_unchanged()
- test_normalize_shell_command_empty()
- test_not_an_ai()
- test_not_an_ai()
- test_o1()
- test_o1_stream_default_works()
- test_old_pattern_2_two_params()
- test_old_pattern_5_decorator()
- test_ollama_llm_url_auth_integration()
- test_on_model_call()
- test_on_model_call_decorator()
- test_openai_abatch()
- test_openai_abatch()
- test_openai_abatch_tags()
- test_openai_abatch_tags()
- test_openai_abatch_tags()
- test_openai_agent_tools_agent()
- test_openai_ainvoke()
- test_openai_ainvoke()
- test_openai_ainvoke()
- test_openai_api_key_is_secret_string()
- test_openai_astream()
- test_openai_astream()
- test_openai_async_streaming_callback()
- test_openai_batch()
- test_openai_client_caching()
- test_openai_get_num_tokens()
- test_openai_incorrect_field()
- test_openai_invoke()
- test_openai_invoke()
- test_openai_invoke()
- test_openai_invoke()
- test_openai_invoke_name()
- test_openai_model_param()
- test_openai_model_param()
- test_openai_o1_temperature()
- test_openai_pdf_inputs()
- test_openai_pdf_inputs()
- test_openai_pdf_tool_messages()
- test_openai_proxy()
- test_openai_response_headers()
- test_openai_response_headers_async()
- test_openai_stop_valid()
- test_openai_stream()
- test_openai_streaming()
- test_openai_streaming()
- test_openai_streaming_best_of_error()
- test_openai_streaming_call()
- test_openai_streaming_callback()
- test_openai_streaming_n_error()
- test_openai_structured_output()
- test_openai_structured_output_refusal_handling_responses_api()
- test_openai_uses_actual_secret_value_from_secretstr()
- test_optional_description()
- test_outer_command_messages_added_alongside_model()
- test_output_config_without_effort()
- test_output_fixing_parser_aparse()
- test_output_fixing_parser_output_type()
- test_output_message()
- test_output_message_async()
- test_output_messages()
- test_output_messages_async()
- test_output_version_ainvoke()
- test_output_version_astream()
- test_output_version_compat()
- test_output_version_invoke()
- test_output_version_stream()
- test_override_chaining()
- test_override_chaining()
- test_override_messages()
- test_override_methods()
- test_override_model_settings()
- test_override_multiple_attributes()
- test_override_raises_on_both_system_prompt_and_system_message()
- test_override_system_prompt_backward_compatibility()
- test_override_system_prompt_to_none()
- test_overwrite_values_by_key()
- test_overwrite_values_by_key()
- test_pairwise_embedding_distance_eval_chain_chebyshev_distance()
- test_pairwise_embedding_distance_eval_chain_cosine_similarity()
- test_pairwise_string_comparison_chain()
- test_pairwise_string_comparison_chain()
- test_pandas_output_parser_col_oob()
- test_pandas_output_parser_output_type()
- test_pandas_output_parser_row_col_1()
- test_pandas_output_parser_row_no_array()
- test_parallel_tool_calls_with_limit_continue_mode()
- test_parameter_precedence_explicit_over_inherited()
- test_parent_document_retriever_initialization()
- test_parse_case_matched_and_final_answer()
- test_parse_code_json()
- test_parse_complex_json_with_think_tags()
- test_parse_empty_after_stripping_think_tags()
- test_parse_json_array_with_think_tags()
- test_parse_json_string_failure_case_raises_exception()
- test_parse_json_string_skip_returns_input_on_failure()
- test_parse_json_string_success_cases()
- test_parse_json_with_code_blocks_and_newlines()
- test_parse_json_with_think_tags()
- test_parse_model_string()
- test_parse_nested_structured_output_with_think_tags()
- test_parse_payload_pydantic_json_error()
- test_parse_payload_pydantic_validation_error()
- test_parse_structured_output_with_think_tags()
- test_parse_url_with_auth_no_port()
- test_parse_url_with_auth_none_input()
- test_parse_url_with_auth_special_characters()
- test_parse_url_with_auth_with_path_and_query()
- test_parse_with_language()
- test_parse_with_language()
- test_parse_with_language_and_spaces()
- test_parse_with_language_without_a_new_line()
- test_parse_without_language()
- test_parse_without_language()
- test_parse_without_language_without_a_new_line()
- test_parsed_dict_schema()
- test_parsed_dict_schema_async()
- test_parsed_pydantic_schema()
- test_parsed_pydantic_schema_async()
- test_parsed_strict()
- test_parser_with_think_tags_in_json_values()
- test_partial_functions_json_output_parser_async()
- test_pass_run_id()
- test_passthrough_middleware()
- test_path_traversal_blocked()
- test_path_traversal_with_double_dots()
- test_pdf_document_input()
- test_pdf_inputs()
- test_pdf_tool_message()
- test_perplexity_initialization()
- test_perplexity_invoke_includes_num_search_queries()
- test_perplexity_model_kwargs()
- test_perplexity_model_name_param()
- test_perplexity_new_params()
- test_perplexity_stream_includes_citations()
- test_perplexity_stream_includes_videos_and_reasoning()
- test_php_code_splitter()
- test_placeholder()
- test_placeholder()
- test_placeholder()
- test_placeholder()
- test_placeholder()
- test_placeholder()
- test_placeholder()
- test_placeholder()
- test_powershell_code_splitter_longer_code()
- test_prediction_tokens()
- test_primary_model_succeeds_async()
- test_pro_search()
- test_profile()
- test_profile()
- test_profile()
- test_profile()
- test_profile()
- test_profile()
- test_profile()
- test_profile()
- test_programmatic_tool_use()
- test_programmatic_tool_use_streaming()
- test_prompt_cache_key_invoke()
- test_prompt_cache_key_model_kwargs()
- test_prompt_cache_key_parameter_exclusion()
- test_prompt_cache_key_parameter_inclusion()
- test_prompt_cache_key_per_call()
- test_prompt_cache_key_responses_api()
- test_prompt_cache_key_usage_methods_integration()
- test_property_inheritance_integration()
- test_public_api()
- test_public_api()
- test_qa_output_parser()
- test_qdrant_aadd_texts_stores_duplicated_texts()
- test_qdrant_add_documents_extends_existing_collection()
- test_qdrant_add_documents_extends_existing_collection()
- test_qdrant_add_texts_stores_ids()
- test_qdrant_add_texts_stores_ids()
- test_qdrant_from_existing_collection_uses_same_collection()
- test_qdrant_from_texts_raises_error_on_different_dimensionality()
- test_qdrant_from_texts_raises_error_on_different_distance()
- test_qdrant_from_texts_raises_error_on_different_vector_name()
- test_qdrant_from_texts_recreates_collection_on_force_recreate()
- test_qdrant_from_texts_reuses_same_collection()
- test_qdrant_from_texts_stores_duplicated_texts()
- test_qdrant_from_texts_stores_embeddings_as_named_vectors()
- test_qdrant_from_texts_stores_ids()
- test_qdrant_from_texts_stores_metadatas()
- test_qdrant_max_marginal_relevance_search()
- test_qdrant_similarity_search_by_vector()
- test_qdrant_similarity_search_with_relevance_score_no_threshold()
- test_qdrant_similarity_search_with_relevance_score_with_threshold()
- test_qdrant_similarity_search_with_relevance_score_with_threshold_and_filter()
- test_qdrant_similarity_search_with_relevance_scores()
- test_qdrant_similarity_search_with_score_by_vector()
- test_r_code_splitter()
- test_rate_limit_abatch()
- test_rate_limit_ainvoke()
- test_rate_limit_astream()
- test_rate_limit_batch()
- test_rate_limit_invoke()
- test_rate_limit_skips_cache()
- test_rate_limit_skips_cache_async()
- test_rate_limit_stream()
- test_reasoning()
- test_reasoning()
- test_reasoning()
- test_reasoning_aggregation()
- test_reasoning_content()
- test_reasoning_content_streaming()
- test_reasoning_effort_invoke_override()
- test_reasoning_effort_invoke_override_different_level()
- test_reasoning_effort_levels()
- test_reasoning_effort_none()
- test_reasoning_effort_streaming()
- test_reasoning_invoke()
- test_reasoning_modes_behavior()
- test_reasoning_output_invoke()
- test_reasoning_output_stream()
- test_reasoning_param_passed_to_client()
- test_reasoning_stream()
- test_reasoning_v1()
- test_redacted_thinking()
- test_refresh_works_without_augmentations()
- test_regex_dict_result()
- test_regular_tool_result_block()
- test_relevance_search_with_threshold()
- test_relevance_search_with_threshold_and_filter()
- test_remote_mcp()
- test_rename_operation()
- test_render_text_description_and_args()
- test_rendering_prompt_with_conditionals_no_empty_text_blocks()
- test_reset_system_prompt_to_none()
- test_resolve_criteria_enum()
- test_respects_keep_last_tool_results_async()
- test_response_format()
- test_response_format_in_agent()
- test_response_format_with_output_config()
- test_response_metadata()
- test_response_metadata_streaming()
- test_responses_api_uses_deployment_name()
- test_responses_stream()
- test_responses_stream_with_image_generation_multiple_calls()
- test_retry_outer_transform_inner()
- test_retry_output_parser_aparse_with_prompt_fail()
- test_retry_output_parser_parse_with_prompt()
- test_retry_output_parser_parse_with_prompt_with_retry_chain()
- test_retry_parameters()
- test_retry_with_custom_string_message()
- test_retry_with_error_output_parser_aparse_with_prompt_fail()
- test_retry_with_error_output_parser_aparse_with_prompt_with_retry_chain()
- test_retry_with_error_output_parser_parse_with_prompt()
- test_retry_with_failure_then_success()
- test_ripgrep_command_uses_literal_pattern()
- test_route_from_model_kwargs()
- test_run_chat_model_all_formats()
- test_run_limit_with_multiple_human_messages()
- test_safe_default_xslt_usage()
- test_schema_from_with_structured_output()
- test_schema_parsing_failures()
- test_schema_parsing_failures_async()
- test_schema_parsing_failures_responses_api()
- test_schema_parsing_failures_responses_api_async()
- test_schema_with_tool_message_content()
- test_search_control()
- test_search_domain_filter()
- test_search_recency_filter()
- test_search_result_tool_message()
- test_search_result_top_level()
- test_search_retriever_get_relevant_documents()
- test_search_tool()
- test_search_tool_basic()
- test_search_with_single_store()
- test_secret_from_env_with_custom_error_message()
- test_secure_parser_configuration()
- test_sentence_transformers_split_text()
- test_serde_any_message()
- test_serdes()
- test_serdes_message()
- test_serdes_message_chunk()
- test_serialization_of_wellknown_objects()
- test_serialization_with_rate_limiter()
- test_service_tier()
- test_set_and_get_values()
- test_set_and_get_values()
- test_set_default_max_tokens()
- test_set_key_and_verify_content()
- test_setattr_system_prompt_deprecated()
- test_setting_service_tier_class()
- test_setting_service_tier_request()
- test_setting_service_tier_request_async()
- test_setting_service_tier_streaming()
- test_sha256_encoder()
- test_shell_tool_error_handling()
- test_shell_tool_missing_command_string()
- test_similarity_search_with_relevance_score_with_threshold_and_filter()
- test_similarity_search_with_score_by_vector()
- test_simple_tool_args_schema_dict()
- test_single_agent_action_observation()
- test_single_intermediate_step_default_response()
- test_single_schema()
- test_single_write_todos_call_allowed()
- test_single_write_todos_call_allowed_async()
- test_socket_disabled()
- test_spacy_text_splitter_strip_whitespace()
- test_spacy_text_splitting_args()
- test_special_tokens()
- test_split_documents()
- test_split_json_with_lists()
- test_standard_generation()
- test_standard_params()
- test_startup_and_shutdown_commands()
- test_startup_command_failure()
- test_state_schema_async()
- test_state_schema_multiple_custom_fields()
- test_state_schema_none_uses_default()
- test_state_schema_single_custom_field()
- test_state_schema_with_middleware()
- test_state_schema_with_private_state_field()
- test_state_schema_with_tool_runtime()
- test_stateful_api()
- test_stop_sequence()
- test_stop_sequence()
- test_stop_sequence()
- test_stop_sequence()
- test_stop_sequence()
- test_store_still_empty()
- test_store_still_empty()
- test_str_replace_operation()
- test_stream()
- test_stream()
- test_stream()
- test_stream()
- test_stream()
- test_stream_error_callback()
- test_stream_no_reasoning()
- test_stream_o_series()
- test_stream_reasoning_none()
- test_stream_reasoning_summary()
- test_stream_response_format()
- test_stream_response_format()
- test_stream_text_tokens()
- test_stream_time()
- test_stream_usage()
- test_stream_usage()
- test_stream_usage_metadata()
- test_stream_usage_override()
- test_stream_with_callback()
- test_stream_with_model_override()
- test_streaming()
- test_streaming()
- test_streaming_attribute_overrides_streaming_callback()
- test_streaming_attribute_should_stream()
- test_streaming_attribute_should_stream()
- test_streaming_cache_token_reporting()
- test_streaming_generation_info()
- test_streaming_tool_call()
- test_streaming_with_cached_and_reasoning_tokens()
- test_streaming_with_reasoning_tokens()
- test_streaming_with_usage_metadata()
- test_streaming_without_usage_metadata()
- test_strict_tool_use()
- test_strict_tool_use()
- test_strict_tool_use_payload()
- test_strip_nested_like_think_tags()
- test_strip_simple_think_tags()
- test_strip_think_tags_empty_content()
- test_strip_think_tags_multiline()
- test_structured_args_decorator_no_infer_schema()
- test_structured_few_shot_examples()
- test_structured_output()
- test_structured_output()
- test_structured_output_and_tools()
- test_structured_output_async()
- test_structured_output_async()
- test_structured_output_deeply_nested()
- test_structured_output_json_schema()
- test_structured_output_json_schema()
- test_structured_output_json_schema_async()
- test_structured_output_old_model()
- test_structured_output_old_model()
- test_structured_output_optional_param()
- test_structured_output_parsing_error_without_retry()
- test_structured_output_pydantic_2_v1()
- test_structured_output_pydantic_2_v1()
- test_structured_output_retry_preserves_messages()
- test_structured_output_retry_succeeds_first_attempt()
- test_structured_output_strict()
- test_structured_output_strict()
- test_structured_output_thinking_enabled()
- test_structured_output_thinking_force_tool_use()
- test_structured_output_verbosity()
- test_structured_outputs_parser()
- test_structured_response_preserved()
- test_structured_single_str_decorator_no_infer_schema()
- test_structured_tool_args_schema_dict()
- test_structured_tool_lambda_multi_args_schema()
- test_subtract_usage_both_none()
- test_subtract_usage_both_present()
- test_subtract_usage_one_none()
- test_subtract_usage_with_negative_result()
- test_summarization_cutoff_moves_backward_to_include_ai_message()
- test_summarization_middleware_deprecated_parameters_with_defaults()
- test_summarization_middleware_find_safe_cutoff_point_orphan_tool()
- test_summarization_middleware_find_safe_cutoff_preserves_ai_tool_pair()
- test_summarization_middleware_full_workflow_async()
- test_summarization_middleware_keep_messages()
- test_summarization_middleware_no_summarization_cases()
- test_summarization_middleware_profile_edge_cases()
- test_summarization_middleware_profile_inference_triggers_summary()
- test_summarization_middleware_token_retention_preserves_ai_tool_pairs()
- test_summarization_middleware_trim_limit_none_keeps_all_messages()
- test_summarization_middleware_trim_messages_error_fallback()
- test_summarization_middleware_zero_and_negative_target_tokens()
- test_supported_providers_is_sorted()
- test_supported_providers_package_names()
- test_sync_basic_selection()
- test_sync_dynamic_prompt_on_async_invoke()
- test_sync_only_middleware_works_on_sync_path()
- test_system_invoke()
- test_system_message()
- test_system_message_content_variations()
- test_system_message_multiple_tools()
- test_system_message_single_tool()
- test_system_message_with_complex_content()
- test_system_prompt_property_with_list_content()
- test_text_accessor()
- test_text_editor_no_system_message()
- test_thinking()
- test_thinking_v1()
- test_three_middleware_composition()
- test_timeout_returns_error()
- test_to_chat_prompt_errors()
- test_to_chat_prompt_valid_messages()
- test_to_chatml_format()
- test_to_chatml_format_with_invalid_type()
- test_to_model_kwargs()
- test_todo_middleware_agent_creation_with_middleware()
- test_todo_middleware_custom_system_prompt()
- test_todo_middleware_custom_system_prompt_and_tool_description()
- test_todo_middleware_custom_system_prompt_in_agent()
- test_todo_middleware_custom_tool_description()
- test_todo_middleware_default_prompts()
- test_token_costs_are_zeroed_out()
- test_token_text_splitter_overlap()
- test_tokenization()
- test_tool()
- test_tool_allows_extra_runtime_args_with_custom_schema()
- test_tool_args_schema_default_values()
- test_tool_args_schema_default_values_async()
- test_tool_args_schema_falsy_defaults()
- test_tool_args_schema_none_default()
- test_tool_args_schema_pydantic_v2_with_metadata()
- test_tool_args_schema_with_annotated_type()
- test_tool_astreaming()
- test_tool_call_input_tool_message_output()
- test_tool_call_input_tool_message_with_artifact()
- test_tool_calling()
- test_tool_calling()
- test_tool_calling_async()
- test_tool_calling_async()
- test_tool_calling_with_no_arguments()
- test_tool_calling_with_no_arguments()
- test_tool_calling_with_no_arguments()
- test_tool_calls_merge()
- test_tool_choice()
- test_tool_choice()
- test_tool_choice_bool()
- test_tool_choice_bool()
- test_tool_id_conversion()
- test_tool_injected_arg_with_custom_schema()
- test_tool_injected_arg_with_schema()
- test_tool_injected_arg_without_schema()
- test_tool_injected_tool_call_id_with_custom_schema()
- test_tool_invocation_error_excludes_injected_state_async()
- test_tool_lambda_args_schema()
- test_tool_message_content()
- test_tool_message_error_status()
- test_tool_message_formatting_with_id()
- test_tool_message_histories_list_content()
- test_tool_message_histories_list_content()
- test_tool_message_histories_list_content()
- test_tool_message_histories_list_content()
- test_tool_message_histories_string_content()
- test_tool_message_repr()
- test_tool_message_ser_non_serializable()
- test_tool_message_serdes()
- test_tool_message_str()
- test_tool_message_to_dict()
- test_tool_message_tool_call_id()
- test_tool_messages_are_moderated_when_enabled()
- test_tool_partial_function_args_schema()
- test_tool_retry_async_succeeds_after_retries()
- test_tool_retry_backoff_timing()
- test_tool_retry_deprecated_return_message_behavior()
- test_tool_retry_deprecated_return_message_keyword()
- test_tool_retry_failing_tool_returns_message()
- test_tool_retry_initialization_with_base_tools()
- test_tool_retry_invalid_initial_delay()
- test_tool_retry_jitter_variation()
- test_tool_retry_multiple_middleware_composition()
- test_tool_retry_specific_exceptions()
- test_tool_retry_succeeds_after_retries()
- test_tool_retry_working_tool_no_retry_needed()
- test_tool_runtime_config_access()
- test_tool_runtime_name_based_injection()
- test_tool_runtime_parallel_execution()
- test_tool_runtime_state_access()
- test_tool_search()
- test_tool_search_beta_headers()
- test_tool_search_is_builtin_tool()
- test_tool_search_result_formatting()
- test_tool_search_with_deferred_tools()
- test_tool_streaming()
- test_tool_usage()
- test_tool_use()
- test_tool_use()
- test_tools_and_structured_output()
- test_tools_output_parser_args_only()
- test_tools_output_parser_empty_content()
- test_tools_to_model_edge_with_structured_and_regular_tool_calls()
- test_trace_content_blocks_with_no_type_key()
- test_trace_images_in_openai_format()
- test_trace_pdfs()
- test_tracer_chat_model_run()
- test_tracer_chat_model_run()
- test_trajectory_eval_chain()
- test_translate_grounding_metadata_confidence_scores_none()
- test_translate_grounding_metadata_maps()
- test_translate_grounding_metadata_multiple_chunks()
- test_translate_grounding_metadata_none()
- test_translate_grounding_metadata_web()
- test_trim_messages_allow_partial_one_message()
- test_trim_messages_allow_partial_text_splitter()
- test_trim_messages_bad_token_counter()
- test_trim_messages_bound_model_token_counter()
- test_trim_messages_exact_token_boundary()
- test_trim_messages_first_30()
- test_trim_messages_first_30_allow_partial()
- test_trim_messages_first_30_allow_partial_end_on_human()
- test_trim_messages_include_system_strategy_last_empty_messages()
- test_trim_messages_invoke()
- test_trim_messages_last_30_include_system()
- test_trim_messages_last_30_include_system_allow_partial_end_on_human()
- test_trim_messages_last_40_include_system_allow_partial()
- test_trim_messages_last_40_include_system_allow_partial_start_on_human()
- test_trim_messages_last_allow_partial_one_message()
- test_trim_messages_mixed_content_with_partial()
- test_trim_messages_partial_text_splitting()
- test_trim_messages_start_on_with_allow_partial()
- test_trim_messages_token_counter_shortcut_approximate()
- test_trim_messages_token_counter_shortcut_invalid()
- test_trim_messages_token_counter_shortcut_with_options()
- test_two_handlers_with_commands()
- test_typed_init()
- test_typeerror()
- test_unicode_tool_call_integration()
- test_unicode_tool_call_integration()
- test_unified_error_messages()
- test_union_of_types()
- test_update_cache()
- test_update_cache_with_multiple_generations()
- test_upload_binary_content_roundtrip()
- test_upload_download_roundtrip()
- test_upload_relative_path_returns_invalid_path()
- test_uppercase_response()
- test_upsert_no_ids()
- test_upsert_no_ids()
- test_usage_metadata()
- test_usage_metadata_standardization()
- test_usage_metadata_streaming()
- test_user_supplied_client()
- test_valid_action_and_action_input_parse()
- test_valid_action_and_answer_raises_exception()
- test_valid_final_answer_parse()
- test_valid_formatting()
- test_valid_single_message()
- test_validate_model_on_init()
- test_validate_model_on_init()
- test_validate_path_blocks_tilde()
- test_validation_error_with_invalid_response()
- test_vectorstore_is_empty()
- test_vectorstore_is_empty_async()
- test_verbosity_parameter()
- test_verbosity_parameter_payload()
- test_vue_text_splitter()
- test_web_fetch()
- test_web_fetch_v1()
- test_web_search()
- test_web_search()
- test_web_search()
- test_web_search()
- test_web_search_async()
- test_web_search_v1()
- test_with_structured_output()
- test_with_structured_output()
- test_with_structured_output()
- test_with_structured_output_strict_mode_uses_beta_endpoint()
- test_wrap_tool_call_access_runtime()
- test_wrap_tool_call_caching_pattern()
- test_wrap_tool_call_logging()
- test_wrap_tool_call_mixed_passthrough_and_intercepting()
- test_wrap_tool_call_outer_intercepts_inner()
- test_wrap_tool_call_response_modification()
- test_wrap_tool_call_with_custom_name()
- test_xai_model_param()
- test_yaml_output_parser()
- test_zero_distance_async()
- text()
- text()
- three_values()
- three_values()
- three_values()
- to_messages()
- to_messages()
- to_messages()
- to_messages()
- to_model_kwargs()
- tool_call()
- tool_call_chunk()
- tool_constructor()
- tool_constructor()
- tool_constructor()
- tool_constructor()
- tool_example_to_messages()
- tool_invoke_params_example()
- tool_mock()
- transform()
- transform()
- translate_content()
- translate_content()
- translate_content()
- translate_content()
- translate_content()
- translate_content()
- translate_content()
- translate_content_chunk()
- translate_content_chunk()
- translate_content_chunk()
- translate_content_chunk()
- translate_content_chunk()
- translate_content_chunk()
- translate_grounding_metadata_to_citations()
- trim_messages()
- typing_extensions()
- unicode_customer()
- update()
- uv_conf()
- uv_conf()
- uvicorn()
- validate_environment()
- validate_environment()
- validate_environment()
- validate_environment()
- validate_environment()
- validate_environment()
- validate_environment()
- validate_environment()
- validate_environment()
- validate_environment()
- validate_environment()
- validate_environment()
- validate_llm()
- validate_response()
- validate_temperature()
- vcr_config()
- vcr_config()
- vector_store()
- vectors()
- vectorstore()
- visit_structured_query()
- with_config()
- with_config()
- with_structured_output()
- with_structured_output()
- with_structured_output()
- with_structured_output()
- with_structured_output()
- with_structured_output()
- with_structured_output()
- with_structured_output()
- with_structured_output()
- with_structured_output()
- with_structured_output()
- with_structured_output()
- with_structured_output()
- with_structured_output()
- with_structured_output()
- working_tool()
- wrap_model_call()
- wrap_model_call()
- wrap_model_call()
- wrap_model_call()
- wrap_model_call()
- wrap_model_call()
- wrap_model_call()
- wrap_model_call()
- wrap_model_call()
- wrap_model_call()
- wrap_model_call()
- wrap_model_call()
- wrap_model_call()
- wrap_model_call()
- wrap_model_call()
- wrap_model_call()
- wrap_model_call()
- wrap_model_call()
- wrap_model_call()
- wrap_model_call()
- wrap_model_call()
- wrap_model_call()
- wrap_model_call()
- wrap_model_call()
- wrap_model_call()
- wrap_model_call()
- wrap_model_call()
- wrap_model_call()
- wrap_model_call()
- wrap_model_call()
- wrap_model_call()
- wrap_model_call()
- wrap_model_call()
- wrap_model_call()
- wrap_tool_call()
- wrap_tool_call()
- wrap_tool_call()
- wrap_tool_call()
- wrap_tool_call()
- yield_keys()
Source Files
- libs/core/langchain_core/messages/__init__.py
- libs/langchain/langchain_classic/chat_models/__init__.py
- libs/langchain/langchain_classic/memory/chat_message_histories/__init__.py
- libs/core/langchain_core/messages/block_translators/__init__.py
- libs/standard-tests/langchain_tests/unit_tests/__init__.py
- libs/langchain/langchain_classic/tools/human/__init__.py
- libs/partners/anthropic/langchain_anthropic/_client_utils.py
- libs/partners/openai/langchain_openai/chat_models/_client_utils.py
- libs/partners/fireworks/langchain_fireworks/_compat.py
- libs/partners/openai/langchain_openai/chat_models/_compat.py
- libs/partners/groq/langchain_groq/_compat.py
- libs/langchain_v1/langchain/agents/middleware/_redaction.py
- libs/partners/perplexity/langchain_perplexity/_utils.py
- libs/core/langchain_core/agents.py
- libs/core/langchain_core/messages/ai.py
- libs/langchain/langchain_classic/chat_models/anthropic.py
- libs/core/langchain_core/messages/block_translators/anthropic.py
- libs/partners/anthropic/langchain_anthropic/middleware/anthropic_tools.py
- libs/langchain/langchain_classic/chat_models/anyscale.py
- libs/langchain/langchain_classic/memory/chat_message_histories/astradb.py
- libs/langchain/langchain_classic/vectorstores/atlas.py
- libs/partners/openai/langchain_openai/llms/azure.py
- libs/partners/openai/langchain_openai/chat_models/azure.py
- libs/langchain/langchain_classic/document_loaders/azure_ai_data.py
- libs/langchain/langchain_classic/retrievers/azure_ai_search.py
- libs/langchain/langchain_classic/chat_models/azure_openai.py
- libs/langchain/langchain_classic/chat_models/azureml_endpoint.py
- libs/langchain/langchain_classic/vectorstores/azuresearch.py
- libs/langchain/langchain_classic/chat_models/baichuan.py
- libs/langchain/langchain_classic/chat_models/baidu_qianfan_endpoint.py
- libs/core/langchain_core/messages/base.py
- libs/partners/openai/langchain_openai/embeddings/base.py
- libs/langchain/langchain_classic/chat_models/base.py
- libs/langchain/langchain_classic/vectorstores/docarray/base.py
- libs/langchain/langchain_classic/vectorstores/redis/base.py
- libs/partners/openai/langchain_openai/chat_models/base.py
- libs/langchain_v1/langchain/chat_models/base.py
- libs/core/langchain_core/messages/block_translators/bedrock.py
- libs/langchain/langchain_classic/chat_models/bedrock.py
- libs/core/langchain_core/messages/block_translators/bedrock_converse.py
- libs/partners/groq/tests/unit_tests/fake/callbacks.py
- libs/langchain/langchain_classic/vectorstores/cassandra.py
- libs/langchain/langchain_classic/memory/chat_message_histories/cassandra.py
- libs/core/langchain_core/messages/chat.py
- libs/core/langchain_core/outputs/chat_generation.py
- libs/core/langchain_core/chat_history.py
- libs/core/langchain_core/chat_loaders.py
- libs/langchain/langchain_classic/memory/chat_memory.py
- libs/partners/mistralai/langchain_mistralai/chat_models.py
- libs/partners/xai/langchain_xai/chat_models.py
- libs/partners/perplexity/langchain_perplexity/chat_models.py
- libs/core/langchain_core/language_models/chat_models.py
- libs/partners/groq/langchain_groq/chat_models.py
- libs/partners/ollama/langchain_ollama/chat_models.py
- libs/standard-tests/langchain_tests/integration_tests/chat_models.py
- libs/partners/fireworks/langchain_fireworks/chat_models.py
- libs/standard-tests/langchain_tests/unit_tests/chat_models.py
- libs/partners/deepseek/langchain_deepseek/chat_models.py
- libs/partners/anthropic/langchain_anthropic/chat_models.py
- libs/partners/exa/scripts/check_imports.py
- libs/partners/chroma/scripts/check_imports.py
- libs/partners/huggingface/scripts/check_imports.py
- libs/langchain_v1/scripts/check_imports.py
- libs/partners/groq/scripts/check_imports.py
- libs/langchain/langchain_classic/vectorstores/clickhouse.py
- libs/langchain/langchain_classic/chat_models/cohere.py
- libs/partners/qdrant/tests/integration_tests/common.py
- libs/langchain/tests/unit_tests/conftest.py
- libs/standard-tests/langchain_tests/conftest.py
- libs/partners/openai/tests/conftest.py
- libs/langchain_v1/tests/unit_tests/conftest.py
- libs/core/langchain_core/messages/content.py
- libs/langchain/langchain_classic/memory/chat_message_histories/cosmos_db.py
- libs/langchain/langchain_classic/tools/office365/create_draft_message.py
- libs/standard-tests/tests/unit_tests/custom_chat_model.py
- libs/langchain/langchain_classic/chat_models/databricks.py
- libs/langchain/langchain_classic/vectorstores/deeplake.py
- libs/core/langchain_core/_api/deprecation.py
- libs/langchain/langchain_classic/memory/chat_message_histories/dynamodb.py
- libs/langchain/langchain_classic/vectorstores/elastic_vector_search.py
- libs/langchain/langchain_classic/memory/chat_message_histories/elasticsearch.py
- libs/standard-tests/langchain_tests/integration_tests/embeddings.py
- libs/langchain/langchain_classic/chat_models/ernie.py
- libs/langchain/langchain_classic/chat_models/everlyai.py
- libs/core/langchain_core/exceptions.py
- libs/langchain/langchain_classic/document_loaders/facebook_chat.py
- libs/langchain/langchain_classic/chat_loaders/facebook_messenger.py
- libs/langchain_v1/langchain/agents/factory.py
- libs/langchain/langchain_classic/vectorstores/faiss.py
- libs/langchain/langchain_classic/chat_models/fake.py
- libs/langchain/tests/unit_tests/llms/fake_chat_model.py
- libs/core/langchain_core/language_models/fake_chat_models.py
- libs/langchain/tests/unit_tests/llms/fake_llm.py
- libs/langchain/langchain_classic/memory/chat_message_histories/file.py
- libs/langchain_v1/langchain/agents/middleware/file_search.py
- libs/langchain/langchain_classic/document_loaders/blob_loaders/file_system.py
- libs/langchain/langchain_classic/storage/file_system.py
- libs/langchain/langchain_classic/memory/chat_message_histories/firestore.py
- libs/langchain/langchain_classic/chat_models/fireworks.py
- libs/core/langchain_core/messages/function.py
- libs/langchain/langchain_classic/tools/gmail/get_message.py
- libs/langchain/langchain_classic/tools/slack/get_message.py
- libs/langchain/langchain_classic/chat_models/gigachat.py
- libs/langchain/langchain_classic/chat_loaders/gmail.py
- libs/core/langchain_core/messages/block_translators/google_genai.py
- libs/langchain/langchain_classic/chat_models/google_palm.py
- libs/langchain/langchain_classic/retrievers/google_vertex_ai_search.py
- libs/core/langchain_core/messages/block_translators/google_vertexai.py
- libs/langchain/langchain_classic/llms/gradient_ai.py
- libs/langchain/langchain_classic/embeddings/gradient_ai.py
- libs/core/langchain_core/messages/block_translators/groq.py
- libs/langchain/tests/integration_tests/examples/hello_world.py
- libs/partners/huggingface/langchain_huggingface/chat_models/huggingface.py
- libs/langchain/langchain_classic/llms/human.py
- libs/core/langchain_core/messages/human.py
- libs/langchain/langchain_classic/callbacks/human.py
- libs/langchain/langchain_classic/chat_models/human.py
- libs/langchain/langchain_classic/chat_models/hunyuan.py
- libs/langchain/langchain_classic/chat_loaders/imessage.py
- libs/partners/huggingface/langchain_huggingface/utils/import_utils.py
- libs/langchain/langchain_classic/llms/javelin_ai_gateway.py
- libs/langchain/langchain_classic/embeddings/javelin_ai_gateway.py
- libs/langchain/langchain_classic/chat_models/javelin_ai_gateway.py
- libs/langchain/langchain_classic/chat_models/jinachat.py
- libs/langchain/langchain_classic/evaluation/parsing/json_schema.py
- libs/core/langchain_core/utils/json_schema.py
- libs/langchain/langchain_classic/chat_models/konko.py
- libs/langchain/langchain_classic/vectorstores/lancedb.py
- libs/core/langchain_core/messages/block_translators/langchain_v0.py
- libs/langchain/langchain_classic/chat_loaders/langsmith.py
- libs/langchain/langchain_classic/chat_models/litellm.py
- libs/langchain/langchain_classic/vectorstores/matching_engine.py
- libs/langchain_v1/tests/unit_tests/agents/messages.py
- libs/langchain/langchain_classic/tools/office365/messages_search.py
- libs/langchain/langchain_classic/chat_models/meta.py
- libs/langchain/langchain_classic/chat_models/minimax.py
- libs/langchain/langchain_classic/chat_models/mlflow.py
- libs/langchain/langchain_classic/llms/mlflow_ai_gateway.py
- libs/langchain/langchain_classic/chat_models/mlflow_ai_gateway.py
- libs/langchain_v1/tests/unit_tests/agents/model.py
- libs/langchain_v1/langchain/agents/middleware/model_retry.py
- libs/core/langchain_core/messages/modifier.py
- libs/langchain/langchain_classic/memory/chat_message_histories/momento.py
- libs/langchain/langchain_classic/vectorstores/momento_vector_index.py
- libs/langchain/langchain_classic/memory/chat_message_histories/mongodb.py
- libs/langchain/langchain_classic/memory/chat_message_histories/neo4j.py
- libs/langchain/langchain_classic/vectorstores/neo4j_vector.py
- libs/langchain/langchain_classic/chat_models/ollama.py
- libs/langchain/langchain_classic/chat_models/openai.py
- libs/core/langchain_core/messages/block_translators/openai.py
- libs/partners/anthropic/langchain_anthropic/output_parsers.py
- libs/langchain/langchain_classic/chat_models/pai_eas_endpoint.py
- libs/langchain/langchain_classic/vectorstores/pgembedding.py
- libs/langchain/langchain_classic/vectorstores/pinecone.py
- libs/langchain/langchain_classic/memory/chat_message_histories/postgres.py
- libs/langchain/langchain_classic/chat_models/promptlayer_openai.py
- libs/standard-tests/langchain_tests/utils/pydantic.py
- libs/langchain/langchain_classic/memory/chat_message_histories/redis.py
- libs/langchain/langchain_classic/memory/chat_message_histories/rocksetdb.py
- libs/langchain/langchain_classic/vectorstores/scann.py
- libs/langchain/langchain_classic/tools/slack/schedule_message.py
- libs/langchain/langchain_classic/document_loaders/blob_loaders/schema.py
- libs/core/langchain_core/runnables/schema.py
- libs/langchain/langchain_classic/vectorstores/redis/schema.py
- libs/langchain/langchain_classic/evaluation/schema.py
- libs/langchain/langchain_classic/tools/office365/send_message.py
- libs/langchain/langchain_classic/tools/gmail/send_message.py
- libs/langchain/langchain_classic/tools/slack/send_message.py
- libs/langchain/langchain_classic/memory/chat_message_histories/singlestoredb.py
- libs/langchain/langchain_classic/vectorstores/sklearn.py
- libs/langchain/langchain_classic/chat_loaders/slack.py
- libs/partners/qdrant/langchain_qdrant/sparse_embeddings.py
- libs/langchain/langchain_classic/memory/chat_message_histories/sql.py
- libs/langchain/langchain_classic/memory/chat_message_histories/streamlit.py
- libs/langchain/langchain_classic/smith/evaluation/string_run_evaluator.py
- libs/langchain_v1/langchain/agents/structured_output.py
- libs/langchain/langchain_classic/vectorstores/supabase.py
- libs/core/langchain_core/messages/system.py
- libs/langchain/langchain_classic/chat_loaders/telegram.py
- libs/partners/qdrant/tests/integration_tests/qdrant_vector_store/test_add_texts.py
- libs/partners/qdrant/tests/integration_tests/test_add_texts.py
- libs/langchain/tests/unit_tests/schema/test_agent.py
- libs/langchain/tests/unit_tests/agents/test_agent_async.py
- libs/langchain_v1/tests/unit_tests/agents/test_agent_name.py
- libs/core/tests/unit_tests/messages/test_ai.py
- libs/core/tests/unit_tests/messages/block_translators/test_anthropic.py
- libs/langchain/tests/unit_tests/indexes/test_api.py
- libs/partners/ollama/tests/unit_tests/test_auth.py
- libs/partners/openai/tests/integration_tests/llms/test_azure.py
- libs/partners/openai/tests/integration_tests/chat_models/test_azure.py
- libs/partners/openai/tests/unit_tests/chat_models/test_azure.py
- libs/partners/openai/tests/unit_tests/chat_models/test_azure_standard.py
- libs/partners/openai/tests/integration_tests/chat_models/test_azure_standard.py
- libs/langchain/tests/unit_tests/llms/test_base.py
- libs/partners/openai/tests/unit_tests/llms/test_base.py
- libs/langchain_v1/tests/integration_tests/chat_models/test_base.py
- libs/langchain/tests/unit_tests/chat_models/test_base.py
- libs/langchain/tests/unit_tests/prompts/test_base.py
- libs/partners/openai/tests/integration_tests/llms/test_base.py
- libs/core/tests/unit_tests/language_models/chat_models/test_base.py
- libs/langchain/tests/unit_tests/embeddings/test_base.py
- libs/langchain/tests/unit_tests/tools/test_base.py
- libs/langchain/tests/integration_tests/chat_models/test_base.py
- libs/partners/openai/tests/unit_tests/chat_models/test_base.py
- libs/partners/openai/tests/integration_tests/chat_models/test_base.py
- libs/partners/openai/tests/unit_tests/chat_models/test_base_standard.py
- libs/partners/openai/tests/integration_tests/chat_models/test_base_standard.py
- libs/standard-tests/tests/unit_tests/test_basic_retriever.py
- libs/core/tests/unit_tests/messages/block_translators/test_bedrock.py
- libs/core/tests/unit_tests/messages/block_translators/test_bedrock_converse.py
- libs/core/tests/unit_tests/language_models/chat_models/test_benchmark.py
- libs/langchain/tests/unit_tests/schema/test_cache.py
- libs/core/tests/unit_tests/language_models/chat_models/test_cache.py
- libs/langchain/tests/unit_tests/embeddings/test_caching.py
- libs/langchain/tests/unit_tests/schema/test_chat.py
- libs/langchain/tests/unit_tests/agents/test_chat.py
- libs/langchain/tests/unit_tests/prompts/test_chat.py
- libs/core/tests/unit_tests/prompts/test_chat.py
- libs/core/tests/unit_tests/outputs/test_chat_generation.py
- libs/langchain/tests/unit_tests/schema/test_chat_history.py
- libs/core/tests/unit_tests/chat_history/test_chat_history.py
- libs/partners/groq/tests/integration_tests/test_chat_models.py
- libs/partners/mistralai/tests/unit_tests/test_chat_models.py
- libs/partners/anthropic/tests/unit_tests/test_chat_models.py
- libs/partners/perplexity/tests/unit_tests/test_chat_models.py
- libs/partners/mistralai/tests/integration_tests/test_chat_models.py
- libs/langchain_v1/tests/unit_tests/chat_models/test_chat_models.py
- libs/partners/ollama/tests/unit_tests/test_chat_models.py
- libs/partners/groq/tests/unit_tests/test_chat_models.py
- libs/partners/huggingface/tests/integration_tests/test_chat_models.py
- libs/partners/xai/tests/integration_tests/test_chat_models.py
- libs/partners/ollama/tests/integration_tests/chat_models/test_chat_models.py
- libs/partners/perplexity/tests/integration_tests/test_chat_models.py
- libs/partners/huggingface/tests/unit_tests/test_chat_models.py
- libs/partners/xai/tests/unit_tests/test_chat_models.py
- libs/partners/deepseek/tests/unit_tests/test_chat_models.py
- libs/partners/anthropic/tests/integration_tests/test_chat_models.py
- libs/partners/fireworks/tests/integration_tests/test_chat_models.py
- libs/partners/deepseek/tests/integration_tests/test_chat_models.py
- libs/partners/fireworks/tests/unit_tests/test_chat_models.py
- libs/partners/ollama/tests/integration_tests/chat_models/test_chat_models_reasoning.py
- libs/partners/xai/tests/integration_tests/test_chat_models_standard.py
- libs/partners/xai/tests/unit_tests/test_chat_models_standard.py
- libs/partners/perplexity/tests/unit_tests/test_chat_models_standard.py
- libs/partners/ollama/tests/integration_tests/chat_models/test_chat_models_standard.py
- libs/partners/perplexity/tests/integration_tests/test_chat_models_standard.py
- libs/langchain/tests/unit_tests/memory/test_combined_memory.py
- libs/langchain/tests/unit_tests/output_parsers/test_combining_parser.py
- libs/langchain_v1/tests/integration_tests/test_compile.py
- libs/partners/nomic/tests/integration_tests/test_compile.py
- libs/model-profiles/tests/integration_tests/test_compile.py
- libs/partners/perplexity/tests/integration_tests/test_compile.py
- libs/partners/xai/tests/integration_tests/test_compile.py
- libs/partners/anthropic/tests/integration_tests/test_compile.py
- libs/partners/deepseek/tests/integration_tests/test_compile.py
- libs/partners/ollama/tests/integration_tests/test_compile.py
- libs/langchain/tests/unit_tests/agents/output_parsers/test_convo_output_parser.py
- libs/standard-tests/tests/unit_tests/test_custom_chat_model.py
- libs/standard-tests/tests/unit_tests/test_decorated_tool.py
- libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_decorators.py
- libs/langchain_v1/tests/unit_tests/test_dependencies.py
- libs/langchain/tests/unit_tests/test_dependencies.py
- libs/core/tests/unit_tests/prompts/test_dict.py
- libs/langchain/tests/unit_tests/schema/test_document.py
- libs/langchain/tests/integration_tests/evaluation/embedding_distance/test_embedding.py
- libs/partners/fireworks/tests/integration_tests/test_embeddings.py
- libs/partners/mistralai/tests/integration_tests/test_embeddings.py
- libs/langchain/tests/unit_tests/schema/test_embeddings.py
- libs/partners/fireworks/tests/unit_tests/test_embeddings.py
- libs/langchain/tests/unit_tests/output_parsers/test_enum_parser.py
- libs/langchain/tests/unit_tests/evaluation/comparison/test_eval_chain.py
- libs/langchain/tests/unit_tests/schema/test_exceptions.py
- libs/langchain/tests/unit_tests/llms/test_fake_chat_model.py
- libs/core/tests/unit_tests/fake/test_fake_chat_model.py
- libs/partners/qdrant/tests/integration_tests/fastembed/test_fastembed_sparse.py
- libs/langchain_v1/tests/unit_tests/agents/test_fetch_last_ai_and_tool_messages.py
- libs/langchain/tests/unit_tests/callbacks/test_file.py
- libs/partners/anthropic/tests/unit_tests/middleware/test_file_search.py
- libs/langchain/tests/unit_tests/storage/test_filesystem.py
- libs/langchain/tests/unit_tests/test_formatting.py
- libs/partners/qdrant/tests/integration_tests/test_from_existing_collection.py
- libs/partners/qdrant/tests/integration_tests/async_api/test_from_texts.py
- libs/langchain/tests/unit_tests/test_globals.py
- libs/core/tests/unit_tests/messages/block_translators/test_google_genai.py
- libs/core/tests/unit_tests/messages/block_translators/test_groq.py
- libs/partners/openai/tests/unit_tests/llms/test_imports.py
- libs/langchain/tests/unit_tests/memory/chat_message_histories/test_imports.py
- libs/langchain/tests/unit_tests/chat_models/test_imports.py
- libs/langchain/tests/unit_tests/utilities/test_imports.py
- libs/core/tests/unit_tests/messages/test_imports.py
- libs/langchain/tests/unit_tests/prompts/test_imports.py
- libs/partners/groq/tests/unit_tests/test_imports.py
- libs/langchain/tests/unit_tests/output_parsers/test_imports.py
- libs/langchain/tests/unit_tests/schema/test_imports.py
- libs/langchain_v1/tests/unit_tests/tools/test_imports.py
- libs/langchain/tests/unit_tests/test_imports.py
- libs/partners/anthropic/tests/unit_tests/test_imports.py
- libs/langchain/tests/unit_tests/memory/test_imports.py
- libs/partners/openai/tests/unit_tests/chat_models/test_imports.py
- libs/standard-tests/tests/unit_tests/test_in_memory_base_store.py
- libs/standard-tests/tests/unit_tests/test_in_memory_vectorstore.py
- libs/langchain_v1/tests/unit_tests/agents/test_injected_runtime_create_agent.py
- libs/langchain/tests/unit_tests/agents/output_parsers/test_json.py
- libs/langchain/tests/unit_tests/evaluation/parsing/test_json_distance.py
- libs/langchain/tests/unit_tests/evaluation/parsing/test_json_schema.py
- libs/core/tests/unit_tests/utils/test_json_schema.py
- libs/langchain_v1/tests/unit_tests/agents/test_kwargs_tool_runtime_injection.py
- libs/core/tests/unit_tests/messages/block_translators/test_langchain_v0.py
- libs/langchain/tests/unit_tests/schema/test_language_model.py
- libs/langchain/tests/integration_tests/retrievers/document_compressors/test_listwise_rerank.py
- libs/langchain/tests/unit_tests/retrievers/document_compressors/test_listwise_rerank.py
- libs/partners/ollama/tests/integration_tests/test_llms.py
- libs/partners/ollama/tests/unit_tests/test_llms.py
- libs/partners/huggingface/tests/integration_tests/test_llms.py
- libs/langchain/tests/unit_tests/agents/format_scratchpad/test_log.py
- libs/langchain/tests/unit_tests/agents/format_scratchpad/test_log_to_messages.py
- libs/langchain/tests/unit_tests/callbacks/test_manager.py
- libs/partners/qdrant/tests/integration_tests/async_api/test_max_marginal_relevance.py
- libs/langchain/tests/unit_tests/schema/test_memory.py
- libs/core/tests/unit_tests/test_messages.py
- libs/langchain/tests/unit_tests/schema/test_messages.py
- libs/langchain_v1/tests/unit_tests/agents/middleware_typing/test_middleware_type_errors.py
- libs/langchain/tests/unit_tests/agents/test_mrkl.py
- libs/langchain/tests/unit_tests/agents/test_mrkl_output_parser.py
- libs/langchain/tests/unit_tests/retrievers/test_multi_query.py
- libs/langchain/tests/unit_tests/retrievers/test_multi_vector.py
- libs/text-splitters/tests/integration_tests/test_nlp_text_splitters.py
- libs/core/tests/unit_tests/messages/block_translators/test_openai.py
- libs/langchain/tests/unit_tests/utils/test_openai_functions.py
- libs/langchain/tests/unit_tests/agents/output_parsers/test_openai_functions.py
- libs/langchain/tests/unit_tests/agents/format_scratchpad/test_openai_functions.py
- libs/langchain/tests/unit_tests/agents/test_openai_functions_multi.py
- libs/langchain/tests/unit_tests/agents/format_scratchpad/test_openai_tools.py
- libs/core/tests/unit_tests/output_parsers/test_openai_tools.py
- libs/langchain/tests/unit_tests/schema/test_output.py
- libs/langchain/tests/unit_tests/schema/test_output_parser.py
- libs/partners/perplexity/tests/unit_tests/test_output_parsers.py
- libs/langchain/tests/unit_tests/retrievers/test_parent_document.py
- libs/langchain/tests/unit_tests/schema/test_prompt.py
- libs/partners/openai/tests/unit_tests/chat_models/test_prompt_cache_key.py
- libs/langchain/tests/unit_tests/schema/test_prompt_template.py
- libs/core/tests/unit_tests/test_prompt_values.py
- libs/langchain/tests/unit_tests/document_loaders/blob_loaders/test_public_api.py
- libs/langchain/tests/unit_tests/agents/test_public_api.py
- libs/core/tests/unit_tests/test_pydantic_serde.py
- libs/langchain/tests/unit_tests/test_pytest_config.py
- libs/core/tests/unit_tests/language_models/chat_models/test_rate_limiting.py
- libs/langchain/tests/unit_tests/agents/output_parsers/test_react_single_input.py
- libs/langchain/tests/unit_tests/output_parsers/test_regex_dict.py
- libs/core/tests/unit_tests/messages/block_translators/test_registration.py
- libs/langchain_v1/tests/unit_tests/agents/test_response_format.py
- libs/langchain_v1/tests/unit_tests/agents/test_response_format_integration.py
- libs/partners/openai/tests/integration_tests/chat_models/test_responses_api.py
- libs/langchain_v1/tests/unit_tests/agents/test_responses_spec.py
- libs/partners/openai/tests/unit_tests/chat_models/test_responses_standard.py
- libs/partners/openai/tests/integration_tests/chat_models/test_responses_standard.py
- libs/partners/openai/tests/unit_tests/chat_models/test_responses_stream.py
- libs/langchain/tests/unit_tests/schema/test_retriever.py
- libs/partners/exa/tests/integration_tests/test_retriever.py
- libs/langchain/tests/unit_tests/output_parsers/test_retry.py
- libs/langchain_v1/tests/unit_tests/agents/test_return_direct_graph.py
- libs/langchain_v1/tests/unit_tests/agents/test_return_direct_spec.py
- libs/langchain/tests/unit_tests/smith/evaluation/test_runner_utils.py
- libs/langchain/tests/unit_tests/test_schema.py
- libs/langchain/tests/integration_tests/test_schema.py
- libs/partners/exa/tests/integration_tests/test_search_tool.py
- libs/partners/openai/tests/unit_tests/test_secrets.py
- libs/partners/perplexity/tests/unit_tests/test_secrets.py
- libs/partners/xai/tests/unit_tests/test_secrets.py
- libs/langchain/tests/unit_tests/agents/output_parsers/test_self_ask.py
- libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_shell_execution_policies.py
- libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_shell_tool.py
- libs/partners/mistralai/tests/integration_tests/test_standard.py
- libs/partners/fireworks/tests/integration_tests/test_standard.py
- libs/partners/nomic/tests/unit_tests/test_standard.py
- libs/partners/mistralai/tests/unit_tests/test_standard.py
- libs/partners/groq/tests/unit_tests/test_standard.py
- libs/partners/huggingface/tests/integration_tests/test_standard.py
- libs/partners/groq/tests/integration_tests/test_standard.py
- libs/partners/exa/tests/unit_tests/test_standard.py
- libs/partners/chroma/tests/unit_tests/test_standard.py
- libs/langchain_v1/tests/unit_tests/agents/test_state_schema.py
- libs/langchain/tests/unit_tests/schema/test_storage.py
- libs/core/tests/unit_tests/prompts/test_string.py
- libs/langchain/tests/unit_tests/agents/test_structured_chat.py
- libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_structured_output_retry.py
- libs/langchain_v1/tests/unit_tests/agents/test_system_message.py
- libs/text-splitters/tests/integration_tests/test_text_splitter.py
- libs/partners/openai/tests/unit_tests/test_token_counts.py
- libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_tool_emulator.py
- libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_tool_retry.py
- libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_tool_selection.py
- libs/core/tests/unit_tests/messages/test_utils.py
- libs/langchain/tests/unit_tests/schema/test_vectorstore.py
- libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_wrap_model_call.py
- libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_wrap_model_call_state_update.py
- libs/langchain/tests/unit_tests/output_parsers/test_yaml_parser.py
- libs/langchain/langchain_classic/vectorstores/tiledb.py
- libs/langchain_v1/langchain/agents/middleware/todo.py
- libs/langchain/langchain_classic/chat_models/tongyi.py
- libs/langchain/langchain_classic/tools/human/tool.py
- libs/core/langchain_core/messages/tool.py
- libs/partners/perplexity/langchain_perplexity/tools.py
- libs/standard-tests/langchain_tests/integration_tests/tools.py
- libs/langchain/langchain_classic/memory/chat_message_histories/upstash_redis.py
- libs/langchain/langchain_classic/vectorstores/usearch.py
- libs/langchain/langchain_classic/chat_loaders/utils.py
- libs/core/langchain_core/messages/utils.py
- libs/langchain/langchain_classic/vectorstores/vearch.py
- libs/standard-tests/langchain_tests/integration_tests/vectorstores.py
- libs/partners/chroma/langchain_chroma/vectorstores.py
- libs/partners/fireworks/langchain_fireworks/version.py
- libs/langchain/langchain_classic/chat_models/vertexai.py
- libs/langchain/langchain_classic/chat_models/volcengine_maas.py
- libs/langchain/langchain_classic/vectorstores/weaviate.py
- libs/langchain/langchain_classic/chat_loaders/whatsapp.py
- libs/langchain/langchain_classic/document_loaders/whatsapp_chat.py
- libs/langchain/langchain_classic/memory/chat_message_histories/xata.py
- libs/langchain/langchain_classic/chat_models/yandex.py
- libs/langchain/langchain_classic/vectorstores/zep.py
- libs/langchain/langchain_classic/memory/chat_message_histories/zep.py
Source
- libs/core/langchain_core/messages/__init__.py
- libs/langchain/langchain_classic/chat_models/__init__.py
- libs/langchain/langchain_classic/memory/chat_message_histories/__init__.py
- libs/core/langchain_core/messages/block_translators/__init__.py
- libs/standard-tests/langchain_tests/unit_tests/__init__.py
- libs/langchain/langchain_classic/tools/human/__init__.py
- libs/partners/anthropic/langchain_anthropic/_client_utils.py
- libs/partners/openai/langchain_openai/chat_models/_client_utils.py
- libs/partners/fireworks/langchain_fireworks/_compat.py
- libs/partners/openai/langchain_openai/chat_models/_compat.py
- libs/partners/groq/langchain_groq/_compat.py
- libs/langchain_v1/langchain/agents/middleware/_redaction.py
- libs/partners/perplexity/langchain_perplexity/_utils.py
- libs/core/langchain_core/agents.py
- libs/core/langchain_core/messages/ai.py
- libs/langchain/langchain_classic/chat_models/anthropic.py
- libs/core/langchain_core/messages/block_translators/anthropic.py
- libs/partners/anthropic/langchain_anthropic/middleware/anthropic_tools.py
- libs/langchain/langchain_classic/chat_models/anyscale.py
- libs/langchain/langchain_classic/memory/chat_message_histories/astradb.py
- libs/langchain/langchain_classic/vectorstores/atlas.py
- libs/partners/openai/langchain_openai/llms/azure.py
- libs/partners/openai/langchain_openai/chat_models/azure.py
- libs/langchain/langchain_classic/document_loaders/azure_ai_data.py
- libs/langchain/langchain_classic/retrievers/azure_ai_search.py
- libs/langchain/langchain_classic/chat_models/azure_openai.py
- libs/langchain/langchain_classic/chat_models/azureml_endpoint.py
- libs/langchain/langchain_classic/vectorstores/azuresearch.py
- libs/langchain/langchain_classic/chat_models/baichuan.py
- libs/langchain/langchain_classic/chat_models/baidu_qianfan_endpoint.py
- libs/core/langchain_core/messages/base.py
- libs/partners/openai/langchain_openai/embeddings/base.py
- libs/langchain/langchain_classic/chat_models/base.py
- libs/langchain/langchain_classic/vectorstores/docarray/base.py
- libs/langchain/langchain_classic/vectorstores/redis/base.py
- libs/partners/openai/langchain_openai/chat_models/base.py
- libs/langchain_v1/langchain/chat_models/base.py
- libs/core/langchain_core/messages/block_translators/bedrock.py
- libs/langchain/langchain_classic/chat_models/bedrock.py
- libs/core/langchain_core/messages/block_translators/bedrock_converse.py
- libs/partners/groq/tests/unit_tests/fake/callbacks.py
- libs/langchain/langchain_classic/vectorstores/cassandra.py
- libs/langchain/langchain_classic/memory/chat_message_histories/cassandra.py
- libs/core/langchain_core/messages/chat.py
- libs/core/langchain_core/outputs/chat_generation.py
- libs/core/langchain_core/chat_history.py
- libs/core/langchain_core/chat_loaders.py
- libs/langchain/langchain_classic/memory/chat_memory.py
- libs/partners/mistralai/langchain_mistralai/chat_models.py
- libs/partners/xai/langchain_xai/chat_models.py
- libs/partners/perplexity/langchain_perplexity/chat_models.py
- libs/core/langchain_core/language_models/chat_models.py
- libs/partners/groq/langchain_groq/chat_models.py
- libs/partners/ollama/langchain_ollama/chat_models.py
- libs/standard-tests/langchain_tests/integration_tests/chat_models.py
- libs/partners/fireworks/langchain_fireworks/chat_models.py
- libs/standard-tests/langchain_tests/unit_tests/chat_models.py
- libs/partners/deepseek/langchain_deepseek/chat_models.py
- libs/partners/anthropic/langchain_anthropic/chat_models.py
- libs/partners/exa/scripts/check_imports.py
- libs/partners/chroma/scripts/check_imports.py
- libs/partners/huggingface/scripts/check_imports.py
- libs/langchain_v1/scripts/check_imports.py
- libs/partners/groq/scripts/check_imports.py
- libs/langchain/langchain_classic/vectorstores/clickhouse.py
- libs/langchain/langchain_classic/chat_models/cohere.py
- libs/partners/qdrant/tests/integration_tests/common.py
- libs/langchain/tests/unit_tests/conftest.py
- libs/standard-tests/langchain_tests/conftest.py
- libs/partners/openai/tests/conftest.py
- libs/langchain_v1/tests/unit_tests/conftest.py
- libs/core/langchain_core/messages/content.py
- libs/langchain/langchain_classic/memory/chat_message_histories/cosmos_db.py
- libs/langchain/langchain_classic/tools/office365/create_draft_message.py
- libs/standard-tests/tests/unit_tests/custom_chat_model.py
- libs/langchain/langchain_classic/chat_models/databricks.py
- libs/langchain/langchain_classic/vectorstores/deeplake.py
- libs/core/langchain_core/_api/deprecation.py
- libs/langchain/langchain_classic/memory/chat_message_histories/dynamodb.py
- libs/langchain/langchain_classic/vectorstores/elastic_vector_search.py
- libs/langchain/langchain_classic/memory/chat_message_histories/elasticsearch.py
- libs/standard-tests/langchain_tests/integration_tests/embeddings.py
- libs/langchain/langchain_classic/chat_models/ernie.py
- libs/langchain/langchain_classic/chat_models/everlyai.py
- libs/core/langchain_core/exceptions.py
- libs/langchain/langchain_classic/document_loaders/facebook_chat.py
- libs/langchain/langchain_classic/chat_loaders/facebook_messenger.py
- libs/langchain_v1/langchain/agents/factory.py
- libs/langchain/langchain_classic/vectorstores/faiss.py
- libs/langchain/langchain_classic/chat_models/fake.py
- libs/langchain/tests/unit_tests/llms/fake_chat_model.py
- libs/core/langchain_core/language_models/fake_chat_models.py
- libs/langchain/tests/unit_tests/llms/fake_llm.py
- libs/langchain/langchain_classic/memory/chat_message_histories/file.py
- libs/langchain_v1/langchain/agents/middleware/file_search.py
- libs/langchain/langchain_classic/document_loaders/blob_loaders/file_system.py
- libs/langchain/langchain_classic/storage/file_system.py
- libs/langchain/langchain_classic/memory/chat_message_histories/firestore.py
- libs/langchain/langchain_classic/chat_models/fireworks.py
- libs/core/langchain_core/messages/function.py
- libs/langchain/langchain_classic/tools/gmail/get_message.py
- libs/langchain/langchain_classic/tools/slack/get_message.py
- libs/langchain/langchain_classic/chat_models/gigachat.py
- libs/langchain/langchain_classic/chat_loaders/gmail.py
- libs/core/langchain_core/messages/block_translators/google_genai.py
- libs/langchain/langchain_classic/chat_models/google_palm.py
- libs/langchain/langchain_classic/retrievers/google_vertex_ai_search.py
- libs/core/langchain_core/messages/block_translators/google_vertexai.py
- libs/langchain/langchain_classic/llms/gradient_ai.py
- libs/langchain/langchain_classic/embeddings/gradient_ai.py
- libs/core/langchain_core/messages/block_translators/groq.py
- libs/langchain/tests/integration_tests/examples/hello_world.py
- libs/partners/huggingface/langchain_huggingface/chat_models/huggingface.py
- libs/langchain/langchain_classic/llms/human.py
- libs/core/langchain_core/messages/human.py
- libs/langchain/langchain_classic/callbacks/human.py
- libs/langchain/langchain_classic/chat_models/human.py
- libs/langchain/langchain_classic/chat_models/hunyuan.py
- libs/langchain/langchain_classic/chat_loaders/imessage.py
- libs/partners/huggingface/langchain_huggingface/utils/import_utils.py
- libs/langchain/langchain_classic/llms/javelin_ai_gateway.py
- libs/langchain/langchain_classic/embeddings/javelin_ai_gateway.py
- libs/langchain/langchain_classic/chat_models/javelin_ai_gateway.py
- libs/langchain/langchain_classic/chat_models/jinachat.py
- libs/langchain/langchain_classic/evaluation/parsing/json_schema.py
- libs/core/langchain_core/utils/json_schema.py
- libs/langchain/langchain_classic/chat_models/konko.py
- libs/langchain/langchain_classic/vectorstores/lancedb.py
- libs/core/langchain_core/messages/block_translators/langchain_v0.py
- libs/langchain/langchain_classic/chat_loaders/langsmith.py
- libs/langchain/langchain_classic/chat_models/litellm.py
- libs/langchain/langchain_classic/vectorstores/matching_engine.py
- libs/langchain_v1/tests/unit_tests/agents/messages.py
- libs/langchain/langchain_classic/tools/office365/messages_search.py
- libs/langchain/langchain_classic/chat_models/meta.py
- libs/langchain/langchain_classic/chat_models/minimax.py
- libs/langchain/langchain_classic/chat_models/mlflow.py
- libs/langchain/langchain_classic/llms/mlflow_ai_gateway.py
- libs/langchain/langchain_classic/chat_models/mlflow_ai_gateway.py
- libs/langchain_v1/tests/unit_tests/agents/model.py
- libs/langchain_v1/langchain/agents/middleware/model_retry.py
- libs/core/langchain_core/messages/modifier.py
- libs/langchain/langchain_classic/memory/chat_message_histories/momento.py
- libs/langchain/langchain_classic/vectorstores/momento_vector_index.py
- libs/langchain/langchain_classic/memory/chat_message_histories/mongodb.py
- libs/langchain/langchain_classic/memory/chat_message_histories/neo4j.py
- libs/langchain/langchain_classic/vectorstores/neo4j_vector.py
- libs/langchain/langchain_classic/chat_models/ollama.py
- libs/langchain/langchain_classic/chat_models/openai.py
- libs/core/langchain_core/messages/block_translators/openai.py
- libs/partners/anthropic/langchain_anthropic/output_parsers.py
- libs/langchain/langchain_classic/chat_models/pai_eas_endpoint.py
- libs/langchain/langchain_classic/vectorstores/pgembedding.py
- libs/langchain/langchain_classic/vectorstores/pinecone.py
- libs/langchain/langchain_classic/memory/chat_message_histories/postgres.py
- libs/langchain/langchain_classic/chat_models/promptlayer_openai.py
- libs/standard-tests/langchain_tests/utils/pydantic.py
- libs/langchain/langchain_classic/memory/chat_message_histories/redis.py
- libs/langchain/langchain_classic/memory/chat_message_histories/rocksetdb.py
- libs/langchain/langchain_classic/vectorstores/scann.py
- libs/langchain/langchain_classic/tools/slack/schedule_message.py
- libs/langchain/langchain_classic/document_loaders/blob_loaders/schema.py
- libs/core/langchain_core/runnables/schema.py
- libs/langchain/langchain_classic/vectorstores/redis/schema.py
- libs/langchain/langchain_classic/evaluation/schema.py
- libs/langchain/langchain_classic/tools/office365/send_message.py
- libs/langchain/langchain_classic/tools/gmail/send_message.py
- libs/langchain/langchain_classic/tools/slack/send_message.py
- libs/langchain/langchain_classic/memory/chat_message_histories/singlestoredb.py
- libs/langchain/langchain_classic/vectorstores/sklearn.py
- libs/langchain/langchain_classic/chat_loaders/slack.py
- libs/partners/qdrant/langchain_qdrant/sparse_embeddings.py
- libs/langchain/langchain_classic/memory/chat_message_histories/sql.py
- libs/langchain/langchain_classic/memory/chat_message_histories/streamlit.py
- libs/langchain/langchain_classic/smith/evaluation/string_run_evaluator.py
- libs/langchain_v1/langchain/agents/structured_output.py
- libs/langchain/langchain_classic/vectorstores/supabase.py
- libs/core/langchain_core/messages/system.py
- libs/langchain/langchain_classic/chat_loaders/telegram.py
- libs/partners/qdrant/tests/integration_tests/qdrant_vector_store/test_add_texts.py
- libs/partners/qdrant/tests/integration_tests/test_add_texts.py
- libs/langchain/tests/unit_tests/schema/test_agent.py
- libs/langchain/tests/unit_tests/agents/test_agent_async.py
- libs/langchain_v1/tests/unit_tests/agents/test_agent_name.py
- libs/core/tests/unit_tests/messages/test_ai.py
- libs/core/tests/unit_tests/messages/block_translators/test_anthropic.py
- libs/langchain/tests/unit_tests/indexes/test_api.py
- libs/partners/ollama/tests/unit_tests/test_auth.py
- libs/partners/openai/tests/integration_tests/llms/test_azure.py
- libs/partners/openai/tests/integration_tests/chat_models/test_azure.py
- libs/partners/openai/tests/unit_tests/chat_models/test_azure.py
- libs/partners/openai/tests/unit_tests/chat_models/test_azure_standard.py
- libs/partners/openai/tests/integration_tests/chat_models/test_azure_standard.py
- libs/langchain/tests/unit_tests/llms/test_base.py
- libs/partners/openai/tests/unit_tests/llms/test_base.py
- libs/langchain_v1/tests/integration_tests/chat_models/test_base.py
- libs/langchain/tests/unit_tests/chat_models/test_base.py
- libs/langchain/tests/unit_tests/prompts/test_base.py
- libs/partners/openai/tests/integration_tests/llms/test_base.py
- libs/core/tests/unit_tests/language_models/chat_models/test_base.py
- libs/langchain/tests/unit_tests/embeddings/test_base.py
- libs/langchain/tests/unit_tests/tools/test_base.py
- libs/langchain/tests/integration_tests/chat_models/test_base.py
- libs/partners/openai/tests/unit_tests/chat_models/test_base.py
- libs/partners/openai/tests/integration_tests/chat_models/test_base.py
- libs/partners/openai/tests/unit_tests/chat_models/test_base_standard.py
- libs/partners/openai/tests/integration_tests/chat_models/test_base_standard.py
- libs/standard-tests/tests/unit_tests/test_basic_retriever.py
- libs/core/tests/unit_tests/messages/block_translators/test_bedrock.py
- libs/core/tests/unit_tests/messages/block_translators/test_bedrock_converse.py
- libs/core/tests/unit_tests/language_models/chat_models/test_benchmark.py
- libs/langchain/tests/unit_tests/schema/test_cache.py
- libs/core/tests/unit_tests/language_models/chat_models/test_cache.py
- libs/langchain/tests/unit_tests/embeddings/test_caching.py
- libs/langchain/tests/unit_tests/schema/test_chat.py
- libs/langchain/tests/unit_tests/agents/test_chat.py
- libs/langchain/tests/unit_tests/prompts/test_chat.py
- libs/core/tests/unit_tests/prompts/test_chat.py
- libs/core/tests/unit_tests/outputs/test_chat_generation.py
- libs/langchain/tests/unit_tests/schema/test_chat_history.py
- libs/core/tests/unit_tests/chat_history/test_chat_history.py
- libs/partners/groq/tests/integration_tests/test_chat_models.py
- libs/partners/mistralai/tests/unit_tests/test_chat_models.py
- libs/partners/anthropic/tests/unit_tests/test_chat_models.py
- libs/partners/perplexity/tests/unit_tests/test_chat_models.py
- libs/partners/mistralai/tests/integration_tests/test_chat_models.py
- libs/langchain_v1/tests/unit_tests/chat_models/test_chat_models.py
- libs/partners/ollama/tests/unit_tests/test_chat_models.py
- libs/partners/groq/tests/unit_tests/test_chat_models.py
- libs/partners/huggingface/tests/integration_tests/test_chat_models.py
- libs/partners/xai/tests/integration_tests/test_chat_models.py
- libs/partners/ollama/tests/integration_tests/chat_models/test_chat_models.py
- libs/partners/perplexity/tests/integration_tests/test_chat_models.py
- libs/partners/huggingface/tests/unit_tests/test_chat_models.py
- libs/partners/xai/tests/unit_tests/test_chat_models.py
- libs/partners/deepseek/tests/unit_tests/test_chat_models.py
- libs/partners/anthropic/tests/integration_tests/test_chat_models.py
- libs/partners/fireworks/tests/integration_tests/test_chat_models.py
- libs/partners/deepseek/tests/integration_tests/test_chat_models.py
- libs/partners/fireworks/tests/unit_tests/test_chat_models.py
- libs/partners/ollama/tests/integration_tests/chat_models/test_chat_models_reasoning.py
- libs/partners/xai/tests/integration_tests/test_chat_models_standard.py
- libs/partners/xai/tests/unit_tests/test_chat_models_standard.py
- libs/partners/perplexity/tests/unit_tests/test_chat_models_standard.py
- libs/partners/ollama/tests/integration_tests/chat_models/test_chat_models_standard.py
- libs/partners/perplexity/tests/integration_tests/test_chat_models_standard.py
- libs/langchain/tests/unit_tests/memory/test_combined_memory.py
- libs/langchain/tests/unit_tests/output_parsers/test_combining_parser.py
- libs/langchain_v1/tests/integration_tests/test_compile.py
- libs/partners/nomic/tests/integration_tests/test_compile.py
- libs/model-profiles/tests/integration_tests/test_compile.py
- libs/partners/perplexity/tests/integration_tests/test_compile.py
- libs/partners/xai/tests/integration_tests/test_compile.py
- libs/partners/anthropic/tests/integration_tests/test_compile.py
- libs/partners/deepseek/tests/integration_tests/test_compile.py
- libs/partners/ollama/tests/integration_tests/test_compile.py
- libs/langchain/tests/unit_tests/agents/output_parsers/test_convo_output_parser.py
- libs/standard-tests/tests/unit_tests/test_custom_chat_model.py
- libs/standard-tests/tests/unit_tests/test_decorated_tool.py
- libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_decorators.py
- libs/langchain_v1/tests/unit_tests/test_dependencies.py
- libs/langchain/tests/unit_tests/test_dependencies.py
- libs/core/tests/unit_tests/prompts/test_dict.py
- libs/langchain/tests/unit_tests/schema/test_document.py
- libs/langchain/tests/integration_tests/evaluation/embedding_distance/test_embedding.py
- libs/partners/fireworks/tests/integration_tests/test_embeddings.py
- libs/partners/mistralai/tests/integration_tests/test_embeddings.py
- libs/langchain/tests/unit_tests/schema/test_embeddings.py
- libs/partners/fireworks/tests/unit_tests/test_embeddings.py
- libs/langchain/tests/unit_tests/output_parsers/test_enum_parser.py
- libs/langchain/tests/unit_tests/evaluation/comparison/test_eval_chain.py
- libs/langchain/tests/unit_tests/schema/test_exceptions.py
- libs/langchain/tests/unit_tests/llms/test_fake_chat_model.py
- libs/core/tests/unit_tests/fake/test_fake_chat_model.py
- libs/partners/qdrant/tests/integration_tests/fastembed/test_fastembed_sparse.py
- libs/langchain_v1/tests/unit_tests/agents/test_fetch_last_ai_and_tool_messages.py
- libs/langchain/tests/unit_tests/callbacks/test_file.py
- libs/partners/anthropic/tests/unit_tests/middleware/test_file_search.py
- libs/langchain/tests/unit_tests/storage/test_filesystem.py
- libs/langchain/tests/unit_tests/test_formatting.py
- libs/partners/qdrant/tests/integration_tests/test_from_existing_collection.py
- libs/partners/qdrant/tests/integration_tests/async_api/test_from_texts.py
- libs/langchain/tests/unit_tests/test_globals.py
- libs/core/tests/unit_tests/messages/block_translators/test_google_genai.py
- libs/core/tests/unit_tests/messages/block_translators/test_groq.py
- libs/partners/openai/tests/unit_tests/llms/test_imports.py
- libs/langchain/tests/unit_tests/memory/chat_message_histories/test_imports.py
- libs/langchain/tests/unit_tests/chat_models/test_imports.py
- libs/langchain/tests/unit_tests/utilities/test_imports.py
- libs/core/tests/unit_tests/messages/test_imports.py
- libs/langchain/tests/unit_tests/prompts/test_imports.py
- libs/partners/groq/tests/unit_tests/test_imports.py
- libs/langchain/tests/unit_tests/output_parsers/test_imports.py
- libs/langchain/tests/unit_tests/schema/test_imports.py
- libs/langchain_v1/tests/unit_tests/tools/test_imports.py
- libs/langchain/tests/unit_tests/test_imports.py
- libs/partners/anthropic/tests/unit_tests/test_imports.py
- libs/langchain/tests/unit_tests/memory/test_imports.py
- libs/partners/openai/tests/unit_tests/chat_models/test_imports.py
- libs/standard-tests/tests/unit_tests/test_in_memory_base_store.py
- libs/standard-tests/tests/unit_tests/test_in_memory_vectorstore.py
- libs/langchain_v1/tests/unit_tests/agents/test_injected_runtime_create_agent.py
- libs/langchain/tests/unit_tests/agents/output_parsers/test_json.py
- libs/langchain/tests/unit_tests/evaluation/parsing/test_json_distance.py
- libs/langchain/tests/unit_tests/evaluation/parsing/test_json_schema.py
- libs/core/tests/unit_tests/utils/test_json_schema.py
- libs/langchain_v1/tests/unit_tests/agents/test_kwargs_tool_runtime_injection.py
- libs/core/tests/unit_tests/messages/block_translators/test_langchain_v0.py
- libs/langchain/tests/unit_tests/schema/test_language_model.py
- libs/langchain/tests/integration_tests/retrievers/document_compressors/test_listwise_rerank.py
- libs/langchain/tests/unit_tests/retrievers/document_compressors/test_listwise_rerank.py
- libs/partners/ollama/tests/integration_tests/test_llms.py
- libs/partners/ollama/tests/unit_tests/test_llms.py
- libs/partners/huggingface/tests/integration_tests/test_llms.py
- libs/langchain/tests/unit_tests/agents/format_scratchpad/test_log.py
- libs/langchain/tests/unit_tests/agents/format_scratchpad/test_log_to_messages.py
- libs/langchain/tests/unit_tests/callbacks/test_manager.py
- libs/partners/qdrant/tests/integration_tests/async_api/test_max_marginal_relevance.py
- libs/langchain/tests/unit_tests/schema/test_memory.py
- libs/core/tests/unit_tests/test_messages.py
- libs/langchain/tests/unit_tests/schema/test_messages.py
- libs/langchain_v1/tests/unit_tests/agents/middleware_typing/test_middleware_type_errors.py
- libs/langchain/tests/unit_tests/agents/test_mrkl.py
- libs/langchain/tests/unit_tests/agents/test_mrkl_output_parser.py
- libs/langchain/tests/unit_tests/retrievers/test_multi_query.py
- libs/langchain/tests/unit_tests/retrievers/test_multi_vector.py
- libs/text-splitters/tests/integration_tests/test_nlp_text_splitters.py
- libs/core/tests/unit_tests/messages/block_translators/test_openai.py
- libs/langchain/tests/unit_tests/utils/test_openai_functions.py
- libs/langchain/tests/unit_tests/agents/output_parsers/test_openai_functions.py
- libs/langchain/tests/unit_tests/agents/format_scratchpad/test_openai_functions.py
- libs/langchain/tests/unit_tests/agents/test_openai_functions_multi.py
- libs/langchain/tests/unit_tests/agents/format_scratchpad/test_openai_tools.py
- libs/core/tests/unit_tests/output_parsers/test_openai_tools.py
- libs/langchain/tests/unit_tests/schema/test_output.py
- libs/langchain/tests/unit_tests/schema/test_output_parser.py
- libs/partners/perplexity/tests/unit_tests/test_output_parsers.py
- libs/langchain/tests/unit_tests/retrievers/test_parent_document.py
- libs/langchain/tests/unit_tests/schema/test_prompt.py
- libs/partners/openai/tests/unit_tests/chat_models/test_prompt_cache_key.py
- libs/langchain/tests/unit_tests/schema/test_prompt_template.py
- libs/core/tests/unit_tests/test_prompt_values.py
- libs/langchain/tests/unit_tests/document_loaders/blob_loaders/test_public_api.py
- libs/langchain/tests/unit_tests/agents/test_public_api.py
- libs/core/tests/unit_tests/test_pydantic_serde.py
- libs/langchain/tests/unit_tests/test_pytest_config.py
- libs/core/tests/unit_tests/language_models/chat_models/test_rate_limiting.py
- libs/langchain/tests/unit_tests/agents/output_parsers/test_react_single_input.py
- libs/langchain/tests/unit_tests/output_parsers/test_regex_dict.py
- libs/core/tests/unit_tests/messages/block_translators/test_registration.py
- libs/langchain_v1/tests/unit_tests/agents/test_response_format.py
- libs/langchain_v1/tests/unit_tests/agents/test_response_format_integration.py
- libs/partners/openai/tests/integration_tests/chat_models/test_responses_api.py
- libs/langchain_v1/tests/unit_tests/agents/test_responses_spec.py
- libs/partners/openai/tests/unit_tests/chat_models/test_responses_standard.py
- libs/partners/openai/tests/integration_tests/chat_models/test_responses_standard.py
- libs/partners/openai/tests/unit_tests/chat_models/test_responses_stream.py
- libs/langchain/tests/unit_tests/schema/test_retriever.py
- libs/partners/exa/tests/integration_tests/test_retriever.py
- libs/langchain/tests/unit_tests/output_parsers/test_retry.py
- libs/langchain_v1/tests/unit_tests/agents/test_return_direct_graph.py
- libs/langchain_v1/tests/unit_tests/agents/test_return_direct_spec.py
- libs/langchain/tests/unit_tests/smith/evaluation/test_runner_utils.py
- libs/langchain/tests/unit_tests/test_schema.py
- libs/langchain/tests/integration_tests/test_schema.py
- libs/partners/exa/tests/integration_tests/test_search_tool.py
- libs/partners/openai/tests/unit_tests/test_secrets.py
- libs/partners/perplexity/tests/unit_tests/test_secrets.py
- libs/partners/xai/tests/unit_tests/test_secrets.py
- libs/langchain/tests/unit_tests/agents/output_parsers/test_self_ask.py
- libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_shell_execution_policies.py
- libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_shell_tool.py
- libs/partners/mistralai/tests/integration_tests/test_standard.py
- libs/partners/fireworks/tests/integration_tests/test_standard.py
- libs/partners/nomic/tests/unit_tests/test_standard.py
- libs/partners/mistralai/tests/unit_tests/test_standard.py
- libs/partners/groq/tests/unit_tests/test_standard.py
- libs/partners/huggingface/tests/integration_tests/test_standard.py
- libs/partners/groq/tests/integration_tests/test_standard.py
- libs/partners/exa/tests/unit_tests/test_standard.py
- libs/partners/chroma/tests/unit_tests/test_standard.py
- libs/langchain_v1/tests/unit_tests/agents/test_state_schema.py
- libs/langchain/tests/unit_tests/schema/test_storage.py
- libs/core/tests/unit_tests/prompts/test_string.py
- libs/langchain/tests/unit_tests/agents/test_structured_chat.py
- libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_structured_output_retry.py
- libs/langchain_v1/tests/unit_tests/agents/test_system_message.py
- libs/text-splitters/tests/integration_tests/test_text_splitter.py
- libs/partners/openai/tests/unit_tests/test_token_counts.py
- libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_tool_emulator.py
- libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_tool_retry.py
- libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_tool_selection.py
- libs/core/tests/unit_tests/messages/test_utils.py
- libs/langchain/tests/unit_tests/schema/test_vectorstore.py
- libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_wrap_model_call.py
- libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_wrap_model_call_state_update.py
- libs/langchain/tests/unit_tests/output_parsers/test_yaml_parser.py
- libs/langchain/langchain_classic/vectorstores/tiledb.py
- libs/langchain_v1/langchain/agents/middleware/todo.py
- libs/langchain/langchain_classic/chat_models/tongyi.py
- libs/langchain/langchain_classic/tools/human/tool.py
- libs/core/langchain_core/messages/tool.py
- libs/partners/perplexity/langchain_perplexity/tools.py
- libs/standard-tests/langchain_tests/integration_tests/tools.py
- libs/langchain/langchain_classic/memory/chat_message_histories/upstash_redis.py
- libs/langchain/langchain_classic/vectorstores/usearch.py
- libs/langchain/langchain_classic/chat_loaders/utils.py
- libs/core/langchain_core/messages/utils.py
- libs/langchain/langchain_classic/vectorstores/vearch.py
- libs/standard-tests/langchain_tests/integration_tests/vectorstores.py
- libs/partners/chroma/langchain_chroma/vectorstores.py
- libs/partners/fireworks/langchain_fireworks/version.py
- libs/langchain/langchain_classic/chat_models/vertexai.py
- libs/langchain/langchain_classic/chat_models/volcengine_maas.py
- libs/langchain/langchain_classic/vectorstores/weaviate.py
- libs/langchain/langchain_classic/chat_loaders/whatsapp.py
- libs/langchain/langchain_classic/document_loaders/whatsapp_chat.py
- libs/langchain/langchain_classic/memory/chat_message_histories/xata.py
- libs/langchain/langchain_classic/chat_models/yandex.py
- libs/langchain/langchain_classic/vectorstores/zep.py
- libs/langchain/langchain_classic/memory/chat_message_histories/zep.py
Frequently Asked Questions
What is the MessageSchema subdomain?
MessageSchema is a subdomain in the langchain codebase, part of the CoreAbstractions domain. Handles chat components like Human, AI, and System messages. It contains 421 source files.
Which domain does MessageSchema belong to?
MessageSchema belongs to the CoreAbstractions domain.
What functions are in MessageSchema?
The MessageSchema subdomain contains 3638 function(s): ChatOpenAI, InputType, InputType, OutputType, _AnyIdHumanMessage, _AnyIdToolMessage, _HAS_FILETYPE, _HAS_LANGCHAIN_TEXT_SPLITTERS, and 3630 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free