├── .gcloudignore ├── .github └── workflows │ └── claude.yml ├── .gitignore ├── .pre-commit-config.yaml ├── CLAUDE.md ├── LICENSE ├── README.md ├── README_MCP.md ├── agent_orchestrator.py ├── defog ├── __init__.py ├── __version__.py ├── admin_methods.py ├── async_admin_methods.py ├── async_generate_schema.py ├── async_health_methods.py ├── async_query_methods.py ├── cli.py ├── cli_wizard.py ├── config.py ├── generate_schema.py ├── health_methods.py ├── llm │ ├── __init__.py │ ├── citations.py │ ├── code_interp.py │ ├── config │ │ ├── __init__.py │ │ ├── constants.py │ │ ├── enums.py │ │ └── settings.py │ ├── cost │ │ ├── __init__.py │ │ ├── calculator.py │ │ └── models.py │ ├── exceptions │ │ ├── __init__.py │ │ └── llm_exceptions.py │ ├── html_data_extractor.py │ ├── image_data_extractor.py │ ├── image_utils.py │ ├── llm_providers.py │ ├── memory │ │ ├── __init__.py │ │ ├── compactifier.py │ │ ├── conversation_cache.py │ │ ├── history_manager.py │ │ └── token_counter.py │ ├── models.py │ ├── orchestrator.py │ ├── orchestrator_citations.py │ ├── pdf_data_extractor.py │ ├── pdf_processor.py │ ├── pdf_utils.py │ ├── providers │ │ ├── __init__.py │ │ ├── anthropic_provider.py │ │ ├── base.py │ │ ├── deepseek_provider.py │ │ ├── gemini_provider.py │ │ ├── grok_provider.py │ │ ├── mistral_provider.py │ │ ├── openai_provider.py │ │ └── together_provider.py │ ├── shared_context.py │ ├── sql.py │ ├── sql_generator.py │ ├── text_data_extractor.py │ ├── tools │ │ ├── __init__.py │ │ └── handler.py │ ├── utils.py │ ├── utils_function_calling.py │ ├── utils_image_support.py │ ├── utils_logging.py │ ├── utils_mcp.py │ ├── utils_memory.py │ ├── utils_orchestrator_viz.py │ ├── web_search.py │ └── youtube.py ├── local_metadata_extractor.py ├── local_storage.py ├── mcp_server.py ├── metadata_cache.py ├── query.py ├── query_methods.py ├── schema_documenter.py ├── server_config_manager.py └── util.py ├── docs ├── README.md ├── advanced │ ├── README.md │ ├── advanced-configuration.md │ └── agent-orchestration.md ├── api-reference.md ├── data-extraction │ ├── README.md │ ├── data-extraction.md │ └── text_data_extractor.md ├── database │ ├── README.md │ ├── database-operations.md │ └── metadata-management.md └── llm │ ├── README.md │ ├── best-practices.md │ ├── citations-tool.md │ ├── code-interpreter.md │ ├── core-chat-functions.md │ ├── cost-tracking.md │ ├── function-calling.md │ ├── mcp-integration.md │ ├── memory-management.md │ ├── multimodal-support.md │ ├── structured-output.md │ ├── tool-budget-management.md │ ├── tool-citations.md │ ├── web-search.md │ └── youtube-transcription.md ├── examples ├── html_data_extractor_example.py ├── image_support_example.py ├── pdf_analysis_example.py ├── pdf_data_extractor_example.py ├── podcast_analyzer.py ├── schema_documentation_example.py ├── setup_cricket_db.py ├── sql_agent_example.py └── text_data_extractor_example.py ├── notebooks ├── agent_orchestration_demo.ipynb └── quick_start_demo.ipynb ├── pyproject.toml ├── pytest.ini ├── requirements.txt ├── setup.py ├── tests ├── __init__.py ├── conftest.py ├── test_anthropic_caching_pricing.py ├── test_async_defog.py ├── test_citations.py ├── test_code_interp.py ├── test_defog.py ├── test_duckdb_connector.py ├── test_html_data_extractor.py ├── test_image_data_extractor.py ├── test_image_support.py ├── test_image_utils.py ├── test_llm.py ├── test_llm_image_support.py ├── test_llm_post_response_hook.py ├── test_llm_response.py ├── test_llm_tool_calls.py ├── test_local_metadata_extractor.py ├── test_mcp_chat_async.py ├── test_memory.py ├── test_metadata_cache.py ├── test_orchestrator_e2e.py ├── test_pdf_processor.py ├── test_query.py ├── test_schema_documenter.py ├── test_sql_generator.py ├── test_sqlite_connector.py ├── test_text_data_extractor.py ├── test_tool_budget.py ├── test_tool_citations.py ├── test_tool_output_validation.py ├── test_tool_sampling.py ├── test_util.py ├── test_web_search.py ├── test_write_security.py └── test_youtube.py └── uv.lock /.gcloudignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/.gcloudignore -------------------------------------------------------------------------------- /.github/workflows/claude.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/.github/workflows/claude.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /CLAUDE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/CLAUDE.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/README.md -------------------------------------------------------------------------------- /README_MCP.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/README_MCP.md -------------------------------------------------------------------------------- /agent_orchestrator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/agent_orchestrator.py -------------------------------------------------------------------------------- /defog/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/__init__.py -------------------------------------------------------------------------------- /defog/__version__.py: -------------------------------------------------------------------------------- 1 | __version__ = "1.4.8" 2 | -------------------------------------------------------------------------------- /defog/admin_methods.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/admin_methods.py -------------------------------------------------------------------------------- /defog/async_admin_methods.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/async_admin_methods.py -------------------------------------------------------------------------------- /defog/async_generate_schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/async_generate_schema.py -------------------------------------------------------------------------------- /defog/async_health_methods.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/async_health_methods.py -------------------------------------------------------------------------------- /defog/async_query_methods.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/async_query_methods.py -------------------------------------------------------------------------------- /defog/cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/cli.py -------------------------------------------------------------------------------- /defog/cli_wizard.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/cli_wizard.py -------------------------------------------------------------------------------- /defog/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/config.py -------------------------------------------------------------------------------- /defog/generate_schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/generate_schema.py -------------------------------------------------------------------------------- /defog/health_methods.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/health_methods.py -------------------------------------------------------------------------------- /defog/llm/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/__init__.py -------------------------------------------------------------------------------- /defog/llm/citations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/citations.py -------------------------------------------------------------------------------- /defog/llm/code_interp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/code_interp.py -------------------------------------------------------------------------------- /defog/llm/config/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/config/__init__.py -------------------------------------------------------------------------------- /defog/llm/config/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/config/constants.py -------------------------------------------------------------------------------- /defog/llm/config/enums.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/config/enums.py -------------------------------------------------------------------------------- /defog/llm/config/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/config/settings.py -------------------------------------------------------------------------------- /defog/llm/cost/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/cost/__init__.py -------------------------------------------------------------------------------- /defog/llm/cost/calculator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/cost/calculator.py -------------------------------------------------------------------------------- /defog/llm/cost/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/cost/models.py -------------------------------------------------------------------------------- /defog/llm/exceptions/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/exceptions/__init__.py -------------------------------------------------------------------------------- /defog/llm/exceptions/llm_exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/exceptions/llm_exceptions.py -------------------------------------------------------------------------------- /defog/llm/html_data_extractor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/html_data_extractor.py -------------------------------------------------------------------------------- /defog/llm/image_data_extractor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/image_data_extractor.py -------------------------------------------------------------------------------- /defog/llm/image_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/image_utils.py -------------------------------------------------------------------------------- /defog/llm/llm_providers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/llm_providers.py -------------------------------------------------------------------------------- /defog/llm/memory/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/memory/__init__.py -------------------------------------------------------------------------------- /defog/llm/memory/compactifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/memory/compactifier.py -------------------------------------------------------------------------------- /defog/llm/memory/conversation_cache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/memory/conversation_cache.py -------------------------------------------------------------------------------- /defog/llm/memory/history_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/memory/history_manager.py -------------------------------------------------------------------------------- /defog/llm/memory/token_counter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/memory/token_counter.py -------------------------------------------------------------------------------- /defog/llm/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/models.py -------------------------------------------------------------------------------- /defog/llm/orchestrator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/orchestrator.py -------------------------------------------------------------------------------- /defog/llm/orchestrator_citations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/orchestrator_citations.py -------------------------------------------------------------------------------- /defog/llm/pdf_data_extractor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/pdf_data_extractor.py -------------------------------------------------------------------------------- /defog/llm/pdf_processor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/pdf_processor.py -------------------------------------------------------------------------------- /defog/llm/pdf_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/pdf_utils.py -------------------------------------------------------------------------------- /defog/llm/providers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/providers/__init__.py -------------------------------------------------------------------------------- /defog/llm/providers/anthropic_provider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/providers/anthropic_provider.py -------------------------------------------------------------------------------- /defog/llm/providers/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/providers/base.py -------------------------------------------------------------------------------- /defog/llm/providers/deepseek_provider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/providers/deepseek_provider.py -------------------------------------------------------------------------------- /defog/llm/providers/gemini_provider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/providers/gemini_provider.py -------------------------------------------------------------------------------- /defog/llm/providers/grok_provider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/providers/grok_provider.py -------------------------------------------------------------------------------- /defog/llm/providers/mistral_provider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/providers/mistral_provider.py -------------------------------------------------------------------------------- /defog/llm/providers/openai_provider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/providers/openai_provider.py -------------------------------------------------------------------------------- /defog/llm/providers/together_provider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/providers/together_provider.py -------------------------------------------------------------------------------- /defog/llm/shared_context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/shared_context.py -------------------------------------------------------------------------------- /defog/llm/sql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/sql.py -------------------------------------------------------------------------------- /defog/llm/sql_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/sql_generator.py -------------------------------------------------------------------------------- /defog/llm/text_data_extractor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/text_data_extractor.py -------------------------------------------------------------------------------- /defog/llm/tools/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/tools/__init__.py -------------------------------------------------------------------------------- /defog/llm/tools/handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/tools/handler.py -------------------------------------------------------------------------------- /defog/llm/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/utils.py -------------------------------------------------------------------------------- /defog/llm/utils_function_calling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/utils_function_calling.py -------------------------------------------------------------------------------- /defog/llm/utils_image_support.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/utils_image_support.py -------------------------------------------------------------------------------- /defog/llm/utils_logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/utils_logging.py -------------------------------------------------------------------------------- /defog/llm/utils_mcp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/utils_mcp.py -------------------------------------------------------------------------------- /defog/llm/utils_memory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/utils_memory.py -------------------------------------------------------------------------------- /defog/llm/utils_orchestrator_viz.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/utils_orchestrator_viz.py -------------------------------------------------------------------------------- /defog/llm/web_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/web_search.py -------------------------------------------------------------------------------- /defog/llm/youtube.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/llm/youtube.py -------------------------------------------------------------------------------- /defog/local_metadata_extractor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/local_metadata_extractor.py -------------------------------------------------------------------------------- /defog/local_storage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/local_storage.py -------------------------------------------------------------------------------- /defog/mcp_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/mcp_server.py -------------------------------------------------------------------------------- /defog/metadata_cache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/metadata_cache.py -------------------------------------------------------------------------------- /defog/query.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/query.py -------------------------------------------------------------------------------- /defog/query_methods.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/query_methods.py -------------------------------------------------------------------------------- /defog/schema_documenter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/schema_documenter.py -------------------------------------------------------------------------------- /defog/server_config_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/server_config_manager.py -------------------------------------------------------------------------------- /defog/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/defog/util.py -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/advanced/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/docs/advanced/README.md -------------------------------------------------------------------------------- /docs/advanced/advanced-configuration.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/docs/advanced/advanced-configuration.md -------------------------------------------------------------------------------- /docs/advanced/agent-orchestration.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/docs/advanced/agent-orchestration.md -------------------------------------------------------------------------------- /docs/api-reference.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/docs/api-reference.md -------------------------------------------------------------------------------- /docs/data-extraction/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/docs/data-extraction/README.md -------------------------------------------------------------------------------- /docs/data-extraction/data-extraction.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/docs/data-extraction/data-extraction.md -------------------------------------------------------------------------------- /docs/data-extraction/text_data_extractor.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/docs/data-extraction/text_data_extractor.md -------------------------------------------------------------------------------- /docs/database/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/docs/database/README.md -------------------------------------------------------------------------------- /docs/database/database-operations.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/docs/database/database-operations.md -------------------------------------------------------------------------------- /docs/database/metadata-management.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/docs/database/metadata-management.md -------------------------------------------------------------------------------- /docs/llm/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/docs/llm/README.md -------------------------------------------------------------------------------- /docs/llm/best-practices.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/docs/llm/best-practices.md -------------------------------------------------------------------------------- /docs/llm/citations-tool.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/docs/llm/citations-tool.md -------------------------------------------------------------------------------- /docs/llm/code-interpreter.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/docs/llm/code-interpreter.md -------------------------------------------------------------------------------- /docs/llm/core-chat-functions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/docs/llm/core-chat-functions.md -------------------------------------------------------------------------------- /docs/llm/cost-tracking.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/docs/llm/cost-tracking.md -------------------------------------------------------------------------------- /docs/llm/function-calling.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/docs/llm/function-calling.md -------------------------------------------------------------------------------- /docs/llm/mcp-integration.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/docs/llm/mcp-integration.md -------------------------------------------------------------------------------- /docs/llm/memory-management.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/docs/llm/memory-management.md -------------------------------------------------------------------------------- /docs/llm/multimodal-support.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/docs/llm/multimodal-support.md -------------------------------------------------------------------------------- /docs/llm/structured-output.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/docs/llm/structured-output.md -------------------------------------------------------------------------------- /docs/llm/tool-budget-management.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/docs/llm/tool-budget-management.md -------------------------------------------------------------------------------- /docs/llm/tool-citations.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/docs/llm/tool-citations.md -------------------------------------------------------------------------------- /docs/llm/web-search.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/docs/llm/web-search.md -------------------------------------------------------------------------------- /docs/llm/youtube-transcription.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/docs/llm/youtube-transcription.md -------------------------------------------------------------------------------- /examples/html_data_extractor_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/examples/html_data_extractor_example.py -------------------------------------------------------------------------------- /examples/image_support_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/examples/image_support_example.py -------------------------------------------------------------------------------- /examples/pdf_analysis_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/examples/pdf_analysis_example.py -------------------------------------------------------------------------------- /examples/pdf_data_extractor_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/examples/pdf_data_extractor_example.py -------------------------------------------------------------------------------- /examples/podcast_analyzer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/examples/podcast_analyzer.py -------------------------------------------------------------------------------- /examples/schema_documentation_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/examples/schema_documentation_example.py -------------------------------------------------------------------------------- /examples/setup_cricket_db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/examples/setup_cricket_db.py -------------------------------------------------------------------------------- /examples/sql_agent_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/examples/sql_agent_example.py -------------------------------------------------------------------------------- /examples/text_data_extractor_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/examples/text_data_extractor_example.py -------------------------------------------------------------------------------- /notebooks/agent_orchestration_demo.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/notebooks/agent_orchestration_demo.ipynb -------------------------------------------------------------------------------- /notebooks/quick_start_demo.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/notebooks/quick_start_demo.ipynb -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/pyproject.toml -------------------------------------------------------------------------------- /pytest.ini: -------------------------------------------------------------------------------- 1 | [pytest] 2 | asyncio_default_fixture_loop_scope = function -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/requirements.txt -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/test_anthropic_caching_pricing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/tests/test_anthropic_caching_pricing.py -------------------------------------------------------------------------------- /tests/test_async_defog.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/tests/test_async_defog.py -------------------------------------------------------------------------------- /tests/test_citations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/tests/test_citations.py -------------------------------------------------------------------------------- /tests/test_code_interp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/tests/test_code_interp.py -------------------------------------------------------------------------------- /tests/test_defog.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/tests/test_defog.py -------------------------------------------------------------------------------- /tests/test_duckdb_connector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/tests/test_duckdb_connector.py -------------------------------------------------------------------------------- /tests/test_html_data_extractor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/tests/test_html_data_extractor.py -------------------------------------------------------------------------------- /tests/test_image_data_extractor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/tests/test_image_data_extractor.py -------------------------------------------------------------------------------- /tests/test_image_support.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/tests/test_image_support.py -------------------------------------------------------------------------------- /tests/test_image_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/tests/test_image_utils.py -------------------------------------------------------------------------------- /tests/test_llm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/tests/test_llm.py -------------------------------------------------------------------------------- /tests/test_llm_image_support.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/tests/test_llm_image_support.py -------------------------------------------------------------------------------- /tests/test_llm_post_response_hook.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/tests/test_llm_post_response_hook.py -------------------------------------------------------------------------------- /tests/test_llm_response.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/tests/test_llm_response.py -------------------------------------------------------------------------------- /tests/test_llm_tool_calls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/tests/test_llm_tool_calls.py -------------------------------------------------------------------------------- /tests/test_local_metadata_extractor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/tests/test_local_metadata_extractor.py -------------------------------------------------------------------------------- /tests/test_mcp_chat_async.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/tests/test_mcp_chat_async.py -------------------------------------------------------------------------------- /tests/test_memory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/tests/test_memory.py -------------------------------------------------------------------------------- /tests/test_metadata_cache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/tests/test_metadata_cache.py -------------------------------------------------------------------------------- /tests/test_orchestrator_e2e.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/tests/test_orchestrator_e2e.py -------------------------------------------------------------------------------- /tests/test_pdf_processor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/tests/test_pdf_processor.py -------------------------------------------------------------------------------- /tests/test_query.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/tests/test_query.py -------------------------------------------------------------------------------- /tests/test_schema_documenter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/tests/test_schema_documenter.py -------------------------------------------------------------------------------- /tests/test_sql_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/tests/test_sql_generator.py -------------------------------------------------------------------------------- /tests/test_sqlite_connector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/tests/test_sqlite_connector.py -------------------------------------------------------------------------------- /tests/test_text_data_extractor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/tests/test_text_data_extractor.py -------------------------------------------------------------------------------- /tests/test_tool_budget.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/tests/test_tool_budget.py -------------------------------------------------------------------------------- /tests/test_tool_citations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/tests/test_tool_citations.py -------------------------------------------------------------------------------- /tests/test_tool_output_validation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/tests/test_tool_output_validation.py -------------------------------------------------------------------------------- /tests/test_tool_sampling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/tests/test_tool_sampling.py -------------------------------------------------------------------------------- /tests/test_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/tests/test_util.py -------------------------------------------------------------------------------- /tests/test_web_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/tests/test_web_search.py -------------------------------------------------------------------------------- /tests/test_write_security.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/tests/test_write_security.py -------------------------------------------------------------------------------- /tests/test_youtube.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/tests/test_youtube.py -------------------------------------------------------------------------------- /uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defog-ai/defog/HEAD/uv.lock --------------------------------------------------------------------------------