gitextract_cpd1yxs9/ ├── .devcontainer/ │ ├── README.md │ ├── devcontainer.json │ └── docker-compose.yaml ├── .dockerignore ├── .editorconfig ├── .gitattributes ├── .github/ │ ├── CODEOWNERS │ ├── ISSUE_TEMPLATE/ │ │ ├── bug-report.yml │ │ ├── config.yml │ │ ├── feature-request.yml │ │ ├── privileged.yml │ │ └── task.yml │ ├── PULL_REQUEST_TEMPLATE.md │ ├── actions/ │ │ └── uv_setup/ │ │ └── action.yml │ ├── dependabot.yml │ ├── scripts/ │ │ ├── check_diff.py │ │ ├── check_prerelease_dependencies.py │ │ ├── get_min_versions.py │ │ ├── pr-labeler-config.json │ │ └── pr-labeler.js │ ├── tools/ │ │ └── git-restore-mtime │ └── workflows/ │ ├── _compile_integration_test.yml │ ├── _lint.yml │ ├── _refresh_model_profiles.yml │ ├── _release.yml │ ├── _test.yml │ ├── _test_pydantic.yml │ ├── auto-label-by-package.yml │ ├── check_agents_sync.yml │ ├── check_core_versions.yml │ ├── check_diffs.yml │ ├── close_unchecked_issues.yml │ ├── codspeed.yml │ ├── integration_tests.yml │ ├── pr_labeler.yml │ ├── pr_labeler_backfill.yml │ ├── pr_lint.yml │ ├── refresh_model_profiles.yml │ ├── reopen_on_assignment.yml │ ├── require_issue_link.yml │ ├── tag-external-issues.yml │ └── v03_api_doc_build.yml ├── .gitignore ├── .markdownlint.json ├── .mcp.json ├── .pre-commit-config.yaml ├── .vscode/ │ ├── extensions.json │ └── settings.json ├── AGENTS.md ├── CITATION.cff ├── CLAUDE.md ├── LICENSE ├── README.md └── libs/ ├── Makefile ├── README.md ├── core/ │ ├── Makefile │ ├── README.md │ ├── extended_testing_deps.txt │ ├── langchain_core/ │ │ ├── __init__.py │ │ ├── _api/ │ │ │ ├── __init__.py │ │ │ ├── beta_decorator.py │ │ │ ├── deprecation.py │ │ │ ├── internal.py │ │ │ └── path.py │ │ ├── _import_utils.py │ │ ├── _security/ │ │ │ ├── __init__.py │ │ │ └── _ssrf_protection.py │ │ ├── agents.py │ │ ├── caches.py │ │ ├── callbacks/ │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── file.py │ │ │ ├── manager.py │ │ │ ├── stdout.py │ │ │ ├── streaming_stdout.py │ │ │ └── usage.py │ │ ├── chat_history.py │ │ ├── chat_loaders.py │ │ ├── chat_sessions.py │ │ ├── cross_encoders.py │ │ ├── document_loaders/ │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── blob_loaders.py │ │ │ └── langsmith.py │ │ ├── documents/ │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── compressor.py │ │ │ └── transformers.py │ │ ├── embeddings/ │ │ │ ├── __init__.py │ │ │ ├── embeddings.py │ │ │ └── fake.py │ │ ├── env.py │ │ ├── example_selectors/ │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── length_based.py │ │ │ └── semantic_similarity.py │ │ ├── exceptions.py │ │ ├── globals.py │ │ ├── indexing/ │ │ │ ├── __init__.py │ │ │ ├── api.py │ │ │ ├── base.py │ │ │ └── in_memory.py │ │ ├── language_models/ │ │ │ ├── __init__.py │ │ │ ├── _utils.py │ │ │ ├── base.py │ │ │ ├── chat_models.py │ │ │ ├── fake.py │ │ │ ├── fake_chat_models.py │ │ │ ├── llms.py │ │ │ └── model_profile.py │ │ ├── load/ │ │ │ ├── __init__.py │ │ │ ├── _validation.py │ │ │ ├── dump.py │ │ │ ├── load.py │ │ │ ├── mapping.py │ │ │ └── serializable.py │ │ ├── messages/ │ │ │ ├── __init__.py │ │ │ ├── ai.py │ │ │ ├── base.py │ │ │ ├── block_translators/ │ │ │ │ ├── __init__.py │ │ │ │ ├── anthropic.py │ │ │ │ ├── bedrock.py │ │ │ │ ├── bedrock_converse.py │ │ │ │ ├── google_genai.py │ │ │ │ ├── google_vertexai.py │ │ │ │ ├── groq.py │ │ │ │ ├── langchain_v0.py │ │ │ │ └── openai.py │ │ │ ├── chat.py │ │ │ ├── content.py │ │ │ ├── function.py │ │ │ ├── human.py │ │ │ ├── modifier.py │ │ │ ├── system.py │ │ │ ├── tool.py │ │ │ └── utils.py │ │ ├── output_parsers/ │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── format_instructions.py │ │ │ ├── json.py │ │ │ ├── list.py │ │ │ ├── openai_functions.py │ │ │ ├── openai_tools.py │ │ │ ├── pydantic.py │ │ │ ├── string.py │ │ │ ├── transform.py │ │ │ └── xml.py │ │ ├── outputs/ │ │ │ ├── __init__.py │ │ │ ├── chat_generation.py │ │ │ ├── chat_result.py │ │ │ ├── generation.py │ │ │ ├── llm_result.py │ │ │ └── run_info.py │ │ ├── prompt_values.py │ │ ├── prompts/ │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── chat.py │ │ │ ├── dict.py │ │ │ ├── few_shot.py │ │ │ ├── few_shot_with_templates.py │ │ │ ├── image.py │ │ │ ├── loading.py │ │ │ ├── message.py │ │ │ ├── prompt.py │ │ │ ├── string.py │ │ │ └── structured.py │ │ ├── py.typed │ │ ├── rate_limiters.py │ │ ├── retrievers.py │ │ ├── runnables/ │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── branch.py │ │ │ ├── config.py │ │ │ ├── configurable.py │ │ │ ├── fallbacks.py │ │ │ ├── graph.py │ │ │ ├── graph_ascii.py │ │ │ ├── graph_mermaid.py │ │ │ ├── graph_png.py │ │ │ ├── history.py │ │ │ ├── passthrough.py │ │ │ ├── retry.py │ │ │ ├── router.py │ │ │ ├── schema.py │ │ │ └── utils.py │ │ ├── stores.py │ │ ├── structured_query.py │ │ ├── sys_info.py │ │ ├── tools/ │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── convert.py │ │ │ ├── render.py │ │ │ ├── retriever.py │ │ │ ├── simple.py │ │ │ └── structured.py │ │ ├── tracers/ │ │ │ ├── __init__.py │ │ │ ├── _compat.py │ │ │ ├── _streaming.py │ │ │ ├── base.py │ │ │ ├── context.py │ │ │ ├── core.py │ │ │ ├── evaluation.py │ │ │ ├── event_stream.py │ │ │ ├── langchain.py │ │ │ ├── log_stream.py │ │ │ ├── memory_stream.py │ │ │ ├── root_listeners.py │ │ │ ├── run_collector.py │ │ │ ├── schemas.py │ │ │ └── stdout.py │ │ ├── utils/ │ │ │ ├── __init__.py │ │ │ ├── _merge.py │ │ │ ├── aiter.py │ │ │ ├── env.py │ │ │ ├── formatting.py │ │ │ ├── function_calling.py │ │ │ ├── html.py │ │ │ ├── image.py │ │ │ ├── input.py │ │ │ ├── interactive_env.py │ │ │ ├── iter.py │ │ │ ├── json.py │ │ │ ├── json_schema.py │ │ │ ├── mustache.py │ │ │ ├── pydantic.py │ │ │ ├── strings.py │ │ │ ├── usage.py │ │ │ ├── utils.py │ │ │ └── uuid.py │ │ ├── vectorstores/ │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── in_memory.py │ │ │ └── utils.py │ │ └── version.py │ ├── pyproject.toml │ ├── scripts/ │ │ ├── check_imports.py │ │ ├── check_version.py │ │ └── lint_imports.sh │ └── tests/ │ ├── __init__.py │ ├── benchmarks/ │ │ ├── __init__.py │ │ ├── test_async_callbacks.py │ │ └── test_imports.py │ ├── integration_tests/ │ │ ├── __init__.py │ │ └── test_compile.py │ └── unit_tests/ │ ├── __init__.py │ ├── _api/ │ │ ├── __init__.py │ │ ├── test_beta_decorator.py │ │ ├── test_deprecation.py │ │ ├── test_imports.py │ │ └── test_path.py │ ├── caches/ │ │ ├── __init__.py │ │ └── test_in_memory_cache.py │ ├── callbacks/ │ │ ├── __init__.py │ │ ├── test_async_callback_manager.py │ │ ├── test_dispatch_custom_event.py │ │ ├── test_handle_event.py │ │ ├── test_imports.py │ │ ├── test_sync_callback_manager.py │ │ └── test_usage_callback.py │ ├── chat_history/ │ │ ├── __init__.py │ │ └── test_chat_history.py │ ├── conftest.py │ ├── data/ │ │ ├── prompt_file.txt │ │ └── prompts/ │ │ ├── prompt_extra_args.json │ │ ├── prompt_missing_args.json │ │ └── simple_prompt.json │ ├── dependencies/ │ │ ├── __init__.py │ │ └── test_dependencies.py │ ├── document_loaders/ │ │ ├── __init__.py │ │ ├── test_base.py │ │ └── test_langsmith.py │ ├── documents/ │ │ ├── __init__.py │ │ ├── test_document.py │ │ ├── test_imports.py │ │ └── test_str.py │ ├── embeddings/ │ │ ├── __init__.py │ │ └── test_deterministic_embedding.py │ ├── example_selectors/ │ │ ├── __init__.py │ │ ├── test_base.py │ │ ├── test_imports.py │ │ ├── test_length_based_example_selector.py │ │ └── test_similarity.py │ ├── examples/ │ │ ├── example-non-utf8.csv │ │ ├── example-non-utf8.txt │ │ ├── example-utf8.csv │ │ ├── example-utf8.txt │ │ ├── example_prompt.json │ │ ├── examples.json │ │ ├── examples.yaml │ │ ├── few_shot_prompt.json │ │ ├── few_shot_prompt.yaml │ │ ├── few_shot_prompt_example_prompt.json │ │ ├── few_shot_prompt_examples_in.json │ │ ├── few_shot_prompt_yaml_examples.yaml │ │ ├── jinja_injection_prompt.json │ │ ├── jinja_injection_prompt.yaml │ │ ├── prompt_with_output_parser.json │ │ ├── simple_prompt.json │ │ ├── simple_prompt.yaml │ │ ├── simple_prompt_with_template_file.json │ │ └── simple_template.txt │ ├── fake/ │ │ ├── __init__.py │ │ ├── callbacks.py │ │ └── test_fake_chat_model.py │ ├── indexing/ │ │ ├── __init__.py │ │ ├── test_hashed_document.py │ │ ├── test_in_memory_indexer.py │ │ ├── test_in_memory_record_manager.py │ │ ├── test_indexing.py │ │ └── test_public_api.py │ ├── language_models/ │ │ ├── __init__.py │ │ ├── chat_models/ │ │ │ ├── __init__.py │ │ │ ├── test_base.py │ │ │ ├── test_benchmark.py │ │ │ ├── test_cache.py │ │ │ └── test_rate_limiting.py │ │ ├── llms/ │ │ │ ├── __init__.py │ │ │ ├── test_base.py │ │ │ └── test_cache.py │ │ ├── test_imports.py │ │ └── test_model_profile.py │ ├── load/ │ │ ├── __init__.py │ │ ├── test_imports.py │ │ ├── test_secret_injection.py │ │ └── test_serializable.py │ ├── messages/ │ │ ├── __init__.py │ │ ├── block_translators/ │ │ │ ├── __init__.py │ │ │ ├── test_anthropic.py │ │ │ ├── test_bedrock.py │ │ │ ├── test_bedrock_converse.py │ │ │ ├── test_google_genai.py │ │ │ ├── test_groq.py │ │ │ ├── test_langchain_v0.py │ │ │ ├── test_openai.py │ │ │ └── test_registration.py │ │ ├── test_ai.py │ │ ├── test_imports.py │ │ └── test_utils.py │ ├── output_parsers/ │ │ ├── __init__.py │ │ ├── test_base_parsers.py │ │ ├── test_imports.py │ │ ├── test_json.py │ │ ├── test_list_parser.py │ │ ├── test_openai_functions.py │ │ ├── test_openai_tools.py │ │ ├── test_pydantic_parser.py │ │ └── test_xml_parser.py │ ├── outputs/ │ │ ├── __init__.py │ │ ├── test_chat_generation.py │ │ └── test_imports.py │ ├── prompt_file.txt │ ├── prompts/ │ │ ├── __init__.py │ │ ├── __snapshots__/ │ │ │ ├── test_chat.ambr │ │ │ └── test_prompt.ambr │ │ ├── prompt_extra_args.json │ │ ├── prompt_missing_args.json │ │ ├── simple_prompt.json │ │ ├── test_chat.py │ │ ├── test_dict.py │ │ ├── test_few_shot.py │ │ ├── test_few_shot_with_templates.py │ │ ├── test_image.py │ │ ├── test_imports.py │ │ ├── test_loading.py │ │ ├── test_prompt.py │ │ ├── test_string.py │ │ ├── test_structured.py │ │ └── test_utils.py │ ├── pydantic_utils.py │ ├── rate_limiters/ │ │ ├── __init__.py │ │ └── test_in_memory_rate_limiter.py │ ├── runnables/ │ │ ├── __init__.py │ │ ├── __snapshots__/ │ │ │ ├── test_fallbacks.ambr │ │ │ ├── test_graph.ambr │ │ │ └── test_runnable.ambr │ │ ├── test_concurrency.py │ │ ├── test_config.py │ │ ├── test_configurable.py │ │ ├── test_fallbacks.py │ │ ├── test_graph.py │ │ ├── test_history.py │ │ ├── test_imports.py │ │ ├── test_runnable.py │ │ ├── test_runnable_events_v1.py │ │ ├── test_runnable_events_v2.py │ │ ├── test_tracing_interops.py │ │ └── test_utils.py │ ├── stores/ │ │ ├── __init__.py │ │ └── test_in_memory.py │ ├── stubs.py │ ├── test_globals.py │ ├── test_imports.py │ ├── test_messages.py │ ├── test_outputs.py │ ├── test_prompt_values.py │ ├── test_pydantic_imports.py │ ├── test_pydantic_serde.py │ ├── test_retrievers.py │ ├── test_setup.py │ ├── test_ssrf_protection.py │ ├── test_sys_info.py │ ├── test_tools.py │ ├── tracers/ │ │ ├── __init__.py │ │ ├── test_async_base_tracer.py │ │ ├── test_automatic_metadata.py │ │ ├── test_base_tracer.py │ │ ├── test_imports.py │ │ ├── test_langchain.py │ │ ├── test_memory_stream.py │ │ ├── test_run_collector.py │ │ └── test_schemas.py │ ├── utils/ │ │ ├── __init__.py │ │ ├── test_aiter.py │ │ ├── test_env.py │ │ ├── test_formatting.py │ │ ├── test_function_calling.py │ │ ├── test_html.py │ │ ├── test_imports.py │ │ ├── test_iter.py │ │ ├── test_json_schema.py │ │ ├── test_pydantic.py │ │ ├── test_rm_titles.py │ │ ├── test_strings.py │ │ ├── test_usage.py │ │ ├── test_utils.py │ │ └── test_uuid_utils.py │ └── vectorstores/ │ ├── __init__.py │ ├── test_in_memory.py │ ├── test_utils.py │ └── test_vectorstore.py ├── langchain/ │ ├── .dockerignore │ ├── .flake8 │ ├── LICENSE │ ├── Makefile │ ├── README.md │ ├── dev.Dockerfile │ ├── extended_testing_deps.txt │ ├── langchain_classic/ │ │ ├── __init__.py │ │ ├── _api/ │ │ │ ├── __init__.py │ │ │ ├── deprecation.py │ │ │ ├── interactive_env.py │ │ │ ├── module_import.py │ │ │ └── path.py │ │ ├── adapters/ │ │ │ ├── __init__.py │ │ │ └── openai.py │ │ ├── agents/ │ │ │ ├── __init__.py │ │ │ ├── agent.py │ │ │ ├── agent_iterator.py │ │ │ ├── agent_toolkits/ │ │ │ │ ├── __init__.py │ │ │ │ ├── ainetwork/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── toolkit.py │ │ │ │ ├── amadeus/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── toolkit.py │ │ │ │ ├── azure_cognitive_services.py │ │ │ │ ├── base.py │ │ │ │ ├── clickup/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── toolkit.py │ │ │ │ ├── conversational_retrieval/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── openai_functions.py │ │ │ │ │ └── tool.py │ │ │ │ ├── csv/ │ │ │ │ │ └── __init__.py │ │ │ │ ├── file_management/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── toolkit.py │ │ │ │ ├── github/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── toolkit.py │ │ │ │ ├── gitlab/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── toolkit.py │ │ │ │ ├── gmail/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── toolkit.py │ │ │ │ ├── jira/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── toolkit.py │ │ │ │ ├── json/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ ├── prompt.py │ │ │ │ │ └── toolkit.py │ │ │ │ ├── multion/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── toolkit.py │ │ │ │ ├── nasa/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── toolkit.py │ │ │ │ ├── nla/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── tool.py │ │ │ │ │ └── toolkit.py │ │ │ │ ├── office365/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── toolkit.py │ │ │ │ ├── openapi/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ ├── planner.py │ │ │ │ │ ├── planner_prompt.py │ │ │ │ │ ├── prompt.py │ │ │ │ │ ├── spec.py │ │ │ │ │ └── toolkit.py │ │ │ │ ├── pandas/ │ │ │ │ │ └── __init__.py │ │ │ │ ├── playwright/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── toolkit.py │ │ │ │ ├── powerbi/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ ├── chat_base.py │ │ │ │ │ ├── prompt.py │ │ │ │ │ └── toolkit.py │ │ │ │ ├── python/ │ │ │ │ │ └── __init__.py │ │ │ │ ├── slack/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── toolkit.py │ │ │ │ ├── spark/ │ │ │ │ │ └── __init__.py │ │ │ │ ├── spark_sql/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ ├── prompt.py │ │ │ │ │ └── toolkit.py │ │ │ │ ├── sql/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ ├── prompt.py │ │ │ │ │ └── toolkit.py │ │ │ │ ├── steam/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── toolkit.py │ │ │ │ ├── vectorstore/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ ├── prompt.py │ │ │ │ │ └── toolkit.py │ │ │ │ ├── xorbits/ │ │ │ │ │ └── __init__.py │ │ │ │ └── zapier/ │ │ │ │ ├── __init__.py │ │ │ │ └── toolkit.py │ │ │ ├── agent_types.py │ │ │ ├── chat/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── output_parser.py │ │ │ │ └── prompt.py │ │ │ ├── conversational/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── output_parser.py │ │ │ │ └── prompt.py │ │ │ ├── conversational_chat/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── output_parser.py │ │ │ │ └── prompt.py │ │ │ ├── format_scratchpad/ │ │ │ │ ├── __init__.py │ │ │ │ ├── log.py │ │ │ │ ├── log_to_messages.py │ │ │ │ ├── openai_functions.py │ │ │ │ ├── openai_tools.py │ │ │ │ ├── tools.py │ │ │ │ └── xml.py │ │ │ ├── initialize.py │ │ │ ├── json_chat/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── prompt.py │ │ │ ├── load_tools.py │ │ │ ├── loading.py │ │ │ ├── mrkl/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── output_parser.py │ │ │ │ └── prompt.py │ │ │ ├── openai_assistant/ │ │ │ │ ├── __init__.py │ │ │ │ └── base.py │ │ │ ├── openai_functions_agent/ │ │ │ │ ├── __init__.py │ │ │ │ ├── agent_token_buffer_memory.py │ │ │ │ └── base.py │ │ │ ├── openai_functions_multi_agent/ │ │ │ │ ├── __init__.py │ │ │ │ └── base.py │ │ │ ├── openai_tools/ │ │ │ │ ├── __init__.py │ │ │ │ └── base.py │ │ │ ├── output_parsers/ │ │ │ │ ├── __init__.py │ │ │ │ ├── json.py │ │ │ │ ├── openai_functions.py │ │ │ │ ├── openai_tools.py │ │ │ │ ├── react_json_single_input.py │ │ │ │ ├── react_single_input.py │ │ │ │ ├── self_ask.py │ │ │ │ ├── tools.py │ │ │ │ └── xml.py │ │ │ ├── react/ │ │ │ │ ├── __init__.py │ │ │ │ ├── agent.py │ │ │ │ ├── base.py │ │ │ │ ├── output_parser.py │ │ │ │ ├── textworld_prompt.py │ │ │ │ └── wiki_prompt.py │ │ │ ├── schema.py │ │ │ ├── self_ask_with_search/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── output_parser.py │ │ │ │ └── prompt.py │ │ │ ├── structured_chat/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── output_parser.py │ │ │ │ └── prompt.py │ │ │ ├── tool_calling_agent/ │ │ │ │ ├── __init__.py │ │ │ │ └── base.py │ │ │ ├── tools.py │ │ │ ├── types.py │ │ │ ├── utils.py │ │ │ └── xml/ │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ └── prompt.py │ │ ├── base_language.py │ │ ├── base_memory.py │ │ ├── cache.py │ │ ├── callbacks/ │ │ │ ├── __init__.py │ │ │ ├── aim_callback.py │ │ │ ├── argilla_callback.py │ │ │ ├── arize_callback.py │ │ │ ├── arthur_callback.py │ │ │ ├── base.py │ │ │ ├── clearml_callback.py │ │ │ ├── comet_ml_callback.py │ │ │ ├── confident_callback.py │ │ │ ├── context_callback.py │ │ │ ├── file.py │ │ │ ├── flyte_callback.py │ │ │ ├── human.py │ │ │ ├── infino_callback.py │ │ │ ├── labelstudio_callback.py │ │ │ ├── llmonitor_callback.py │ │ │ ├── manager.py │ │ │ ├── mlflow_callback.py │ │ │ ├── openai_info.py │ │ │ ├── promptlayer_callback.py │ │ │ ├── sagemaker_callback.py │ │ │ ├── stdout.py │ │ │ ├── streaming_aiter.py │ │ │ ├── streaming_aiter_final_only.py │ │ │ ├── streaming_stdout.py │ │ │ ├── streaming_stdout_final_only.py │ │ │ ├── streamlit/ │ │ │ │ ├── __init__.py │ │ │ │ ├── mutable_expander.py │ │ │ │ └── streamlit_callback_handler.py │ │ │ ├── tracers/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── comet.py │ │ │ │ ├── evaluation.py │ │ │ │ ├── langchain.py │ │ │ │ ├── log_stream.py │ │ │ │ ├── logging.py │ │ │ │ ├── root_listeners.py │ │ │ │ ├── run_collector.py │ │ │ │ ├── schemas.py │ │ │ │ ├── stdout.py │ │ │ │ └── wandb.py │ │ │ ├── trubrics_callback.py │ │ │ ├── utils.py │ │ │ ├── wandb_callback.py │ │ │ └── whylabs_callback.py │ │ ├── chains/ │ │ │ ├── __init__.py │ │ │ ├── api/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── news_docs.py │ │ │ │ ├── open_meteo_docs.py │ │ │ │ ├── openapi/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── chain.py │ │ │ │ │ ├── prompts.py │ │ │ │ │ ├── requests_chain.py │ │ │ │ │ └── response_chain.py │ │ │ │ ├── podcast_docs.py │ │ │ │ ├── prompt.py │ │ │ │ └── tmdb_docs.py │ │ │ ├── base.py │ │ │ ├── chat_vector_db/ │ │ │ │ ├── __init__.py │ │ │ │ └── prompts.py │ │ │ ├── combine_documents/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── map_reduce.py │ │ │ │ ├── map_rerank.py │ │ │ │ ├── reduce.py │ │ │ │ ├── refine.py │ │ │ │ └── stuff.py │ │ │ ├── constitutional_ai/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── models.py │ │ │ │ ├── principles.py │ │ │ │ └── prompts.py │ │ │ ├── conversation/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── memory.py │ │ │ │ └── prompt.py │ │ │ ├── conversational_retrieval/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── prompts.py │ │ │ ├── elasticsearch_database/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── prompts.py │ │ │ ├── ernie_functions/ │ │ │ │ ├── __init__.py │ │ │ │ └── base.py │ │ │ ├── example_generator.py │ │ │ ├── flare/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── prompts.py │ │ │ ├── graph_qa/ │ │ │ │ ├── __init__.py │ │ │ │ ├── arangodb.py │ │ │ │ ├── base.py │ │ │ │ ├── cypher.py │ │ │ │ ├── cypher_utils.py │ │ │ │ ├── falkordb.py │ │ │ │ ├── gremlin.py │ │ │ │ ├── hugegraph.py │ │ │ │ ├── kuzu.py │ │ │ │ ├── nebulagraph.py │ │ │ │ ├── neptune_cypher.py │ │ │ │ ├── neptune_sparql.py │ │ │ │ ├── ontotext_graphdb.py │ │ │ │ ├── prompts.py │ │ │ │ └── sparql.py │ │ │ ├── history_aware_retriever.py │ │ │ ├── hyde/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── prompts.py │ │ │ ├── llm.py │ │ │ ├── llm_bash/ │ │ │ │ └── __init__.py │ │ │ ├── llm_checker/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── prompt.py │ │ │ ├── llm_math/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── prompt.py │ │ │ ├── llm_requests.py │ │ │ ├── llm_summarization_checker/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── prompts/ │ │ │ │ ├── are_all_true_prompt.txt │ │ │ │ ├── check_facts.txt │ │ │ │ ├── create_facts.txt │ │ │ │ └── revise_summary.txt │ │ │ ├── llm_symbolic_math/ │ │ │ │ └── __init__.py │ │ │ ├── loading.py │ │ │ ├── mapreduce.py │ │ │ ├── moderation.py │ │ │ ├── natbot/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── crawler.py │ │ │ │ └── prompt.py │ │ │ ├── openai_functions/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── citation_fuzzy_match.py │ │ │ │ ├── extraction.py │ │ │ │ ├── openapi.py │ │ │ │ ├── qa_with_structure.py │ │ │ │ ├── tagging.py │ │ │ │ └── utils.py │ │ │ ├── openai_tools/ │ │ │ │ ├── __init__.py │ │ │ │ └── extraction.py │ │ │ ├── prompt_selector.py │ │ │ ├── qa_generation/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── prompt.py │ │ │ ├── qa_with_sources/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── loading.py │ │ │ │ ├── map_reduce_prompt.py │ │ │ │ ├── refine_prompts.py │ │ │ │ ├── retrieval.py │ │ │ │ ├── stuff_prompt.py │ │ │ │ └── vector_db.py │ │ │ ├── query_constructor/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── ir.py │ │ │ │ ├── parser.py │ │ │ │ ├── prompt.py │ │ │ │ └── schema.py │ │ │ ├── question_answering/ │ │ │ │ ├── __init__.py │ │ │ │ ├── chain.py │ │ │ │ ├── map_reduce_prompt.py │ │ │ │ ├── map_rerank_prompt.py │ │ │ │ ├── refine_prompts.py │ │ │ │ └── stuff_prompt.py │ │ │ ├── retrieval.py │ │ │ ├── retrieval_qa/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ └── prompt.py │ │ │ ├── router/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── embedding_router.py │ │ │ │ ├── llm_router.py │ │ │ │ ├── multi_prompt.py │ │ │ │ ├── multi_prompt_prompt.py │ │ │ │ ├── multi_retrieval_prompt.py │ │ │ │ └── multi_retrieval_qa.py │ │ │ ├── sequential.py │ │ │ ├── sql_database/ │ │ │ │ ├── __init__.py │ │ │ │ ├── prompt.py │ │ │ │ └── query.py │ │ │ ├── structured_output/ │ │ │ │ ├── __init__.py │ │ │ │ └── base.py │ │ │ ├── summarize/ │ │ │ │ ├── __init__.py │ │ │ │ ├── chain.py │ │ │ │ ├── map_reduce_prompt.py │ │ │ │ ├── refine_prompts.py │ │ │ │ └── stuff_prompt.py │ │ │ └── transform.py │ │ ├── chat_loaders/ │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── facebook_messenger.py │ │ │ ├── gmail.py │ │ │ ├── imessage.py │ │ │ ├── langsmith.py │ │ │ ├── slack.py │ │ │ ├── telegram.py │ │ │ ├── utils.py │ │ │ └── whatsapp.py │ │ ├── chat_models/ │ │ │ ├── __init__.py │ │ │ ├── anthropic.py │ │ │ ├── anyscale.py │ │ │ ├── azure_openai.py │ │ │ ├── azureml_endpoint.py │ │ │ ├── baichuan.py │ │ │ ├── baidu_qianfan_endpoint.py │ │ │ ├── base.py │ │ │ ├── bedrock.py │ │ │ ├── cohere.py │ │ │ ├── databricks.py │ │ │ ├── ernie.py │ │ │ ├── everlyai.py │ │ │ ├── fake.py │ │ │ ├── fireworks.py │ │ │ ├── gigachat.py │ │ │ ├── google_palm.py │ │ │ ├── human.py │ │ │ ├── hunyuan.py │ │ │ ├── javelin_ai_gateway.py │ │ │ ├── jinachat.py │ │ │ ├── konko.py │ │ │ ├── litellm.py │ │ │ ├── meta.py │ │ │ ├── minimax.py │ │ │ ├── mlflow.py │ │ │ ├── mlflow_ai_gateway.py │ │ │ ├── ollama.py │ │ │ ├── openai.py │ │ │ ├── pai_eas_endpoint.py │ │ │ ├── promptlayer_openai.py │ │ │ ├── tongyi.py │ │ │ ├── vertexai.py │ │ │ ├── volcengine_maas.py │ │ │ └── yandex.py │ │ ├── docstore/ │ │ │ ├── __init__.py │ │ │ ├── arbitrary_fn.py │ │ │ ├── base.py │ │ │ ├── document.py │ │ │ ├── in_memory.py │ │ │ └── wikipedia.py │ │ ├── document_loaders/ │ │ │ ├── __init__.py │ │ │ ├── acreom.py │ │ │ ├── airbyte.py │ │ │ ├── airbyte_json.py │ │ │ ├── airtable.py │ │ │ ├── apify_dataset.py │ │ │ ├── arcgis_loader.py │ │ │ ├── arxiv.py │ │ │ ├── assemblyai.py │ │ │ ├── async_html.py │ │ │ ├── azlyrics.py │ │ │ ├── azure_ai_data.py │ │ │ ├── azure_blob_storage_container.py │ │ │ ├── azure_blob_storage_file.py │ │ │ ├── baiducloud_bos_directory.py │ │ │ ├── baiducloud_bos_file.py │ │ │ ├── base.py │ │ │ ├── base_o365.py │ │ │ ├── bibtex.py │ │ │ ├── bigquery.py │ │ │ ├── bilibili.py │ │ │ ├── blackboard.py │ │ │ ├── blob_loaders/ │ │ │ │ ├── __init__.py │ │ │ │ ├── file_system.py │ │ │ │ ├── schema.py │ │ │ │ └── youtube_audio.py │ │ │ ├── blockchain.py │ │ │ ├── brave_search.py │ │ │ ├── browserless.py │ │ │ ├── chatgpt.py │ │ │ ├── chromium.py │ │ │ ├── college_confidential.py │ │ │ ├── concurrent.py │ │ │ ├── confluence.py │ │ │ ├── conllu.py │ │ │ ├── couchbase.py │ │ │ ├── csv_loader.py │ │ │ ├── cube_semantic.py │ │ │ ├── datadog_logs.py │ │ │ ├── dataframe.py │ │ │ ├── diffbot.py │ │ │ ├── directory.py │ │ │ ├── discord.py │ │ │ ├── docugami.py │ │ │ ├── docusaurus.py │ │ │ ├── dropbox.py │ │ │ ├── duckdb_loader.py │ │ │ ├── email.py │ │ │ ├── epub.py │ │ │ ├── etherscan.py │ │ │ ├── evernote.py │ │ │ ├── excel.py │ │ │ ├── facebook_chat.py │ │ │ ├── fauna.py │ │ │ ├── figma.py │ │ │ ├── gcs_directory.py │ │ │ ├── gcs_file.py │ │ │ ├── generic.py │ │ │ ├── geodataframe.py │ │ │ ├── git.py │ │ │ ├── gitbook.py │ │ │ ├── github.py │ │ │ ├── google_speech_to_text.py │ │ │ ├── googledrive.py │ │ │ ├── gutenberg.py │ │ │ ├── helpers.py │ │ │ ├── hn.py │ │ │ ├── html.py │ │ │ ├── html_bs.py │ │ │ ├── hugging_face_dataset.py │ │ │ ├── ifixit.py │ │ │ ├── image.py │ │ │ ├── image_captions.py │ │ │ ├── imsdb.py │ │ │ ├── iugu.py │ │ │ ├── joplin.py │ │ │ ├── json_loader.py │ │ │ ├── lakefs.py │ │ │ ├── larksuite.py │ │ │ ├── markdown.py │ │ │ ├── mastodon.py │ │ │ ├── max_compute.py │ │ │ ├── mediawikidump.py │ │ │ ├── merge.py │ │ │ ├── mhtml.py │ │ │ ├── modern_treasury.py │ │ │ ├── mongodb.py │ │ │ ├── news.py │ │ │ ├── notebook.py │ │ │ ├── notion.py │ │ │ ├── notiondb.py │ │ │ ├── nuclia.py │ │ │ ├── obs_directory.py │ │ │ ├── obs_file.py │ │ │ ├── obsidian.py │ │ │ ├── odt.py │ │ │ ├── onedrive.py │ │ │ ├── onedrive_file.py │ │ │ ├── onenote.py │ │ │ ├── open_city_data.py │ │ │ ├── org_mode.py │ │ │ ├── parsers/ │ │ │ │ ├── __init__.py │ │ │ │ ├── audio.py │ │ │ │ ├── docai.py │ │ │ │ ├── generic.py │ │ │ │ ├── grobid.py │ │ │ │ ├── html/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── bs4.py │ │ │ │ ├── language/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── cobol.py │ │ │ │ │ ├── code_segmenter.py │ │ │ │ │ ├── javascript.py │ │ │ │ │ ├── language_parser.py │ │ │ │ │ └── python.py │ │ │ │ ├── msword.py │ │ │ │ ├── pdf.py │ │ │ │ ├── registry.py │ │ │ │ └── txt.py │ │ │ ├── pdf.py │ │ │ ├── polars_dataframe.py │ │ │ ├── powerpoint.py │ │ │ ├── psychic.py │ │ │ ├── pubmed.py │ │ │ ├── pyspark_dataframe.py │ │ │ ├── python.py │ │ │ ├── quip.py │ │ │ ├── readthedocs.py │ │ │ ├── recursive_url_loader.py │ │ │ ├── reddit.py │ │ │ ├── roam.py │ │ │ ├── rocksetdb.py │ │ │ ├── rspace.py │ │ │ ├── rss.py │ │ │ ├── rst.py │ │ │ ├── rtf.py │ │ │ ├── s3_directory.py │ │ │ ├── s3_file.py │ │ │ ├── sharepoint.py │ │ │ ├── sitemap.py │ │ │ ├── slack_directory.py │ │ │ ├── snowflake_loader.py │ │ │ ├── spreedly.py │ │ │ ├── srt.py │ │ │ ├── stripe.py │ │ │ ├── telegram.py │ │ │ ├── tencent_cos_directory.py │ │ │ ├── tencent_cos_file.py │ │ │ ├── tensorflow_datasets.py │ │ │ ├── text.py │ │ │ ├── tomarkdown.py │ │ │ ├── toml.py │ │ │ ├── trello.py │ │ │ ├── tsv.py │ │ │ ├── twitter.py │ │ │ ├── unstructured.py │ │ │ ├── url.py │ │ │ ├── url_playwright.py │ │ │ ├── url_selenium.py │ │ │ ├── weather.py │ │ │ ├── web_base.py │ │ │ ├── whatsapp_chat.py │ │ │ ├── wikipedia.py │ │ │ ├── word_document.py │ │ │ ├── xml.py │ │ │ ├── xorbits.py │ │ │ └── youtube.py │ │ ├── document_transformers/ │ │ │ ├── __init__.py │ │ │ ├── beautiful_soup_transformer.py │ │ │ ├── doctran_text_extract.py │ │ │ ├── doctran_text_qa.py │ │ │ ├── doctran_text_translate.py │ │ │ ├── embeddings_redundant_filter.py │ │ │ ├── google_translate.py │ │ │ ├── html2text.py │ │ │ ├── long_context_reorder.py │ │ │ ├── nuclia_text_transform.py │ │ │ ├── openai_functions.py │ │ │ └── xsl/ │ │ │ └── html_chunks_with_headers.xslt │ │ ├── embeddings/ │ │ │ ├── __init__.py │ │ │ ├── aleph_alpha.py │ │ │ ├── awa.py │ │ │ ├── azure_openai.py │ │ │ ├── baidu_qianfan_endpoint.py │ │ │ ├── base.py │ │ │ ├── bedrock.py │ │ │ ├── bookend.py │ │ │ ├── cache.py │ │ │ ├── clarifai.py │ │ │ ├── cloudflare_workersai.py │ │ │ ├── cohere.py │ │ │ ├── dashscope.py │ │ │ ├── databricks.py │ │ │ ├── deepinfra.py │ │ │ ├── edenai.py │ │ │ ├── elasticsearch.py │ │ │ ├── embaas.py │ │ │ ├── ernie.py │ │ │ ├── fake.py │ │ │ ├── fastembed.py │ │ │ ├── google_palm.py │ │ │ ├── gpt4all.py │ │ │ ├── gradient_ai.py │ │ │ ├── huggingface.py │ │ │ ├── huggingface_hub.py │ │ │ ├── infinity.py │ │ │ ├── javelin_ai_gateway.py │ │ │ ├── jina.py │ │ │ ├── johnsnowlabs.py │ │ │ ├── llamacpp.py │ │ │ ├── llm_rails.py │ │ │ ├── localai.py │ │ │ ├── minimax.py │ │ │ ├── mlflow.py │ │ │ ├── mlflow_gateway.py │ │ │ ├── modelscope_hub.py │ │ │ ├── mosaicml.py │ │ │ ├── nlpcloud.py │ │ │ ├── octoai_embeddings.py │ │ │ ├── ollama.py │ │ │ ├── openai.py │ │ │ ├── sagemaker_endpoint.py │ │ │ ├── self_hosted.py │ │ │ ├── self_hosted_hugging_face.py │ │ │ ├── sentence_transformer.py │ │ │ ├── spacy_embeddings.py │ │ │ ├── tensorflow_hub.py │ │ │ ├── vertexai.py │ │ │ ├── voyageai.py │ │ │ └── xinference.py │ │ ├── env.py │ │ ├── evaluation/ │ │ │ ├── __init__.py │ │ │ ├── agents/ │ │ │ │ ├── __init__.py │ │ │ │ ├── trajectory_eval_chain.py │ │ │ │ └── trajectory_eval_prompt.py │ │ │ ├── comparison/ │ │ │ │ ├── __init__.py │ │ │ │ ├── eval_chain.py │ │ │ │ └── prompt.py │ │ │ ├── criteria/ │ │ │ │ ├── __init__.py │ │ │ │ ├── eval_chain.py │ │ │ │ └── prompt.py │ │ │ ├── embedding_distance/ │ │ │ │ ├── __init__.py │ │ │ │ └── base.py │ │ │ ├── exact_match/ │ │ │ │ ├── __init__.py │ │ │ │ └── base.py │ │ │ ├── loading.py │ │ │ ├── parsing/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── json_distance.py │ │ │ │ └── json_schema.py │ │ │ ├── qa/ │ │ │ │ ├── __init__.py │ │ │ │ ├── eval_chain.py │ │ │ │ ├── eval_prompt.py │ │ │ │ ├── generate_chain.py │ │ │ │ └── generate_prompt.py │ │ │ ├── regex_match/ │ │ │ │ ├── __init__.py │ │ │ │ └── base.py │ │ │ ├── schema.py │ │ │ ├── scoring/ │ │ │ │ ├── __init__.py │ │ │ │ ├── eval_chain.py │ │ │ │ └── prompt.py │ │ │ └── string_distance/ │ │ │ ├── __init__.py │ │ │ └── base.py │ │ ├── example_generator.py │ │ ├── formatting.py │ │ ├── globals.py │ │ ├── graphs/ │ │ │ ├── __init__.py │ │ │ ├── arangodb_graph.py │ │ │ ├── falkordb_graph.py │ │ │ ├── graph_document.py │ │ │ ├── graph_store.py │ │ │ ├── hugegraph.py │ │ │ ├── kuzu_graph.py │ │ │ ├── memgraph_graph.py │ │ │ ├── nebula_graph.py │ │ │ ├── neo4j_graph.py │ │ │ ├── neptune_graph.py │ │ │ ├── networkx_graph.py │ │ │ └── rdf_graph.py │ │ ├── hub.py │ │ ├── indexes/ │ │ │ ├── __init__.py │ │ │ ├── _api.py │ │ │ ├── _sql_record_manager.py │ │ │ ├── graph.py │ │ │ ├── prompts/ │ │ │ │ ├── __init__.py │ │ │ │ ├── entity_extraction.py │ │ │ │ ├── entity_summarization.py │ │ │ │ └── knowledge_triplet_extraction.py │ │ │ └── vectorstore.py │ │ ├── input.py │ │ ├── llms/ │ │ │ ├── __init__.py │ │ │ ├── ai21.py │ │ │ ├── aleph_alpha.py │ │ │ ├── amazon_api_gateway.py │ │ │ ├── anthropic.py │ │ │ ├── anyscale.py │ │ │ ├── arcee.py │ │ │ ├── aviary.py │ │ │ ├── azureml_endpoint.py │ │ │ ├── baidu_qianfan_endpoint.py │ │ │ ├── bananadev.py │ │ │ ├── base.py │ │ │ ├── baseten.py │ │ │ ├── beam.py │ │ │ ├── bedrock.py │ │ │ ├── bittensor.py │ │ │ ├── cerebriumai.py │ │ │ ├── chatglm.py │ │ │ ├── clarifai.py │ │ │ ├── cloudflare_workersai.py │ │ │ ├── cohere.py │ │ │ ├── ctransformers.py │ │ │ ├── ctranslate2.py │ │ │ ├── databricks.py │ │ │ ├── deepinfra.py │ │ │ ├── deepsparse.py │ │ │ ├── edenai.py │ │ │ ├── fake.py │ │ │ ├── fireworks.py │ │ │ ├── forefrontai.py │ │ │ ├── gigachat.py │ │ │ ├── google_palm.py │ │ │ ├── gooseai.py │ │ │ ├── gpt4all.py │ │ │ ├── gradient_ai.py │ │ │ ├── grammars/ │ │ │ │ ├── json.gbnf │ │ │ │ └── list.gbnf │ │ │ ├── huggingface_endpoint.py │ │ │ ├── huggingface_hub.py │ │ │ ├── huggingface_pipeline.py │ │ │ ├── huggingface_text_gen_inference.py │ │ │ ├── human.py │ │ │ ├── javelin_ai_gateway.py │ │ │ ├── koboldai.py │ │ │ ├── llamacpp.py │ │ │ ├── loading.py │ │ │ ├── manifest.py │ │ │ ├── minimax.py │ │ │ ├── mlflow.py │ │ │ ├── mlflow_ai_gateway.py │ │ │ ├── modal.py │ │ │ ├── mosaicml.py │ │ │ ├── nlpcloud.py │ │ │ ├── octoai_endpoint.py │ │ │ ├── ollama.py │ │ │ ├── opaqueprompts.py │ │ │ ├── openai.py │ │ │ ├── openllm.py │ │ │ ├── openlm.py │ │ │ ├── pai_eas_endpoint.py │ │ │ ├── petals.py │ │ │ ├── pipelineai.py │ │ │ ├── predibase.py │ │ │ ├── predictionguard.py │ │ │ ├── promptlayer_openai.py │ │ │ ├── replicate.py │ │ │ ├── rwkv.py │ │ │ ├── sagemaker_endpoint.py │ │ │ ├── self_hosted.py │ │ │ ├── self_hosted_hugging_face.py │ │ │ ├── stochasticai.py │ │ │ ├── symblai_nebula.py │ │ │ ├── textgen.py │ │ │ ├── titan_takeoff.py │ │ │ ├── titan_takeoff_pro.py │ │ │ ├── together.py │ │ │ ├── tongyi.py │ │ │ ├── utils.py │ │ │ ├── vertexai.py │ │ │ ├── vllm.py │ │ │ ├── volcengine_maas.py │ │ │ ├── watsonxllm.py │ │ │ ├── writer.py │ │ │ ├── xinference.py │ │ │ └── yandex.py │ │ ├── load/ │ │ │ ├── __init__.py │ │ │ ├── dump.py │ │ │ ├── load.py │ │ │ └── serializable.py │ │ ├── memory/ │ │ │ ├── __init__.py │ │ │ ├── buffer.py │ │ │ ├── buffer_window.py │ │ │ ├── chat_memory.py │ │ │ ├── chat_message_histories/ │ │ │ │ ├── __init__.py │ │ │ │ ├── astradb.py │ │ │ │ ├── cassandra.py │ │ │ │ ├── cosmos_db.py │ │ │ │ ├── dynamodb.py │ │ │ │ ├── elasticsearch.py │ │ │ │ ├── file.py │ │ │ │ ├── firestore.py │ │ │ │ ├── in_memory.py │ │ │ │ ├── momento.py │ │ │ │ ├── mongodb.py │ │ │ │ ├── neo4j.py │ │ │ │ ├── postgres.py │ │ │ │ ├── redis.py │ │ │ │ ├── rocksetdb.py │ │ │ │ ├── singlestoredb.py │ │ │ │ ├── sql.py │ │ │ │ ├── streamlit.py │ │ │ │ ├── upstash_redis.py │ │ │ │ ├── xata.py │ │ │ │ └── zep.py │ │ │ ├── combined.py │ │ │ ├── entity.py │ │ │ ├── kg.py │ │ │ ├── motorhead_memory.py │ │ │ ├── prompt.py │ │ │ ├── readonly.py │ │ │ ├── simple.py │ │ │ ├── summary.py │ │ │ ├── summary_buffer.py │ │ │ ├── token_buffer.py │ │ │ ├── utils.py │ │ │ ├── vectorstore.py │ │ │ ├── vectorstore_token_buffer_memory.py │ │ │ └── zep_memory.py │ │ ├── model_laboratory.py │ │ ├── output_parsers/ │ │ │ ├── __init__.py │ │ │ ├── boolean.py │ │ │ ├── combining.py │ │ │ ├── datetime.py │ │ │ ├── enum.py │ │ │ ├── ernie_functions.py │ │ │ ├── fix.py │ │ │ ├── format_instructions.py │ │ │ ├── json.py │ │ │ ├── list.py │ │ │ ├── loading.py │ │ │ ├── openai_functions.py │ │ │ ├── openai_tools.py │ │ │ ├── pandas_dataframe.py │ │ │ ├── prompts.py │ │ │ ├── pydantic.py │ │ │ ├── rail_parser.py │ │ │ ├── regex.py │ │ │ ├── regex_dict.py │ │ │ ├── retry.py │ │ │ ├── structured.py │ │ │ ├── xml.py │ │ │ └── yaml.py │ │ ├── prompts/ │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── chat.py │ │ │ ├── example_selector/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── length_based.py │ │ │ │ ├── ngram_overlap.py │ │ │ │ └── semantic_similarity.py │ │ │ ├── few_shot.py │ │ │ ├── few_shot_with_templates.py │ │ │ ├── loading.py │ │ │ └── prompt.py │ │ ├── py.typed │ │ ├── python.py │ │ ├── requests.py │ │ ├── retrievers/ │ │ │ ├── __init__.py │ │ │ ├── arcee.py │ │ │ ├── arxiv.py │ │ │ ├── azure_ai_search.py │ │ │ ├── bedrock.py │ │ │ ├── bm25.py │ │ │ ├── chaindesk.py │ │ │ ├── chatgpt_plugin_retriever.py │ │ │ ├── cohere_rag_retriever.py │ │ │ ├── contextual_compression.py │ │ │ ├── databerry.py │ │ │ ├── docarray.py │ │ │ ├── document_compressors/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── chain_extract.py │ │ │ │ ├── chain_extract_prompt.py │ │ │ │ ├── chain_filter.py │ │ │ │ ├── chain_filter_prompt.py │ │ │ │ ├── cohere_rerank.py │ │ │ │ ├── cross_encoder.py │ │ │ │ ├── cross_encoder_rerank.py │ │ │ │ ├── embeddings_filter.py │ │ │ │ ├── flashrank_rerank.py │ │ │ │ └── listwise_rerank.py │ │ │ ├── elastic_search_bm25.py │ │ │ ├── embedchain.py │ │ │ ├── ensemble.py │ │ │ ├── google_cloud_documentai_warehouse.py │ │ │ ├── google_vertex_ai_search.py │ │ │ ├── kay.py │ │ │ ├── kendra.py │ │ │ ├── knn.py │ │ │ ├── llama_index.py │ │ │ ├── merger_retriever.py │ │ │ ├── metal.py │ │ │ ├── milvus.py │ │ │ ├── multi_query.py │ │ │ ├── multi_vector.py │ │ │ ├── outline.py │ │ │ ├── parent_document_retriever.py │ │ │ ├── pinecone_hybrid_search.py │ │ │ ├── pubmed.py │ │ │ ├── pupmed.py │ │ │ ├── re_phraser.py │ │ │ ├── remote_retriever.py │ │ │ ├── self_query/ │ │ │ │ ├── __init__.py │ │ │ │ ├── astradb.py │ │ │ │ ├── base.py │ │ │ │ ├── chroma.py │ │ │ │ ├── dashvector.py │ │ │ │ ├── databricks_vector_search.py │ │ │ │ ├── deeplake.py │ │ │ │ ├── dingo.py │ │ │ │ ├── elasticsearch.py │ │ │ │ ├── milvus.py │ │ │ │ ├── mongodb_atlas.py │ │ │ │ ├── myscale.py │ │ │ │ ├── opensearch.py │ │ │ │ ├── pgvector.py │ │ │ │ ├── pinecone.py │ │ │ │ ├── qdrant.py │ │ │ │ ├── redis.py │ │ │ │ ├── supabase.py │ │ │ │ ├── tencentvectordb.py │ │ │ │ ├── timescalevector.py │ │ │ │ ├── vectara.py │ │ │ │ └── weaviate.py │ │ │ ├── svm.py │ │ │ ├── tavily_search_api.py │ │ │ ├── tfidf.py │ │ │ ├── time_weighted_retriever.py │ │ │ ├── vespa_retriever.py │ │ │ ├── weaviate_hybrid_search.py │ │ │ ├── web_research.py │ │ │ ├── wikipedia.py │ │ │ ├── you.py │ │ │ ├── zep.py │ │ │ └── zilliz.py │ │ ├── runnables/ │ │ │ ├── __init__.py │ │ │ ├── hub.py │ │ │ └── openai_functions.py │ │ ├── schema/ │ │ │ ├── __init__.py │ │ │ ├── agent.py │ │ │ ├── cache.py │ │ │ ├── callbacks/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── manager.py │ │ │ │ ├── stdout.py │ │ │ │ ├── streaming_stdout.py │ │ │ │ └── tracers/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── evaluation.py │ │ │ │ ├── langchain.py │ │ │ │ ├── log_stream.py │ │ │ │ ├── root_listeners.py │ │ │ │ ├── run_collector.py │ │ │ │ ├── schemas.py │ │ │ │ └── stdout.py │ │ │ ├── chat.py │ │ │ ├── chat_history.py │ │ │ ├── document.py │ │ │ ├── embeddings.py │ │ │ ├── exceptions.py │ │ │ ├── language_model.py │ │ │ ├── memory.py │ │ │ ├── messages.py │ │ │ ├── output.py │ │ │ ├── output_parser.py │ │ │ ├── prompt.py │ │ │ ├── prompt_template.py │ │ │ ├── retriever.py │ │ │ ├── runnable/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── branch.py │ │ │ │ ├── config.py │ │ │ │ ├── configurable.py │ │ │ │ ├── fallbacks.py │ │ │ │ ├── history.py │ │ │ │ ├── passthrough.py │ │ │ │ ├── retry.py │ │ │ │ ├── router.py │ │ │ │ └── utils.py │ │ │ ├── storage.py │ │ │ └── vectorstore.py │ │ ├── serpapi.py │ │ ├── smith/ │ │ │ ├── __init__.py │ │ │ └── evaluation/ │ │ │ ├── __init__.py │ │ │ ├── config.py │ │ │ ├── name_generation.py │ │ │ ├── progress.py │ │ │ ├── runner_utils.py │ │ │ └── string_run_evaluator.py │ │ ├── sql_database.py │ │ ├── storage/ │ │ │ ├── __init__.py │ │ │ ├── _lc_store.py │ │ │ ├── encoder_backed.py │ │ │ ├── exceptions.py │ │ │ ├── file_system.py │ │ │ ├── in_memory.py │ │ │ ├── redis.py │ │ │ └── upstash_redis.py │ │ ├── text_splitter.py │ │ ├── tools/ │ │ │ ├── __init__.py │ │ │ ├── ainetwork/ │ │ │ │ ├── __init__.py │ │ │ │ ├── app.py │ │ │ │ ├── base.py │ │ │ │ ├── owner.py │ │ │ │ ├── rule.py │ │ │ │ ├── transfer.py │ │ │ │ └── value.py │ │ │ ├── amadeus/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── closest_airport.py │ │ │ │ └── flight_search.py │ │ │ ├── arxiv/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── azure_cognitive_services/ │ │ │ │ ├── __init__.py │ │ │ │ ├── form_recognizer.py │ │ │ │ ├── image_analysis.py │ │ │ │ ├── speech2text.py │ │ │ │ ├── text2speech.py │ │ │ │ └── text_analytics_health.py │ │ │ ├── base.py │ │ │ ├── bearly/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── bing_search/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── brave_search/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── clickup/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── convert_to_openai.py │ │ │ ├── dataforseo_api_search/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── ddg_search/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── e2b_data_analysis/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── edenai/ │ │ │ │ ├── __init__.py │ │ │ │ ├── audio_speech_to_text.py │ │ │ │ ├── audio_text_to_speech.py │ │ │ │ ├── edenai_base_tool.py │ │ │ │ ├── image_explicitcontent.py │ │ │ │ ├── image_objectdetection.py │ │ │ │ ├── ocr_identityparser.py │ │ │ │ ├── ocr_invoiceparser.py │ │ │ │ └── text_moderation.py │ │ │ ├── eleven_labs/ │ │ │ │ ├── __init__.py │ │ │ │ ├── models.py │ │ │ │ └── text2speech.py │ │ │ ├── file_management/ │ │ │ │ ├── __init__.py │ │ │ │ ├── copy.py │ │ │ │ ├── delete.py │ │ │ │ ├── file_search.py │ │ │ │ ├── list_dir.py │ │ │ │ ├── move.py │ │ │ │ ├── read.py │ │ │ │ └── write.py │ │ │ ├── github/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── gitlab/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── gmail/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── create_draft.py │ │ │ │ ├── get_message.py │ │ │ │ ├── get_thread.py │ │ │ │ ├── search.py │ │ │ │ └── send_message.py │ │ │ ├── golden_query/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── google_cloud/ │ │ │ │ ├── __init__.py │ │ │ │ └── texttospeech.py │ │ │ ├── google_finance/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── google_jobs/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── google_lens/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── google_places/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── google_scholar/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── google_search/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── google_serper/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── google_trends/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── graphql/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── human/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── ifttt.py │ │ │ ├── interaction/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── jira/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── json/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── memorize/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── merriam_webster/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── metaphor_search/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── multion/ │ │ │ │ ├── __init__.py │ │ │ │ ├── close_session.py │ │ │ │ ├── create_session.py │ │ │ │ └── update_session.py │ │ │ ├── nasa/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── nuclia/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── office365/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── create_draft_message.py │ │ │ │ ├── events_search.py │ │ │ │ ├── messages_search.py │ │ │ │ ├── send_event.py │ │ │ │ └── send_message.py │ │ │ ├── openapi/ │ │ │ │ ├── __init__.py │ │ │ │ └── utils/ │ │ │ │ ├── __init__.py │ │ │ │ ├── api_models.py │ │ │ │ └── openapi_utils.py │ │ │ ├── openweathermap/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── playwright/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── click.py │ │ │ │ ├── current_page.py │ │ │ │ ├── extract_hyperlinks.py │ │ │ │ ├── extract_text.py │ │ │ │ ├── get_elements.py │ │ │ │ ├── navigate.py │ │ │ │ └── navigate_back.py │ │ │ ├── plugin.py │ │ │ ├── powerbi/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── pubmed/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── python/ │ │ │ │ └── __init__.py │ │ │ ├── reddit_search/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── render.py │ │ │ ├── requests/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── retriever.py │ │ │ ├── scenexplain/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── searchapi/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── searx_search/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── shell/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── slack/ │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── get_channel.py │ │ │ │ ├── get_message.py │ │ │ │ ├── schedule_message.py │ │ │ │ └── send_message.py │ │ │ ├── sleep/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── spark_sql/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── sql_database/ │ │ │ │ ├── __init__.py │ │ │ │ ├── prompt.py │ │ │ │ └── tool.py │ │ │ ├── stackexchange/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── steam/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── steamship_image_generation/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── tavily_search/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── vectorstore/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── wikipedia/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── wolfram_alpha/ │ │ │ │ ├── __init__.py │ │ │ │ └── tool.py │ │ │ ├── yahoo_finance_news.py │ │ │ ├── youtube/ │ │ │ │ ├── __init__.py │ │ │ │ └── search.py │ │ │ └── zapier/ │ │ │ ├── __init__.py │ │ │ └── tool.py │ │ ├── utilities/ │ │ │ ├── __init__.py │ │ │ ├── alpha_vantage.py │ │ │ ├── anthropic.py │ │ │ ├── apify.py │ │ │ ├── arcee.py │ │ │ ├── arxiv.py │ │ │ ├── asyncio.py │ │ │ ├── awslambda.py │ │ │ ├── bibtex.py │ │ │ ├── bing_search.py │ │ │ ├── brave_search.py │ │ │ ├── clickup.py │ │ │ ├── dalle_image_generator.py │ │ │ ├── dataforseo_api_search.py │ │ │ ├── duckduckgo_search.py │ │ │ ├── github.py │ │ │ ├── gitlab.py │ │ │ ├── golden_query.py │ │ │ ├── google_finance.py │ │ │ ├── google_jobs.py │ │ │ ├── google_lens.py │ │ │ ├── google_places_api.py │ │ │ ├── google_scholar.py │ │ │ ├── google_search.py │ │ │ ├── google_serper.py │ │ │ ├── google_trends.py │ │ │ ├── graphql.py │ │ │ ├── jira.py │ │ │ ├── max_compute.py │ │ │ ├── merriam_webster.py │ │ │ ├── metaphor_search.py │ │ │ ├── nasa.py │ │ │ ├── opaqueprompts.py │ │ │ ├── openapi.py │ │ │ ├── openweathermap.py │ │ │ ├── outline.py │ │ │ ├── portkey.py │ │ │ ├── powerbi.py │ │ │ ├── pubmed.py │ │ │ ├── python.py │ │ │ ├── reddit_search.py │ │ │ ├── redis.py │ │ │ ├── requests.py │ │ │ ├── scenexplain.py │ │ │ ├── searchapi.py │ │ │ ├── searx_search.py │ │ │ ├── serpapi.py │ │ │ ├── spark_sql.py │ │ │ ├── sql_database.py │ │ │ ├── stackexchange.py │ │ │ ├── steam.py │ │ │ ├── tavily_search.py │ │ │ ├── tensorflow_datasets.py │ │ │ ├── twilio.py │ │ │ ├── vertexai.py │ │ │ ├── wikipedia.py │ │ │ ├── wolfram_alpha.py │ │ │ └── zapier.py │ │ ├── utils/ │ │ │ ├── __init__.py │ │ │ ├── aiter.py │ │ │ ├── env.py │ │ │ ├── ernie_functions.py │ │ │ ├── formatting.py │ │ │ ├── html.py │ │ │ ├── input.py │ │ │ ├── iter.py │ │ │ ├── json_schema.py │ │ │ ├── math.py │ │ │ ├── openai.py │ │ │ ├── openai_functions.py │ │ │ ├── pydantic.py │ │ │ ├── strings.py │ │ │ └── utils.py │ │ └── vectorstores/ │ │ ├── __init__.py │ │ ├── alibabacloud_opensearch.py │ │ ├── analyticdb.py │ │ ├── annoy.py │ │ ├── astradb.py │ │ ├── atlas.py │ │ ├── awadb.py │ │ ├── azure_cosmos_db.py │ │ ├── azuresearch.py │ │ ├── bageldb.py │ │ ├── baiducloud_vector_search.py │ │ ├── base.py │ │ ├── cassandra.py │ │ ├── chroma.py │ │ ├── clarifai.py │ │ ├── clickhouse.py │ │ ├── dashvector.py │ │ ├── databricks_vector_search.py │ │ ├── deeplake.py │ │ ├── dingo.py │ │ ├── docarray/ │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── hnsw.py │ │ │ └── in_memory.py │ │ ├── elastic_vector_search.py │ │ ├── elasticsearch.py │ │ ├── epsilla.py │ │ ├── faiss.py │ │ ├── hippo.py │ │ ├── hologres.py │ │ ├── lancedb.py │ │ ├── llm_rails.py │ │ ├── marqo.py │ │ ├── matching_engine.py │ │ ├── meilisearch.py │ │ ├── milvus.py │ │ ├── momento_vector_index.py │ │ ├── mongodb_atlas.py │ │ ├── myscale.py │ │ ├── neo4j_vector.py │ │ ├── nucliadb.py │ │ ├── opensearch_vector_search.py │ │ ├── pgembedding.py │ │ ├── pgvecto_rs.py │ │ ├── pgvector.py │ │ ├── pinecone.py │ │ ├── qdrant.py │ │ ├── redis/ │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── filters.py │ │ │ └── schema.py │ │ ├── rocksetdb.py │ │ ├── scann.py │ │ ├── semadb.py │ │ ├── singlestoredb.py │ │ ├── sklearn.py │ │ ├── sqlitevss.py │ │ ├── starrocks.py │ │ ├── supabase.py │ │ ├── tair.py │ │ ├── tencentvectordb.py │ │ ├── tiledb.py │ │ ├── timescalevector.py │ │ ├── typesense.py │ │ ├── usearch.py │ │ ├── utils.py │ │ ├── vald.py │ │ ├── vearch.py │ │ ├── vectara.py │ │ ├── vespa.py │ │ ├── weaviate.py │ │ ├── xata.py │ │ ├── yellowbrick.py │ │ ├── zep.py │ │ └── zilliz.py │ ├── pyproject.toml │ ├── scripts/ │ │ ├── check_imports.py │ │ └── lint_imports.sh │ └── tests/ │ ├── __init__.py │ ├── data.py │ ├── integration_tests/ │ │ ├── __init__.py │ │ ├── cache/ │ │ │ ├── __init__.py │ │ │ └── fake_embeddings.py │ │ ├── chains/ │ │ │ ├── __init__.py │ │ │ └── openai_functions/ │ │ │ ├── __init__.py │ │ │ └── test_openapi.py │ │ ├── chat_models/ │ │ │ ├── __init__.py │ │ │ └── test_base.py │ │ ├── conftest.py │ │ ├── embeddings/ │ │ │ ├── __init__.py │ │ │ └── test_base.py │ │ ├── evaluation/ │ │ │ ├── __init__.py │ │ │ └── embedding_distance/ │ │ │ ├── __init__.py │ │ │ └── test_embedding.py │ │ ├── examples/ │ │ │ ├── README.org │ │ │ ├── README.rst │ │ │ ├── brandfetch-brandfetch-2.0.0-resolved.json │ │ │ ├── default-encoding.py │ │ │ ├── example-utf8.html │ │ │ ├── example.html │ │ │ ├── example.json │ │ │ ├── example.mht │ │ │ ├── facebook_chat.json │ │ │ ├── factbook.xml │ │ │ ├── fake-email-attachment.eml │ │ │ ├── fake.odt │ │ │ ├── hello.msg │ │ │ ├── hello_world.js │ │ │ ├── hello_world.py │ │ │ ├── non-utf8-encoding.py │ │ │ ├── sample_rss_feeds.opml │ │ │ ├── sitemap.xml │ │ │ ├── stanley-cups.csv │ │ │ ├── stanley-cups.tsv │ │ │ ├── stanley-cups.xlsx │ │ │ └── whatsapp_chat.txt │ │ ├── memory/ │ │ │ ├── __init__.py │ │ │ └── docker-compose/ │ │ │ └── elasticsearch.yml │ │ ├── prompts/ │ │ │ └── __init__.py │ │ ├── retrievers/ │ │ │ └── document_compressors/ │ │ │ ├── __init__.py │ │ │ ├── test_cohere_reranker.py │ │ │ └── test_listwise_rerank.py │ │ ├── test_compile.py │ │ ├── test_hub.py │ │ └── test_schema.py │ ├── mock_servers/ │ │ ├── __init__.py │ │ └── robot/ │ │ ├── __init__.py │ │ └── server.py │ └── unit_tests/ │ ├── __init__.py │ ├── _api/ │ │ ├── __init__.py │ │ └── test_importing.py │ ├── agents/ │ │ ├── __init__.py │ │ ├── agent_toolkits/ │ │ │ ├── __init__.py │ │ │ └── test_imports.py │ │ ├── format_scratchpad/ │ │ │ ├── __init__.py │ │ │ ├── test_log.py │ │ │ ├── test_log_to_messages.py │ │ │ ├── test_openai_functions.py │ │ │ ├── test_openai_tools.py │ │ │ └── test_xml.py │ │ ├── output_parsers/ │ │ │ ├── __init__.py │ │ │ ├── test_convo_output_parser.py │ │ │ ├── test_json.py │ │ │ ├── test_openai_functions.py │ │ │ ├── test_react_json_single_input.py │ │ │ ├── test_react_single_input.py │ │ │ ├── test_self_ask.py │ │ │ └── test_xml.py │ │ ├── test_agent.py │ │ ├── test_agent_async.py │ │ ├── test_agent_iterator.py │ │ ├── test_chat.py │ │ ├── test_imports.py │ │ ├── test_initialize.py │ │ ├── test_mrkl.py │ │ ├── test_mrkl_output_parser.py │ │ ├── test_openai_assistant.py │ │ ├── test_openai_functions_multi.py │ │ ├── test_public_api.py │ │ ├── test_structured_chat.py │ │ └── test_types.py │ ├── callbacks/ │ │ ├── __init__.py │ │ ├── fake_callback_handler.py │ │ ├── test_base.py │ │ ├── test_file.py │ │ ├── test_imports.py │ │ ├── test_manager.py │ │ ├── test_stdout.py │ │ └── tracers/ │ │ ├── __init__.py │ │ └── test_logging.py │ ├── chains/ │ │ ├── __init__.py │ │ ├── query_constructor/ │ │ │ ├── __init__.py │ │ │ └── test_parser.py │ │ ├── question_answering/ │ │ │ ├── __init__.py │ │ │ └── test_map_rerank_prompt.py │ │ ├── test_base.py │ │ ├── test_combine_documents.py │ │ ├── test_constitutional_ai.py │ │ ├── test_conversation.py │ │ ├── test_conversation_retrieval.py │ │ ├── test_flare.py │ │ ├── test_history_aware_retriever.py │ │ ├── test_hyde.py │ │ ├── test_imports.py │ │ ├── test_llm_checker.py │ │ ├── test_llm_math.py │ │ ├── test_llm_summarization_checker.py │ │ ├── test_memory.py │ │ ├── test_qa_with_sources.py │ │ ├── test_retrieval.py │ │ ├── test_sequential.py │ │ ├── test_summary_buffer_memory.py │ │ └── test_transform.py │ ├── chat_models/ │ │ ├── __init__.py │ │ ├── test_base.py │ │ └── test_imports.py │ ├── conftest.py │ ├── data/ │ │ ├── prompt_file.txt │ │ └── prompts/ │ │ ├── prompt_extra_args.json │ │ ├── prompt_missing_args.json │ │ └── simple_prompt.json │ ├── docstore/ │ │ ├── __init__.py │ │ └── test_imports.py │ ├── document_loaders/ │ │ ├── __init__.py │ │ ├── blob_loaders/ │ │ │ ├── __init__.py │ │ │ └── test_public_api.py │ │ ├── parsers/ │ │ │ ├── __init__.py │ │ │ └── test_public_api.py │ │ ├── test_base.py │ │ └── test_imports.py │ ├── document_transformers/ │ │ ├── __init__.py │ │ └── test_imports.py │ ├── embeddings/ │ │ ├── __init__.py │ │ ├── test_base.py │ │ ├── test_caching.py │ │ └── test_imports.py │ ├── evaluation/ │ │ ├── __init__.py │ │ ├── agents/ │ │ │ ├── __init__.py │ │ │ └── test_eval_chain.py │ │ ├── comparison/ │ │ │ ├── __init__.py │ │ │ └── test_eval_chain.py │ │ ├── criteria/ │ │ │ ├── __init__.py │ │ │ └── test_eval_chain.py │ │ ├── exact_match/ │ │ │ ├── __init__.py │ │ │ └── test_base.py │ │ ├── parsing/ │ │ │ ├── __init__.py │ │ │ ├── test_base.py │ │ │ ├── test_json_distance.py │ │ │ └── test_json_schema.py │ │ ├── qa/ │ │ │ ├── __init__.py │ │ │ └── test_eval_chain.py │ │ ├── regex_match/ │ │ │ ├── __init__.py │ │ │ └── test_base.py │ │ ├── run_evaluators/ │ │ │ └── __init__.py │ │ ├── scoring/ │ │ │ ├── __init__.py │ │ │ └── test_eval_chain.py │ │ ├── string_distance/ │ │ │ ├── __init__.py │ │ │ └── test_base.py │ │ └── test_imports.py │ ├── examples/ │ │ ├── example-non-utf8.csv │ │ ├── example-non-utf8.txt │ │ ├── example-utf8.csv │ │ ├── example-utf8.txt │ │ └── test_specs/ │ │ ├── apis-guru/ │ │ │ └── apispec.json │ │ ├── biztoc/ │ │ │ └── apispec.json │ │ ├── calculator/ │ │ │ └── apispec.json │ │ ├── datasette/ │ │ │ └── apispec.json │ │ ├── freetv-app/ │ │ │ └── apispec.json │ │ ├── joinmilo/ │ │ │ └── apispec.json │ │ ├── klarna/ │ │ │ └── apispec.json │ │ ├── milo/ │ │ │ └── apispec.json │ │ ├── quickchart/ │ │ │ └── apispec.json │ │ ├── robot/ │ │ │ └── apispec.yaml │ │ ├── robot_openapi.yaml │ │ ├── schooldigger/ │ │ │ └── apispec.json │ │ ├── shop/ │ │ │ └── apispec.json │ │ ├── slack/ │ │ │ └── apispec.json │ │ ├── speak/ │ │ │ └── apispec.json │ │ ├── urlbox/ │ │ │ └── apispec.json │ │ ├── wellknown/ │ │ │ └── apispec.json │ │ ├── wolframalpha/ │ │ │ └── apispec.json │ │ ├── wolframcloud/ │ │ │ └── apispec.json │ │ └── zapier/ │ │ └── apispec.json │ ├── graphs/ │ │ ├── __init__.py │ │ └── test_imports.py │ ├── indexes/ │ │ ├── __init__.py │ │ ├── test_api.py │ │ ├── test_imports.py │ │ └── test_indexing.py │ ├── llms/ │ │ ├── __init__.py │ │ ├── fake_chat_model.py │ │ ├── fake_llm.py │ │ ├── test_base.py │ │ ├── test_fake_chat_model.py │ │ └── test_imports.py │ ├── load/ │ │ ├── __init__.py │ │ ├── __snapshots__/ │ │ │ └── test_dump.ambr │ │ ├── test_dump.py │ │ ├── test_imports.py │ │ └── test_load.py │ ├── memory/ │ │ ├── __init__.py │ │ ├── chat_message_histories/ │ │ │ ├── __init__.py │ │ │ └── test_imports.py │ │ ├── test_combined_memory.py │ │ └── test_imports.py │ ├── output_parsers/ │ │ ├── __init__.py │ │ ├── test_boolean_parser.py │ │ ├── test_combining_parser.py │ │ ├── test_datetime_parser.py │ │ ├── test_enum_parser.py │ │ ├── test_fix.py │ │ ├── test_imports.py │ │ ├── test_json.py │ │ ├── test_pandas_dataframe_parser.py │ │ ├── test_regex.py │ │ ├── test_regex_dict.py │ │ ├── test_retry.py │ │ ├── test_structured_parser.py │ │ └── test_yaml_parser.py │ ├── prompts/ │ │ ├── __init__.py │ │ ├── test_base.py │ │ ├── test_chat.py │ │ ├── test_few_shot.py │ │ ├── test_few_shot_with_templates.py │ │ ├── test_imports.py │ │ ├── test_loading.py │ │ └── test_prompt.py │ ├── retrievers/ │ │ ├── __init__.py │ │ ├── document_compressors/ │ │ │ ├── __init__.py │ │ │ ├── test_chain_extract.py │ │ │ ├── test_chain_filter.py │ │ │ └── test_listwise_rerank.py │ │ ├── parrot_retriever.py │ │ ├── self_query/ │ │ │ ├── __init__.py │ │ │ └── test_base.py │ │ ├── sequential_retriever.py │ │ ├── test_ensemble.py │ │ ├── test_imports.py │ │ ├── test_multi_query.py │ │ ├── test_multi_vector.py │ │ ├── test_parent_document.py │ │ └── test_time_weighted_retriever.py │ ├── runnables/ │ │ ├── __init__.py │ │ ├── __snapshots__/ │ │ │ └── test_openai_functions.ambr │ │ ├── test_hub.py │ │ └── test_openai_functions.py │ ├── schema/ │ │ ├── __init__.py │ │ ├── runnable/ │ │ │ ├── __init__.py │ │ │ ├── test_base.py │ │ │ ├── test_branch.py │ │ │ ├── test_config.py │ │ │ ├── test_configurable.py │ │ │ ├── test_fallbacks.py │ │ │ ├── test_history.py │ │ │ ├── test_imports.py │ │ │ ├── test_passthrough.py │ │ │ ├── test_retry.py │ │ │ ├── test_router.py │ │ │ └── test_utils.py │ │ ├── test_agent.py │ │ ├── test_cache.py │ │ ├── test_chat.py │ │ ├── test_chat_history.py │ │ ├── test_document.py │ │ ├── test_embeddings.py │ │ ├── test_exceptions.py │ │ ├── test_imports.py │ │ ├── test_language_model.py │ │ ├── test_memory.py │ │ ├── test_messages.py │ │ ├── test_output.py │ │ ├── test_output_parser.py │ │ ├── test_prompt.py │ │ ├── test_prompt_template.py │ │ ├── test_retriever.py │ │ ├── test_storage.py │ │ └── test_vectorstore.py │ ├── smith/ │ │ ├── __init__.py │ │ ├── evaluation/ │ │ │ ├── __init__.py │ │ │ ├── test_runner_utils.py │ │ │ └── test_string_run_evaluator.py │ │ └── test_imports.py │ ├── storage/ │ │ ├── __init__.py │ │ ├── test_filesystem.py │ │ ├── test_imports.py │ │ └── test_lc_store.py │ ├── stubs.py │ ├── test_dependencies.py │ ├── test_formatting.py │ ├── test_globals.py │ ├── test_imports.py │ ├── test_pytest_config.py │ ├── test_schema.py │ ├── test_utils.py │ ├── tools/ │ │ ├── __init__.py │ │ ├── test_base.py │ │ ├── test_imports.py │ │ └── test_render.py │ ├── utilities/ │ │ ├── __init__.py │ │ └── test_imports.py │ ├── utils/ │ │ ├── __init__.py │ │ ├── test_imports.py │ │ ├── test_iter.py │ │ └── test_openai_functions.py │ └── vectorstores/ │ ├── __init__.py │ └── test_public_api.py ├── langchain_v1/ │ ├── LICENSE │ ├── Makefile │ ├── README.md │ ├── extended_testing_deps.txt │ ├── langchain/ │ │ ├── __init__.py │ │ ├── agents/ │ │ │ ├── __init__.py │ │ │ ├── factory.py │ │ │ ├── middleware/ │ │ │ │ ├── __init__.py │ │ │ │ ├── _execution.py │ │ │ │ ├── _redaction.py │ │ │ │ ├── _retry.py │ │ │ │ ├── context_editing.py │ │ │ │ ├── file_search.py │ │ │ │ ├── human_in_the_loop.py │ │ │ │ ├── model_call_limit.py │ │ │ │ ├── model_fallback.py │ │ │ │ ├── model_retry.py │ │ │ │ ├── pii.py │ │ │ │ ├── shell_tool.py │ │ │ │ ├── summarization.py │ │ │ │ ├── todo.py │ │ │ │ ├── tool_call_limit.py │ │ │ │ ├── tool_emulator.py │ │ │ │ ├── tool_retry.py │ │ │ │ ├── tool_selection.py │ │ │ │ └── types.py │ │ │ └── structured_output.py │ │ ├── chat_models/ │ │ │ ├── __init__.py │ │ │ └── base.py │ │ ├── embeddings/ │ │ │ ├── __init__.py │ │ │ └── base.py │ │ ├── messages/ │ │ │ └── __init__.py │ │ ├── py.typed │ │ ├── rate_limiters/ │ │ │ └── __init__.py │ │ └── tools/ │ │ ├── __init__.py │ │ └── tool_node.py │ ├── pyproject.toml │ ├── scripts/ │ │ ├── check_imports.py │ │ └── check_version.py │ └── tests/ │ ├── __init__.py │ ├── integration_tests/ │ │ ├── __init__.py │ │ ├── agents/ │ │ │ ├── __init__.py │ │ │ └── middleware/ │ │ │ ├── __init__.py │ │ │ └── test_shell_tool_integration.py │ │ ├── cache/ │ │ │ ├── __init__.py │ │ │ └── fake_embeddings.py │ │ ├── chat_models/ │ │ │ ├── __init__.py │ │ │ └── test_base.py │ │ ├── conftest.py │ │ ├── embeddings/ │ │ │ ├── __init__.py │ │ │ └── test_base.py │ │ └── test_compile.py │ └── unit_tests/ │ ├── __init__.py │ ├── agents/ │ │ ├── __init__.py │ │ ├── __snapshots__/ │ │ │ ├── test_middleware_agent.ambr │ │ │ ├── test_middleware_decorators.ambr │ │ │ ├── test_middleware_framework.ambr │ │ │ └── test_return_direct_graph.ambr │ │ ├── any_str.py │ │ ├── compose-postgres.yml │ │ ├── compose-redis.yml │ │ ├── conftest.py │ │ ├── conftest_checkpointer.py │ │ ├── conftest_store.py │ │ ├── memory_assert.py │ │ ├── messages.py │ │ ├── middleware/ │ │ │ ├── __init__.py │ │ │ ├── __snapshots__/ │ │ │ │ ├── test_middleware_decorators.ambr │ │ │ │ ├── test_middleware_diagram.ambr │ │ │ │ └── test_middleware_framework.ambr │ │ │ ├── core/ │ │ │ │ ├── __init__.py │ │ │ │ ├── __snapshots__/ │ │ │ │ │ ├── test_decorators.ambr │ │ │ │ │ ├── test_diagram.ambr │ │ │ │ │ └── test_framework.ambr │ │ │ │ ├── test_composition.py │ │ │ │ ├── test_decorators.py │ │ │ │ ├── test_diagram.py │ │ │ │ ├── test_dynamic_tools.py │ │ │ │ ├── test_framework.py │ │ │ │ ├── test_overrides.py │ │ │ │ ├── test_sync_async_wrappers.py │ │ │ │ ├── test_tools.py │ │ │ │ ├── test_wrap_model_call.py │ │ │ │ ├── test_wrap_model_call_state_update.py │ │ │ │ └── test_wrap_tool_call.py │ │ │ └── implementations/ │ │ │ ├── __init__.py │ │ │ ├── test_context_editing.py │ │ │ ├── test_file_search.py │ │ │ ├── test_human_in_the_loop.py │ │ │ ├── test_model_call_limit.py │ │ │ ├── test_model_fallback.py │ │ │ ├── test_model_retry.py │ │ │ ├── test_pii.py │ │ │ ├── test_shell_execution_policies.py │ │ │ ├── test_shell_tool.py │ │ │ ├── test_structured_output_retry.py │ │ │ ├── test_summarization.py │ │ │ ├── test_todo.py │ │ │ ├── test_tool_call_limit.py │ │ │ ├── test_tool_emulator.py │ │ │ ├── test_tool_retry.py │ │ │ └── test_tool_selection.py │ │ ├── middleware_typing/ │ │ │ ├── __init__.py │ │ │ ├── test_middleware_backwards_compat.py │ │ │ ├── test_middleware_type_errors.py │ │ │ └── test_middleware_typing.py │ │ ├── model.py │ │ ├── specifications/ │ │ │ ├── responses.json │ │ │ └── return_direct.json │ │ ├── test_agent_name.py │ │ ├── test_create_agent_tool_validation.py │ │ ├── test_fetch_last_ai_and_tool_messages.py │ │ ├── test_injected_runtime_create_agent.py │ │ ├── test_kwargs_tool_runtime_injection.py │ │ ├── test_react_agent.py │ │ ├── test_response_format.py │ │ ├── test_response_format_integration.py │ │ ├── test_responses.py │ │ ├── test_responses_spec.py │ │ ├── test_return_direct_graph.py │ │ ├── test_return_direct_spec.py │ │ ├── test_state_schema.py │ │ ├── test_system_message.py │ │ └── utils.py │ ├── chat_models/ │ │ ├── __init__.py │ │ └── test_chat_models.py │ ├── conftest.py │ ├── embeddings/ │ │ ├── __init__.py │ │ ├── test_base.py │ │ └── test_imports.py │ ├── test_dependencies.py │ ├── test_imports.py │ ├── test_pytest_config.py │ ├── test_version.py │ └── tools/ │ ├── __init__.py │ └── test_imports.py ├── model-profiles/ │ ├── Makefile │ ├── README.md │ ├── extended_testing_deps.txt │ ├── langchain_model_profiles/ │ │ ├── __init__.py │ │ └── cli.py │ ├── pyproject.toml │ ├── scripts/ │ │ └── lint_imports.sh │ └── tests/ │ ├── __init__.py │ ├── integration_tests/ │ │ ├── __init__.py │ │ └── test_compile.py │ └── unit_tests/ │ ├── __init__.py │ └── test_cli.py ├── partners/ │ ├── README.md │ ├── anthropic/ │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── langchain_anthropic/ │ │ │ ├── __init__.py │ │ │ ├── _client_utils.py │ │ │ ├── _compat.py │ │ │ ├── _version.py │ │ │ ├── chat_models.py │ │ │ ├── data/ │ │ │ │ ├── __init__.py │ │ │ │ ├── _profiles.py │ │ │ │ └── profile_augmentations.toml │ │ │ ├── experimental.py │ │ │ ├── llms.py │ │ │ ├── middleware/ │ │ │ │ ├── __init__.py │ │ │ │ ├── anthropic_tools.py │ │ │ │ ├── bash.py │ │ │ │ ├── file_search.py │ │ │ │ └── prompt_caching.py │ │ │ ├── output_parsers.py │ │ │ └── py.typed │ │ ├── pyproject.toml │ │ ├── scripts/ │ │ │ ├── check_imports.py │ │ │ ├── check_version.py │ │ │ └── lint_imports.sh │ │ └── tests/ │ │ ├── __init__.py │ │ ├── conftest.py │ │ ├── integration_tests/ │ │ │ ├── __init__.py │ │ │ ├── test_chat_models.py │ │ │ ├── test_compile.py │ │ │ ├── test_llms.py │ │ │ └── test_standard.py │ │ └── unit_tests/ │ │ ├── __init__.py │ │ ├── __snapshots__/ │ │ │ └── test_standard.ambr │ │ ├── _utils.py │ │ ├── middleware/ │ │ │ ├── __init__.py │ │ │ ├── test_anthropic_tools.py │ │ │ ├── test_bash.py │ │ │ ├── test_file_search.py │ │ │ └── test_prompt_caching.py │ │ ├── test_chat_models.py │ │ ├── test_client_utils.py │ │ ├── test_imports.py │ │ ├── test_llms.py │ │ ├── test_output_parsers.py │ │ └── test_standard.py │ ├── deepseek/ │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── langchain_deepseek/ │ │ │ ├── __init__.py │ │ │ ├── chat_models.py │ │ │ ├── data/ │ │ │ │ ├── __init__.py │ │ │ │ └── _profiles.py │ │ │ └── py.typed │ │ ├── pyproject.toml │ │ ├── scripts/ │ │ │ ├── check_imports.py │ │ │ └── lint_imports.sh │ │ └── tests/ │ │ ├── __init__.py │ │ ├── integration_tests/ │ │ │ ├── __init__.py │ │ │ ├── test_chat_models.py │ │ │ └── test_compile.py │ │ └── unit_tests/ │ │ ├── __init__.py │ │ └── test_chat_models.py │ ├── exa/ │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── langchain_exa/ │ │ │ ├── __init__.py │ │ │ ├── _utilities.py │ │ │ ├── py.typed │ │ │ ├── retrievers.py │ │ │ └── tools.py │ │ ├── pyproject.toml │ │ ├── scripts/ │ │ │ ├── check_imports.py │ │ │ └── lint_imports.sh │ │ └── tests/ │ │ ├── __init__.py │ │ ├── integration_tests/ │ │ │ ├── __init__.py │ │ │ ├── test_compile.py │ │ │ ├── test_find_similar_tool.py │ │ │ ├── test_retriever.py │ │ │ └── test_search_tool.py │ │ └── unit_tests/ │ │ ├── __init__.py │ │ ├── test_imports.py │ │ └── test_standard.py │ ├── fireworks/ │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── langchain_fireworks/ │ │ │ ├── __init__.py │ │ │ ├── _compat.py │ │ │ ├── chat_models.py │ │ │ ├── data/ │ │ │ │ ├── __init__.py │ │ │ │ └── _profiles.py │ │ │ ├── embeddings.py │ │ │ ├── llms.py │ │ │ ├── py.typed │ │ │ └── version.py │ │ ├── pyproject.toml │ │ ├── scripts/ │ │ │ ├── check_imports.py │ │ │ └── lint_imports.sh │ │ └── tests/ │ │ ├── __init__.py │ │ ├── integration_tests/ │ │ │ ├── __init__.py │ │ │ ├── test_chat_models.py │ │ │ ├── test_compile.py │ │ │ ├── test_embeddings.py │ │ │ ├── test_llms.py │ │ │ └── test_standard.py │ │ └── unit_tests/ │ │ ├── __init__.py │ │ ├── __snapshots__/ │ │ │ └── test_standard.ambr │ │ ├── test_chat_models.py │ │ ├── test_embeddings.py │ │ ├── test_embeddings_standard.py │ │ ├── test_imports.py │ │ ├── test_llms.py │ │ └── test_standard.py │ ├── groq/ │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── langchain_groq/ │ │ │ ├── __init__.py │ │ │ ├── _compat.py │ │ │ ├── chat_models.py │ │ │ ├── data/ │ │ │ │ ├── __init__.py │ │ │ │ └── _profiles.py │ │ │ ├── py.typed │ │ │ └── version.py │ │ ├── pyproject.toml │ │ ├── scripts/ │ │ │ ├── __init__.py │ │ │ ├── check_imports.py │ │ │ └── lint_imports.sh │ │ └── tests/ │ │ ├── __init__.py │ │ ├── conftest.py │ │ ├── integration_tests/ │ │ │ ├── __init__.py │ │ │ ├── test_chat_models.py │ │ │ ├── test_compile.py │ │ │ └── test_standard.py │ │ └── unit_tests/ │ │ ├── __init__.py │ │ ├── __snapshots__/ │ │ │ └── test_standard.ambr │ │ ├── fake/ │ │ │ ├── __init__.py │ │ │ └── callbacks.py │ │ ├── test_chat_models.py │ │ ├── test_imports.py │ │ └── test_standard.py │ ├── huggingface/ │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── langchain_huggingface/ │ │ │ ├── __init__.py │ │ │ ├── chat_models/ │ │ │ │ ├── __init__.py │ │ │ │ └── huggingface.py │ │ │ ├── data/ │ │ │ │ ├── __init__.py │ │ │ │ └── _profiles.py │ │ │ ├── embeddings/ │ │ │ │ ├── __init__.py │ │ │ │ ├── huggingface.py │ │ │ │ └── huggingface_endpoint.py │ │ │ ├── llms/ │ │ │ │ ├── __init__.py │ │ │ │ ├── huggingface_endpoint.py │ │ │ │ └── huggingface_pipeline.py │ │ │ ├── py.typed │ │ │ ├── tests/ │ │ │ │ ├── __init__.py │ │ │ │ └── integration_tests/ │ │ │ │ └── __init__.py │ │ │ └── utils/ │ │ │ └── import_utils.py │ │ ├── pyproject.toml │ │ ├── scripts/ │ │ │ ├── check_imports.py │ │ │ └── lint_imports.sh │ │ └── tests/ │ │ ├── integration_tests/ │ │ │ ├── __init__.py │ │ │ ├── test_chat_models.py │ │ │ ├── test_compile.py │ │ │ ├── test_embeddings_standard.py │ │ │ ├── test_llms.py │ │ │ └── test_standard.py │ │ └── unit_tests/ │ │ ├── __init__.py │ │ ├── test_chat_models.py │ │ ├── test_huggingface_endpoint.py │ │ └── test_huggingface_pipeline.py │ ├── mistralai/ │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── langchain_mistralai/ │ │ │ ├── __init__.py │ │ │ ├── _compat.py │ │ │ ├── chat_models.py │ │ │ ├── data/ │ │ │ │ ├── __init__.py │ │ │ │ └── _profiles.py │ │ │ ├── embeddings.py │ │ │ └── py.typed │ │ ├── pyproject.toml │ │ ├── scripts/ │ │ │ ├── check_imports.py │ │ │ └── lint_imports.sh │ │ └── tests/ │ │ ├── __init__.py │ │ ├── integration_tests/ │ │ │ ├── __init__.py │ │ │ ├── test_chat_models.py │ │ │ ├── test_compile.py │ │ │ ├── test_embeddings.py │ │ │ └── test_standard.py │ │ └── unit_tests/ │ │ ├── __init__.py │ │ ├── __snapshots__/ │ │ │ └── test_standard.ambr │ │ ├── test_chat_models.py │ │ ├── test_embeddings.py │ │ ├── test_imports.py │ │ └── test_standard.py │ ├── nomic/ │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── langchain_nomic/ │ │ │ ├── __init__.py │ │ │ ├── embeddings.py │ │ │ └── py.typed │ │ ├── pyproject.toml │ │ ├── scripts/ │ │ │ ├── check_imports.py │ │ │ └── lint_imports.sh │ │ └── tests/ │ │ ├── __init__.py │ │ ├── integration_tests/ │ │ │ ├── __init__.py │ │ │ ├── test_compile.py │ │ │ └── test_embeddings.py │ │ └── unit_tests/ │ │ ├── __init__.py │ │ ├── test_embeddings.py │ │ ├── test_imports.py │ │ └── test_standard.py │ ├── ollama/ │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── langchain_ollama/ │ │ │ ├── __init__.py │ │ │ ├── _compat.py │ │ │ ├── _utils.py │ │ │ ├── chat_models.py │ │ │ ├── embeddings.py │ │ │ ├── llms.py │ │ │ └── py.typed │ │ ├── pyproject.toml │ │ ├── scripts/ │ │ │ ├── check_imports.py │ │ │ └── lint_imports.sh │ │ └── tests/ │ │ ├── __init__.py │ │ ├── integration_tests/ │ │ │ ├── __init__.py │ │ │ ├── chat_models/ │ │ │ │ ├── __init__.py │ │ │ │ ├── cassettes/ │ │ │ │ │ └── test_chat_models_standard/ │ │ │ │ │ └── TestChatOllama.test_stream_time.yaml │ │ │ │ ├── test_chat_models.py │ │ │ │ ├── test_chat_models_reasoning.py │ │ │ │ └── test_chat_models_standard.py │ │ │ ├── test_compile.py │ │ │ ├── test_embeddings.py │ │ │ └── test_llms.py │ │ └── unit_tests/ │ │ ├── __init__.py │ │ ├── test_auth.py │ │ ├── test_chat_models.py │ │ ├── test_embeddings.py │ │ ├── test_imports.py │ │ └── test_llms.py │ ├── openai/ │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── langchain_openai/ │ │ │ ├── __init__.py │ │ │ ├── chat_models/ │ │ │ │ ├── __init__.py │ │ │ │ ├── _client_utils.py │ │ │ │ ├── _compat.py │ │ │ │ ├── azure.py │ │ │ │ └── base.py │ │ │ ├── data/ │ │ │ │ ├── __init__.py │ │ │ │ ├── _profiles.py │ │ │ │ └── profile_augmentations.toml │ │ │ ├── embeddings/ │ │ │ │ ├── __init__.py │ │ │ │ ├── azure.py │ │ │ │ └── base.py │ │ │ ├── llms/ │ │ │ │ ├── __init__.py │ │ │ │ ├── azure.py │ │ │ │ └── base.py │ │ │ ├── middleware/ │ │ │ │ ├── __init__.py │ │ │ │ └── openai_moderation.py │ │ │ ├── output_parsers/ │ │ │ │ ├── __init__.py │ │ │ │ └── tools.py │ │ │ ├── py.typed │ │ │ └── tools/ │ │ │ ├── __init__.py │ │ │ └── custom_tool.py │ │ ├── pyproject.toml │ │ ├── scripts/ │ │ │ ├── check_imports.py │ │ │ └── lint_imports.sh │ │ └── tests/ │ │ ├── __init__.py │ │ ├── conftest.py │ │ ├── integration_tests/ │ │ │ ├── __init__.py │ │ │ ├── chat_models/ │ │ │ │ ├── __init__.py │ │ │ │ ├── test_azure.py │ │ │ │ ├── test_azure_standard.py │ │ │ │ ├── test_base.py │ │ │ │ ├── test_base_standard.py │ │ │ │ ├── test_responses_api.py │ │ │ │ └── test_responses_standard.py │ │ │ ├── embeddings/ │ │ │ │ ├── __init__.py │ │ │ │ ├── test_azure.py │ │ │ │ ├── test_base.py │ │ │ │ └── test_base_standard.py │ │ │ ├── llms/ │ │ │ │ ├── __init__.py │ │ │ │ ├── test_azure.py │ │ │ │ └── test_base.py │ │ │ └── test_compile.py │ │ └── unit_tests/ │ │ ├── __init__.py │ │ ├── chat_models/ │ │ │ ├── __init__.py │ │ │ ├── __snapshots__/ │ │ │ │ ├── test_azure_standard.ambr │ │ │ │ ├── test_base_standard.ambr │ │ │ │ └── test_responses_standard.ambr │ │ │ ├── test_azure.py │ │ │ ├── test_azure_standard.py │ │ │ ├── test_base.py │ │ │ ├── test_base_standard.py │ │ │ ├── test_imports.py │ │ │ ├── test_prompt_cache_key.py │ │ │ ├── test_responses_standard.py │ │ │ └── test_responses_stream.py │ │ ├── embeddings/ │ │ │ ├── __init__.py │ │ │ ├── test_azure_embeddings.py │ │ │ ├── test_azure_standard.py │ │ │ ├── test_base.py │ │ │ ├── test_base_standard.py │ │ │ └── test_imports.py │ │ ├── fake/ │ │ │ ├── __init__.py │ │ │ └── callbacks.py │ │ ├── llms/ │ │ │ ├── __init__.py │ │ │ ├── test_azure.py │ │ │ ├── test_base.py │ │ │ └── test_imports.py │ │ ├── middleware/ │ │ │ ├── __init__.py │ │ │ └── test_openai_moderation_middleware.py │ │ ├── test_imports.py │ │ ├── test_load.py │ │ ├── test_secrets.py │ │ ├── test_token_counts.py │ │ └── test_tools.py │ ├── openrouter/ │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── langchain_openrouter/ │ │ │ ├── __init__.py │ │ │ ├── chat_models.py │ │ │ ├── data/ │ │ │ │ ├── __init__.py │ │ │ │ └── _profiles.py │ │ │ └── py.typed │ │ ├── pyproject.toml │ │ ├── scripts/ │ │ │ ├── __init__.py │ │ │ ├── check_imports.py │ │ │ └── lint_imports.sh │ │ └── tests/ │ │ ├── __init__.py │ │ ├── conftest.py │ │ ├── integration_tests/ │ │ │ ├── __init__.py │ │ │ ├── test_chat_models.py │ │ │ ├── test_compile.py │ │ │ └── test_standard.py │ │ └── unit_tests/ │ │ ├── __init__.py │ │ ├── __snapshots__/ │ │ │ └── test_standard.ambr │ │ ├── test_chat_models.py │ │ ├── test_imports.py │ │ └── test_standard.py │ ├── perplexity/ │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── langchain_perplexity/ │ │ │ ├── __init__.py │ │ │ ├── _utils.py │ │ │ ├── chat_models.py │ │ │ ├── data/ │ │ │ │ ├── __init__.py │ │ │ │ ├── _profiles.py │ │ │ │ └── profile_augmentations.toml │ │ │ ├── output_parsers.py │ │ │ ├── py.typed │ │ │ ├── retrievers.py │ │ │ ├── tools.py │ │ │ └── types.py │ │ ├── pyproject.toml │ │ ├── scripts/ │ │ │ ├── check_imports.py │ │ │ └── lint_imports.sh │ │ └── tests/ │ │ ├── __init__.py │ │ ├── integration_tests/ │ │ │ ├── __init__.py │ │ │ ├── test_chat_models.py │ │ │ ├── test_chat_models_standard.py │ │ │ ├── test_compile.py │ │ │ └── test_search_api.py │ │ └── unit_tests/ │ │ ├── __init__.py │ │ ├── test_chat_models.py │ │ ├── test_chat_models_standard.py │ │ ├── test_imports.py │ │ ├── test_output_parsers.py │ │ ├── test_retrievers.py │ │ ├── test_secrets.py │ │ └── test_tools.py │ ├── qdrant/ │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── langchain_qdrant/ │ │ │ ├── __init__.py │ │ │ ├── _utils.py │ │ │ ├── fastembed_sparse.py │ │ │ ├── py.typed │ │ │ ├── qdrant.py │ │ │ ├── sparse_embeddings.py │ │ │ └── vectorstores.py │ │ ├── pyproject.toml │ │ ├── scripts/ │ │ │ ├── check_imports.py │ │ │ └── lint_imports.sh │ │ └── tests/ │ │ ├── __init__.py │ │ ├── integration_tests/ │ │ │ ├── __init__.py │ │ │ ├── async_api/ │ │ │ │ ├── __init__.py │ │ │ │ ├── test_add_texts.py │ │ │ │ ├── test_from_texts.py │ │ │ │ ├── test_max_marginal_relevance.py │ │ │ │ └── test_similarity_search.py │ │ │ ├── common.py │ │ │ ├── conftest.py │ │ │ ├── fastembed/ │ │ │ │ ├── __init__.py │ │ │ │ └── test_fastembed_sparse.py │ │ │ ├── fixtures.py │ │ │ ├── qdrant_vector_store/ │ │ │ │ ├── __init__.py │ │ │ │ ├── test_add_texts.py │ │ │ │ ├── test_from_existing.py │ │ │ │ ├── test_from_texts.py │ │ │ │ ├── test_mmr.py │ │ │ │ └── test_search.py │ │ │ ├── test_add_texts.py │ │ │ ├── test_compile.py │ │ │ ├── test_embedding_interface.py │ │ │ ├── test_from_existing_collection.py │ │ │ ├── test_from_texts.py │ │ │ ├── test_max_marginal_relevance.py │ │ │ └── test_similarity_search.py │ │ └── unit_tests/ │ │ ├── __init__.py │ │ ├── test_imports.py │ │ ├── test_standard.py │ │ └── test_vectorstores.py │ └── xai/ │ ├── LICENSE │ ├── Makefile │ ├── README.md │ ├── langchain_xai/ │ │ ├── __init__.py │ │ ├── chat_models.py │ │ ├── data/ │ │ │ ├── __init__.py │ │ │ └── _profiles.py │ │ └── py.typed │ ├── pyproject.toml │ ├── scripts/ │ │ ├── check_imports.py │ │ └── lint_imports.sh │ └── tests/ │ ├── __init__.py │ ├── integration_tests/ │ │ ├── __init__.py │ │ ├── test_chat_models.py │ │ ├── test_chat_models_standard.py │ │ └── test_compile.py │ └── unit_tests/ │ ├── __init__.py │ ├── __snapshots__/ │ │ └── test_chat_models_standard.ambr │ ├── test_chat_models.py │ ├── test_chat_models_standard.py │ ├── test_imports.py │ └── test_secrets.py ├── standard-tests/ │ ├── Makefile │ ├── README.md │ ├── langchain_tests/ │ │ ├── __init__.py │ │ ├── base.py │ │ ├── conftest.py │ │ ├── integration_tests/ │ │ │ ├── __init__.py │ │ │ ├── base_store.py │ │ │ ├── cache.py │ │ │ ├── chat_models.py │ │ │ ├── embeddings.py │ │ │ ├── indexer.py │ │ │ ├── retrievers.py │ │ │ ├── sandboxes.py │ │ │ ├── tools.py │ │ │ └── vectorstores.py │ │ ├── py.typed │ │ ├── unit_tests/ │ │ │ ├── __init__.py │ │ │ ├── chat_models.py │ │ │ ├── embeddings.py │ │ │ └── tools.py │ │ └── utils/ │ │ ├── __init__.py │ │ └── pydantic.py │ ├── pyproject.toml │ ├── scripts/ │ │ ├── check_imports.py │ │ └── lint_imports.sh │ └── tests/ │ ├── __init__.py │ ├── integration_tests/ │ │ ├── __init__.py │ │ └── test_compile.py │ └── unit_tests/ │ ├── __init__.py │ ├── custom_chat_model.py │ ├── test_basic_retriever.py │ ├── test_basic_tool.py │ ├── test_custom_chat_model.py │ ├── test_decorated_tool.py │ ├── test_embeddings.py │ ├── test_in_memory_base_store.py │ ├── test_in_memory_cache.py │ └── test_in_memory_vectorstore.py └── text-splitters/ ├── Makefile ├── README.md ├── extended_testing_deps.txt ├── langchain_text_splitters/ │ ├── __init__.py │ ├── base.py │ ├── character.py │ ├── html.py │ ├── json.py │ ├── jsx.py │ ├── konlpy.py │ ├── latex.py │ ├── markdown.py │ ├── nltk.py │ ├── py.typed │ ├── python.py │ ├── sentence_transformers.py │ ├── spacy.py │ └── xsl/ │ └── converting_to_header.xslt ├── pyproject.toml ├── scripts/ │ ├── check_imports.py │ └── lint_imports.sh └── tests/ ├── __init__.py ├── integration_tests/ │ ├── __init__.py │ ├── test_compile.py │ ├── test_nlp_text_splitters.py │ └── test_text_splitter.py ├── test_data/ │ └── test_splitter.xslt └── unit_tests/ ├── __init__.py ├── conftest.py ├── test_html_security.py └── test_text_splitters.py