docsgpt 0.19.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- docsgpt-0.19.0/.gitignore +211 -0
- docsgpt-0.19.0/LICENSE +21 -0
- docsgpt-0.19.0/PKG-INFO +280 -0
- docsgpt-0.19.0/README.md +169 -0
- docsgpt-0.19.0/docsgpt/__init__.py +0 -0
- docsgpt-0.19.0/docsgpt/agents/__init__.py +0 -0
- docsgpt-0.19.0/docsgpt/agents/agent_creator.py +25 -0
- docsgpt-0.19.0/docsgpt/agents/agentic_agent.py +58 -0
- docsgpt-0.19.0/docsgpt/agents/base.py +1484 -0
- docsgpt-0.19.0/docsgpt/agents/classic_agent.py +60 -0
- docsgpt-0.19.0/docsgpt/agents/default_tools.py +385 -0
- docsgpt-0.19.0/docsgpt/agents/headless_runner.py +284 -0
- docsgpt-0.19.0/docsgpt/agents/research_agent.py +703 -0
- docsgpt-0.19.0/docsgpt/agents/scheduler_utils.py +131 -0
- docsgpt-0.19.0/docsgpt/agents/tool_executor.py +1471 -0
- docsgpt-0.19.0/docsgpt/agents/tools/api_body_serializer.py +322 -0
- docsgpt-0.19.0/docsgpt/agents/tools/api_tool.py +237 -0
- docsgpt-0.19.0/docsgpt/agents/tools/artifact_generator.py +893 -0
- docsgpt-0.19.0/docsgpt/agents/tools/artifact_ref.py +67 -0
- docsgpt-0.19.0/docsgpt/agents/tools/attachment_bridge.py +152 -0
- docsgpt-0.19.0/docsgpt/agents/tools/base.py +23 -0
- docsgpt-0.19.0/docsgpt/agents/tools/brave.py +198 -0
- docsgpt-0.19.0/docsgpt/agents/tools/code_executor.py +498 -0
- docsgpt-0.19.0/docsgpt/agents/tools/cryptoprice.py +80 -0
- docsgpt-0.19.0/docsgpt/agents/tools/duckduckgo.py +216 -0
- docsgpt-0.19.0/docsgpt/agents/tools/internal_search.py +502 -0
- docsgpt-0.19.0/docsgpt/agents/tools/mcp_tool.py +1106 -0
- docsgpt-0.19.0/docsgpt/agents/tools/memory.py +523 -0
- docsgpt-0.19.0/docsgpt/agents/tools/notes.py +264 -0
- docsgpt-0.19.0/docsgpt/agents/tools/ntfy.py +137 -0
- docsgpt-0.19.0/docsgpt/agents/tools/path_utils.py +34 -0
- docsgpt-0.19.0/docsgpt/agents/tools/postgres.py +180 -0
- docsgpt-0.19.0/docsgpt/agents/tools/read_document.py +479 -0
- docsgpt-0.19.0/docsgpt/agents/tools/read_webpage.py +218 -0
- docsgpt-0.19.0/docsgpt/agents/tools/remote_device.py +317 -0
- docsgpt-0.19.0/docsgpt/agents/tools/scheduler.py +342 -0
- docsgpt-0.19.0/docsgpt/agents/tools/spec_parser.py +342 -0
- docsgpt-0.19.0/docsgpt/agents/tools/telegram.py +102 -0
- docsgpt-0.19.0/docsgpt/agents/tools/think.py +70 -0
- docsgpt-0.19.0/docsgpt/agents/tools/todo_list.py +357 -0
- docsgpt-0.19.0/docsgpt/agents/tools/tool_action_parser.py +158 -0
- docsgpt-0.19.0/docsgpt/agents/tools/tool_manager.py +77 -0
- docsgpt-0.19.0/docsgpt/agents/tools/wiki.py +510 -0
- docsgpt-0.19.0/docsgpt/agents/workflow_agent.py +545 -0
- docsgpt-0.19.0/docsgpt/agents/workflows/cel_evaluator.py +158 -0
- docsgpt-0.19.0/docsgpt/agents/workflows/node_agent.py +81 -0
- docsgpt-0.19.0/docsgpt/agents/workflows/schemas.py +193 -0
- docsgpt-0.19.0/docsgpt/agents/workflows/workflow_engine.py +1401 -0
- docsgpt-0.19.0/docsgpt/alembic/env.py +92 -0
- docsgpt-0.19.0/docsgpt/alembic/script.py.mako +26 -0
- docsgpt-0.19.0/docsgpt/alembic/versions/0001_initial.py +927 -0
- docsgpt-0.19.0/docsgpt/alembic/versions/0002_app_metadata.py +37 -0
- docsgpt-0.19.0/docsgpt/alembic/versions/0003_user_custom_models.py +65 -0
- docsgpt-0.19.0/docsgpt/alembic/versions/0004_durability_foundation.py +217 -0
- docsgpt-0.19.0/docsgpt/alembic/versions/0005_ingest_attempt_id.py +44 -0
- docsgpt-0.19.0/docsgpt/alembic/versions/0006_idempotency_lease.py +57 -0
- docsgpt-0.19.0/docsgpt/alembic/versions/0007_message_events.py +40 -0
- docsgpt-0.19.0/docsgpt/alembic/versions/0008_ingest_progress_status.py +44 -0
- docsgpt-0.19.0/docsgpt/alembic/versions/0009_tool_preferences.py +83 -0
- docsgpt-0.19.0/docsgpt/alembic/versions/0010_schedules.py +147 -0
- docsgpt-0.19.0/docsgpt/alembic/versions/0011_schedules_nullable_agent.py +53 -0
- docsgpt-0.19.0/docsgpt/alembic/versions/0012_remote_devices.py +117 -0
- docsgpt-0.19.0/docsgpt/alembic/versions/0013_devices_approval_modes.py +52 -0
- docsgpt-0.19.0/docsgpt/alembic/versions/0014_device_token_hash_index.py +29 -0
- docsgpt-0.19.0/docsgpt/alembic/versions/0015_token_usage_model_id.py +34 -0
- docsgpt-0.19.0/docsgpt/alembic/versions/0016_conversation_visibility.py +59 -0
- docsgpt-0.19.0/docsgpt/alembic/versions/0017_oidc_scim.py +48 -0
- docsgpt-0.19.0/docsgpt/alembic/versions/0018_tool_attempts_attribution.py +56 -0
- docsgpt-0.19.0/docsgpt/alembic/versions/0019_agent_slug.py +36 -0
- docsgpt-0.19.0/docsgpt/alembic/versions/0020_user_roles.py +50 -0
- docsgpt-0.19.0/docsgpt/alembic/versions/0021_teams.py +181 -0
- docsgpt-0.19.0/docsgpt/alembic/versions/0022_source_config.py +41 -0
- docsgpt-0.19.0/docsgpt/alembic/versions/0023_wiki_pages.py +64 -0
- docsgpt-0.19.0/docsgpt/alembic/versions/0024_wiki_pages_updated_via.py +28 -0
- docsgpt-0.19.0/docsgpt/alembic/versions/0025_artifacts.py +111 -0
- docsgpt-0.19.0/docsgpt/alembic/versions/0026_stack_logs_agent_id.py +52 -0
- docsgpt-0.19.0/docsgpt/alembic/versions/0027_schedule_run_error_types.py +61 -0
- docsgpt-0.19.0/docsgpt/alembic/versions/0028_user_logs_agent_lookup_idx.py +114 -0
- docsgpt-0.19.0/docsgpt/alembic/versions/0029_agent_guardrails.py +104 -0
- docsgpt-0.19.0/docsgpt/alembic/versions/0030_superseded_messages.py +55 -0
- docsgpt-0.19.0/docsgpt/alembic/versions/0031_token_usage_cache_tokens.py +35 -0
- docsgpt-0.19.0/docsgpt/alembic.ini +52 -0
- docsgpt-0.19.0/docsgpt/api/__init__.py +7 -0
- docsgpt-0.19.0/docsgpt/api/admin/__init__.py +3 -0
- docsgpt-0.19.0/docsgpt/api/admin/routes.py +375 -0
- docsgpt-0.19.0/docsgpt/api/answer/__init__.py +21 -0
- docsgpt-0.19.0/docsgpt/api/answer/routes/__init__.py +0 -0
- docsgpt-0.19.0/docsgpt/api/answer/routes/answer.py +192 -0
- docsgpt-0.19.0/docsgpt/api/answer/routes/base.py +1689 -0
- docsgpt-0.19.0/docsgpt/api/answer/routes/search.py +55 -0
- docsgpt-0.19.0/docsgpt/api/answer/routes/stream.py +220 -0
- docsgpt-0.19.0/docsgpt/api/answer/services/__init__.py +0 -0
- docsgpt-0.19.0/docsgpt/api/answer/services/compression/__init__.py +20 -0
- docsgpt-0.19.0/docsgpt/api/answer/services/compression/message_builder.py +249 -0
- docsgpt-0.19.0/docsgpt/api/answer/services/compression/orchestrator.py +353 -0
- docsgpt-0.19.0/docsgpt/api/answer/services/compression/prompt_builder.py +149 -0
- docsgpt-0.19.0/docsgpt/api/answer/services/compression/service.py +483 -0
- docsgpt-0.19.0/docsgpt/api/answer/services/compression/threshold_checker.py +111 -0
- docsgpt-0.19.0/docsgpt/api/answer/services/compression/token_counter.py +174 -0
- docsgpt-0.19.0/docsgpt/api/answer/services/compression/types.py +184 -0
- docsgpt-0.19.0/docsgpt/api/answer/services/continuation_service.py +220 -0
- docsgpt-0.19.0/docsgpt/api/answer/services/conversation_service.py +660 -0
- docsgpt-0.19.0/docsgpt/api/answer/services/persistence_policy.py +44 -0
- docsgpt-0.19.0/docsgpt/api/answer/services/prompt_renderer.py +190 -0
- docsgpt-0.19.0/docsgpt/api/answer/services/stream_processor.py +1840 -0
- docsgpt-0.19.0/docsgpt/api/async_sse.py +248 -0
- docsgpt-0.19.0/docsgpt/api/connector/routes.py +551 -0
- docsgpt-0.19.0/docsgpt/api/devices/__init__.py +11 -0
- docsgpt-0.19.0/docsgpt/api/devices/auth.py +141 -0
- docsgpt-0.19.0/docsgpt/api/devices/pairing.py +518 -0
- docsgpt-0.19.0/docsgpt/api/devices/routes.py +327 -0
- docsgpt-0.19.0/docsgpt/api/devices/session.py +272 -0
- docsgpt-0.19.0/docsgpt/api/events/__init__.py +0 -0
- docsgpt-0.19.0/docsgpt/api/events/routes.py +537 -0
- docsgpt-0.19.0/docsgpt/api/internal/__init__.py +0 -0
- docsgpt-0.19.0/docsgpt/api/internal/routes.py +171 -0
- docsgpt-0.19.0/docsgpt/api/oidc/__init__.py +11 -0
- docsgpt-0.19.0/docsgpt/api/oidc/denylist.py +107 -0
- docsgpt-0.19.0/docsgpt/api/oidc/provider.py +270 -0
- docsgpt-0.19.0/docsgpt/api/oidc/routes.py +670 -0
- docsgpt-0.19.0/docsgpt/api/scim/__init__.py +11 -0
- docsgpt-0.19.0/docsgpt/api/scim/routes.py +452 -0
- docsgpt-0.19.0/docsgpt/api/user/__init__.py +5 -0
- docsgpt-0.19.0/docsgpt/api/user/agents/__init__.py +17 -0
- docsgpt-0.19.0/docsgpt/api/user/agents/folders.py +366 -0
- docsgpt-0.19.0/docsgpt/api/user/agents/guardrails.py +156 -0
- docsgpt-0.19.0/docsgpt/api/user/agents/portability.py +1800 -0
- docsgpt-0.19.0/docsgpt/api/user/agents/routes.py +1941 -0
- docsgpt-0.19.0/docsgpt/api/user/agents/sharing.py +282 -0
- docsgpt-0.19.0/docsgpt/api/user/agents/webhooks.py +232 -0
- docsgpt-0.19.0/docsgpt/api/user/analytics/__init__.py +5 -0
- docsgpt-0.19.0/docsgpt/api/user/analytics/routes.py +1124 -0
- docsgpt-0.19.0/docsgpt/api/user/artifacts/__init__.py +5 -0
- docsgpt-0.19.0/docsgpt/api/user/artifacts/authz.py +168 -0
- docsgpt-0.19.0/docsgpt/api/user/artifacts/routes.py +402 -0
- docsgpt-0.19.0/docsgpt/api/user/attachments/__init__.py +5 -0
- docsgpt-0.19.0/docsgpt/api/user/attachments/routes.py +837 -0
- docsgpt-0.19.0/docsgpt/api/user/authz.py +97 -0
- docsgpt-0.19.0/docsgpt/api/user/base.py +431 -0
- docsgpt-0.19.0/docsgpt/api/user/conversations/__init__.py +5 -0
- docsgpt-0.19.0/docsgpt/api/user/conversations/routes.py +489 -0
- docsgpt-0.19.0/docsgpt/api/user/idempotency.py +294 -0
- docsgpt-0.19.0/docsgpt/api/user/me/__init__.py +3 -0
- docsgpt-0.19.0/docsgpt/api/user/me/routes.py +34 -0
- docsgpt-0.19.0/docsgpt/api/user/models/__init__.py +3 -0
- docsgpt-0.19.0/docsgpt/api/user/models/routes.py +574 -0
- docsgpt-0.19.0/docsgpt/api/user/prompts/__init__.py +5 -0
- docsgpt-0.19.0/docsgpt/api/user/prompts/routes.py +233 -0
- docsgpt-0.19.0/docsgpt/api/user/reconciliation.py +501 -0
- docsgpt-0.19.0/docsgpt/api/user/routes.py +87 -0
- docsgpt-0.19.0/docsgpt/api/user/scheduler_dispatcher.py +186 -0
- docsgpt-0.19.0/docsgpt/api/user/scheduler_worker.py +450 -0
- docsgpt-0.19.0/docsgpt/api/user/schedules/__init__.py +5 -0
- docsgpt-0.19.0/docsgpt/api/user/schedules/routes.py +621 -0
- docsgpt-0.19.0/docsgpt/api/user/sharing/__init__.py +5 -0
- docsgpt-0.19.0/docsgpt/api/user/sharing/routes.py +393 -0
- docsgpt-0.19.0/docsgpt/api/user/sources/__init__.py +13 -0
- docsgpt-0.19.0/docsgpt/api/user/sources/chunks.py +311 -0
- docsgpt-0.19.0/docsgpt/api/user/sources/retrieval_test.py +254 -0
- docsgpt-0.19.0/docsgpt/api/user/sources/routes.py +1331 -0
- docsgpt-0.19.0/docsgpt/api/user/sources/upload.py +1141 -0
- docsgpt-0.19.0/docsgpt/api/user/tasks.py +863 -0
- docsgpt-0.19.0/docsgpt/api/user/team_authz.py +109 -0
- docsgpt-0.19.0/docsgpt/api/user/team_sharing.py +124 -0
- docsgpt-0.19.0/docsgpt/api/user/teams/__init__.py +5 -0
- docsgpt-0.19.0/docsgpt/api/user/teams/routes.py +636 -0
- docsgpt-0.19.0/docsgpt/api/user/tools/__init__.py +6 -0
- docsgpt-0.19.0/docsgpt/api/user/tools/mcp.py +516 -0
- docsgpt-0.19.0/docsgpt/api/user/tools/routes.py +1030 -0
- docsgpt-0.19.0/docsgpt/api/user/utils.py +75 -0
- docsgpt-0.19.0/docsgpt/api/user/workflows/__init__.py +3 -0
- docsgpt-0.19.0/docsgpt/api/user/workflows/routes.py +593 -0
- docsgpt-0.19.0/docsgpt/api/v1/__init__.py +3 -0
- docsgpt-0.19.0/docsgpt/api/v1/idempotency.py +260 -0
- docsgpt-0.19.0/docsgpt/api/v1/routes.py +649 -0
- docsgpt-0.19.0/docsgpt/api/v1/session_store.py +99 -0
- docsgpt-0.19.0/docsgpt/api/v1/translator.py +680 -0
- docsgpt-0.19.0/docsgpt/app.py +374 -0
- docsgpt-0.19.0/docsgpt/asgi.py +46 -0
- docsgpt-0.19.0/docsgpt/auth.py +41 -0
- docsgpt-0.19.0/docsgpt/cache.py +337 -0
- docsgpt-0.19.0/docsgpt/celery_init.py +212 -0
- docsgpt-0.19.0/docsgpt/celeryconfig.py +69 -0
- docsgpt-0.19.0/docsgpt/cli.py +180 -0
- docsgpt-0.19.0/docsgpt/core/__init__.py +0 -0
- docsgpt-0.19.0/docsgpt/core/db_uri.py +89 -0
- docsgpt-0.19.0/docsgpt/core/json_schema_utils.py +34 -0
- docsgpt-0.19.0/docsgpt/core/log_context.py +57 -0
- docsgpt-0.19.0/docsgpt/core/logging_config.py +112 -0
- docsgpt-0.19.0/docsgpt/core/model_registry.py +389 -0
- docsgpt-0.19.0/docsgpt/core/model_settings.py +99 -0
- docsgpt-0.19.0/docsgpt/core/model_utils.py +183 -0
- docsgpt-0.19.0/docsgpt/core/model_yaml.py +395 -0
- docsgpt-0.19.0/docsgpt/core/models/README.md +251 -0
- docsgpt-0.19.0/docsgpt/core/models/_defaults.yaml +18 -0
- docsgpt-0.19.0/docsgpt/core/models/anthropic.yaml +23 -0
- docsgpt-0.19.0/docsgpt/core/models/deepseek.yaml +18 -0
- docsgpt-0.19.0/docsgpt/core/models/docsgpt.yaml +7 -0
- docsgpt-0.19.0/docsgpt/core/models/examples/mistral.yaml.example +31 -0
- docsgpt-0.19.0/docsgpt/core/models/google.yaml +17 -0
- docsgpt-0.19.0/docsgpt/core/models/groq.yaml +16 -0
- docsgpt-0.19.0/docsgpt/core/models/huggingface.yaml +7 -0
- docsgpt-0.19.0/docsgpt/core/models/novita.yaml +21 -0
- docsgpt-0.19.0/docsgpt/core/models/openai.yaml +20 -0
- docsgpt-0.19.0/docsgpt/core/models/openrouter.yaml +25 -0
- docsgpt-0.19.0/docsgpt/core/optional_deps.py +79 -0
- docsgpt-0.19.0/docsgpt/core/paths.py +50 -0
- docsgpt-0.19.0/docsgpt/core/secret_key.py +89 -0
- docsgpt-0.19.0/docsgpt/core/settings.py +585 -0
- docsgpt-0.19.0/docsgpt/core/shutdown.py +28 -0
- docsgpt-0.19.0/docsgpt/core/url_validation.py +183 -0
- docsgpt-0.19.0/docsgpt/devices/__init__.py +1 -0
- docsgpt-0.19.0/docsgpt/devices/broker.py +593 -0
- docsgpt-0.19.0/docsgpt/devices/denylist.py +172 -0
- docsgpt-0.19.0/docsgpt/devices/normalizer.py +84 -0
- docsgpt-0.19.0/docsgpt/devices/splitter.py +110 -0
- docsgpt-0.19.0/docsgpt/error.py +37 -0
- docsgpt-0.19.0/docsgpt/events/__init__.py +0 -0
- docsgpt-0.19.0/docsgpt/events/keys.py +52 -0
- docsgpt-0.19.0/docsgpt/events/publisher.py +144 -0
- docsgpt-0.19.0/docsgpt/graphrag/__init__.py +10 -0
- docsgpt-0.19.0/docsgpt/graphrag/extraction.py +338 -0
- docsgpt-0.19.0/docsgpt/graphrag/store.py +1136 -0
- docsgpt-0.19.0/docsgpt/guardrails/__init__.py +32 -0
- docsgpt-0.19.0/docsgpt/guardrails/base.py +122 -0
- docsgpt-0.19.0/docsgpt/guardrails/checks/__init__.py +26 -0
- docsgpt-0.19.0/docsgpt/guardrails/checks/heuristics.py +178 -0
- docsgpt-0.19.0/docsgpt/guardrails/checks/judge.py +133 -0
- docsgpt-0.19.0/docsgpt/guardrails/checks/patterns.py +281 -0
- docsgpt-0.19.0/docsgpt/guardrails/config.py +224 -0
- docsgpt-0.19.0/docsgpt/guardrails/engine.py +210 -0
- docsgpt-0.19.0/docsgpt/guardrails/guardrail_creator.py +63 -0
- docsgpt-0.19.0/docsgpt/guardrails/runtime.py +270 -0
- docsgpt-0.19.0/docsgpt/guardrails/stream.py +303 -0
- docsgpt-0.19.0/docsgpt/guardrails/types.py +225 -0
- docsgpt-0.19.0/docsgpt/gunicorn_conf.py +72 -0
- docsgpt-0.19.0/docsgpt/gunicorn_worker.py +57 -0
- docsgpt-0.19.0/docsgpt/llm/__init__.py +0 -0
- docsgpt-0.19.0/docsgpt/llm/anthropic.py +787 -0
- docsgpt-0.19.0/docsgpt/llm/base.py +871 -0
- docsgpt-0.19.0/docsgpt/llm/docsgpt_provider.py +62 -0
- docsgpt-0.19.0/docsgpt/llm/google_ai.py +738 -0
- docsgpt-0.19.0/docsgpt/llm/groq.py +17 -0
- docsgpt-0.19.0/docsgpt/llm/handlers/__init__.py +0 -0
- docsgpt-0.19.0/docsgpt/llm/handlers/anthropic.py +120 -0
- docsgpt-0.19.0/docsgpt/llm/handlers/base.py +1739 -0
- docsgpt-0.19.0/docsgpt/llm/handlers/google.py +120 -0
- docsgpt-0.19.0/docsgpt/llm/handlers/handler_creator.py +21 -0
- docsgpt-0.19.0/docsgpt/llm/handlers/openai.py +70 -0
- docsgpt-0.19.0/docsgpt/llm/llama_cpp.py +62 -0
- docsgpt-0.19.0/docsgpt/llm/llm_creator.py +130 -0
- docsgpt-0.19.0/docsgpt/llm/novita.py +17 -0
- docsgpt-0.19.0/docsgpt/llm/open_router.py +17 -0
- docsgpt-0.19.0/docsgpt/llm/openai.py +2138 -0
- docsgpt-0.19.0/docsgpt/llm/providers/__init__.py +45 -0
- docsgpt-0.19.0/docsgpt/llm/providers/_apikey_or_llm_name.py +51 -0
- docsgpt-0.19.0/docsgpt/llm/providers/anthropic.py +23 -0
- docsgpt-0.19.0/docsgpt/llm/providers/base.py +74 -0
- docsgpt-0.19.0/docsgpt/llm/providers/docsgpt.py +22 -0
- docsgpt-0.19.0/docsgpt/llm/providers/google.py +23 -0
- docsgpt-0.19.0/docsgpt/llm/providers/groq.py +23 -0
- docsgpt-0.19.0/docsgpt/llm/providers/huggingface.py +25 -0
- docsgpt-0.19.0/docsgpt/llm/providers/llama_cpp.py +19 -0
- docsgpt-0.19.0/docsgpt/llm/providers/novita.py +23 -0
- docsgpt-0.19.0/docsgpt/llm/providers/openai.py +37 -0
- docsgpt-0.19.0/docsgpt/llm/providers/openai_compatible.py +151 -0
- docsgpt-0.19.0/docsgpt/llm/providers/openrouter.py +23 -0
- docsgpt-0.19.0/docsgpt/logging.py +290 -0
- docsgpt-0.19.0/docsgpt/mcp_server.py +61 -0
- docsgpt-0.19.0/docsgpt/parser/__init__.py +1 -0
- docsgpt-0.19.0/docsgpt/parser/chunking.py +157 -0
- docsgpt-0.19.0/docsgpt/parser/chunking_creator.py +57 -0
- docsgpt-0.19.0/docsgpt/parser/chunking_strategies.py +320 -0
- docsgpt-0.19.0/docsgpt/parser/connectors/__init__.py +18 -0
- docsgpt-0.19.0/docsgpt/parser/connectors/_auth_utils.py +37 -0
- docsgpt-0.19.0/docsgpt/parser/connectors/base.py +140 -0
- docsgpt-0.19.0/docsgpt/parser/connectors/confluence/__init__.py +4 -0
- docsgpt-0.19.0/docsgpt/parser/connectors/confluence/auth.py +221 -0
- docsgpt-0.19.0/docsgpt/parser/connectors/confluence/loader.py +417 -0
- docsgpt-0.19.0/docsgpt/parser/connectors/connector_creator.py +89 -0
- docsgpt-0.19.0/docsgpt/parser/connectors/google_drive/__init__.py +10 -0
- docsgpt-0.19.0/docsgpt/parser/connectors/google_drive/auth.py +269 -0
- docsgpt-0.19.0/docsgpt/parser/connectors/google_drive/loader.py +561 -0
- docsgpt-0.19.0/docsgpt/parser/connectors/share_point/__init__.py +10 -0
- docsgpt-0.19.0/docsgpt/parser/connectors/share_point/auth.py +153 -0
- docsgpt-0.19.0/docsgpt/parser/connectors/share_point/loader.py +650 -0
- docsgpt-0.19.0/docsgpt/parser/document_reader.py +628 -0
- docsgpt-0.19.0/docsgpt/parser/embedding_pipeline.py +479 -0
- docsgpt-0.19.0/docsgpt/parser/file/__init__.py +1 -0
- docsgpt-0.19.0/docsgpt/parser/file/anydoc_parser.py +417 -0
- docsgpt-0.19.0/docsgpt/parser/file/audio_parser.py +48 -0
- docsgpt-0.19.0/docsgpt/parser/file/base.py +19 -0
- docsgpt-0.19.0/docsgpt/parser/file/base_parser.py +133 -0
- docsgpt-0.19.0/docsgpt/parser/file/bulk.py +650 -0
- docsgpt-0.19.0/docsgpt/parser/file/constants.py +102 -0
- docsgpt-0.19.0/docsgpt/parser/file/docling_parser.py +1014 -0
- docsgpt-0.19.0/docsgpt/parser/file/docs_parser.py +70 -0
- docsgpt-0.19.0/docsgpt/parser/file/epub_parser.py +28 -0
- docsgpt-0.19.0/docsgpt/parser/file/html_parser.py +238 -0
- docsgpt-0.19.0/docsgpt/parser/file/image_parser.py +31 -0
- docsgpt-0.19.0/docsgpt/parser/file/json_parser.py +57 -0
- docsgpt-0.19.0/docsgpt/parser/file/markdown_parser.py +145 -0
- docsgpt-0.19.0/docsgpt/parser/file/ocr_parser.py +874 -0
- docsgpt-0.19.0/docsgpt/parser/file/openapi3_parser.py +51 -0
- docsgpt-0.19.0/docsgpt/parser/file/pdf_trust.py +280 -0
- docsgpt-0.19.0/docsgpt/parser/file/pdfium_parser.py +261 -0
- docsgpt-0.19.0/docsgpt/parser/file/pptx_parser.py +75 -0
- docsgpt-0.19.0/docsgpt/parser/file/rst_parser.py +201 -0
- docsgpt-0.19.0/docsgpt/parser/file/tableize.py +105 -0
- docsgpt-0.19.0/docsgpt/parser/file/tabular_parser.py +280 -0
- docsgpt-0.19.0/docsgpt/parser/remote/base.py +19 -0
- docsgpt-0.19.0/docsgpt/parser/remote/crawler_loader.py +102 -0
- docsgpt-0.19.0/docsgpt/parser/remote/crawler_markdown.py +187 -0
- docsgpt-0.19.0/docsgpt/parser/remote/github_loader.py +454 -0
- docsgpt-0.19.0/docsgpt/parser/remote/reddit_loader.py +89 -0
- docsgpt-0.19.0/docsgpt/parser/remote/remote_creator.py +92 -0
- docsgpt-0.19.0/docsgpt/parser/remote/s3_loader.py +440 -0
- docsgpt-0.19.0/docsgpt/parser/remote/sitemap_loader.py +111 -0
- docsgpt-0.19.0/docsgpt/parser/remote/web_loader.py +57 -0
- docsgpt-0.19.0/docsgpt/parser/schema/__init__.py +1 -0
- docsgpt-0.19.0/docsgpt/parser/schema/base.py +34 -0
- docsgpt-0.19.0/docsgpt/parser/schema/schema.py +64 -0
- docsgpt-0.19.0/docsgpt/parser/tokenization.py +291 -0
- docsgpt-0.19.0/docsgpt/prompts/chat_reduce_prompt.txt +3 -0
- docsgpt-0.19.0/docsgpt/prompts/composer.py +99 -0
- docsgpt-0.19.0/docsgpt/prompts/compression/v1.0.txt +35 -0
- docsgpt-0.19.0/docsgpt/prompts/fragments/answering/agentic_creative.txt +8 -0
- docsgpt-0.19.0/docsgpt/prompts/fragments/answering/agentic_default.txt +7 -0
- docsgpt-0.19.0/docsgpt/prompts/fragments/answering/agentic_strict.txt +7 -0
- docsgpt-0.19.0/docsgpt/prompts/fragments/answering/classic_creative.txt +7 -0
- docsgpt-0.19.0/docsgpt/prompts/fragments/answering/classic_default.txt +6 -0
- docsgpt-0.19.0/docsgpt/prompts/fragments/answering/classic_strict.txt +6 -0
- docsgpt-0.19.0/docsgpt/prompts/fragments/attachments.txt +11 -0
- docsgpt-0.19.0/docsgpt/prompts/fragments/boundaries.txt +2 -0
- docsgpt-0.19.0/docsgpt/prompts/fragments/formatting.txt +5 -0
- docsgpt-0.19.0/docsgpt/prompts/fragments/identity.txt +2 -0
- docsgpt-0.19.0/docsgpt/prompts/fragments/memory.txt +10 -0
- docsgpt-0.19.0/docsgpt/prompts/fragments/persona.txt +8 -0
- docsgpt-0.19.0/docsgpt/prompts/fragments/platform.txt +4 -0
- docsgpt-0.19.0/docsgpt/prompts/partials/platform_capabilities.txt +12 -0
- docsgpt-0.19.0/docsgpt/prompts/research/clarification.txt +23 -0
- docsgpt-0.19.0/docsgpt/prompts/research/planning.txt +23 -0
- docsgpt-0.19.0/docsgpt/prompts/research/step.txt +13 -0
- docsgpt-0.19.0/docsgpt/prompts/research/synthesis.txt +22 -0
- docsgpt-0.19.0/docsgpt/retriever/__init__.py +0 -0
- docsgpt-0.19.0/docsgpt/retriever/base.py +10 -0
- docsgpt-0.19.0/docsgpt/retriever/classic_rag.py +419 -0
- docsgpt-0.19.0/docsgpt/retriever/dispatcher.py +349 -0
- docsgpt-0.19.0/docsgpt/retriever/fanout.py +190 -0
- docsgpt-0.19.0/docsgpt/retriever/graph_rag.py +359 -0
- docsgpt-0.19.0/docsgpt/retriever/hybrid_rag.py +85 -0
- docsgpt-0.19.0/docsgpt/retriever/labels.py +38 -0
- docsgpt-0.19.0/docsgpt/retriever/retriever_creator.py +25 -0
- docsgpt-0.19.0/docsgpt/retriever/stages/__init__.py +1 -0
- docsgpt-0.19.0/docsgpt/retriever/stages/prescreen.py +248 -0
- docsgpt-0.19.0/docsgpt/sandbox/__init__.py +1 -0
- docsgpt-0.19.0/docsgpt/sandbox/artifacts_capture.py +488 -0
- docsgpt-0.19.0/docsgpt/sandbox/base.py +90 -0
- docsgpt-0.19.0/docsgpt/sandbox/daytona.py +688 -0
- docsgpt-0.19.0/docsgpt/sandbox/jupyter_gateway.py +676 -0
- docsgpt-0.19.0/docsgpt/sandbox/manager.py +403 -0
- docsgpt-0.19.0/docsgpt/sandbox/sandbox_creator.py +91 -0
- docsgpt-0.19.0/docsgpt/scripts/__init__.py +0 -0
- docsgpt-0.19.0/docsgpt/scripts/prefetch_models.py +123 -0
- docsgpt-0.19.0/docsgpt/scripts/reembed.py +542 -0
- docsgpt-0.19.0/docsgpt/scripts/verify_offline.py +161 -0
- docsgpt-0.19.0/docsgpt/security/__init__.py +0 -0
- docsgpt-0.19.0/docsgpt/security/encryption.py +88 -0
- docsgpt-0.19.0/docsgpt/security/safe_url.py +593 -0
- docsgpt-0.19.0/docsgpt/security/zip_archive.py +401 -0
- docsgpt-0.19.0/docsgpt/seed/__init__.py +0 -0
- docsgpt-0.19.0/docsgpt/seed/commands.py +21 -0
- docsgpt-0.19.0/docsgpt/seed/config/agents_template.yaml +36 -0
- docsgpt-0.19.0/docsgpt/seed/config/premade_agents.yaml +94 -0
- docsgpt-0.19.0/docsgpt/seed/seeder.py +349 -0
- docsgpt-0.19.0/docsgpt/services/__init__.py +0 -0
- docsgpt-0.19.0/docsgpt/services/search_service.py +259 -0
- docsgpt-0.19.0/docsgpt/storage/__init__.py +0 -0
- docsgpt-0.19.0/docsgpt/storage/base.py +170 -0
- docsgpt-0.19.0/docsgpt/storage/db/__init__.py +10 -0
- docsgpt-0.19.0/docsgpt/storage/db/base_repository.py +67 -0
- docsgpt-0.19.0/docsgpt/storage/db/bootstrap.py +524 -0
- docsgpt-0.19.0/docsgpt/storage/db/embeddings_pin.py +150 -0
- docsgpt-0.19.0/docsgpt/storage/db/engine.py +98 -0
- docsgpt-0.19.0/docsgpt/storage/db/models.py +1081 -0
- docsgpt-0.19.0/docsgpt/storage/db/redaction.py +64 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/__init__.py +11 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/admin_stats.py +137 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/agent_folders.py +140 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/agents.py +385 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/app_metadata.py +75 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/artifacts.py +627 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/attachments.py +307 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/auth_events.py +108 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/connector_sessions.py +317 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/conversations.py +1368 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/device_audit_log.py +183 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/device_auto_approve_patterns.py +81 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/devices.py +142 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/guardrail_events.py +170 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/idempotency.py +346 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/ingest_chunk_progress.py +148 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/memories.py +115 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/message_events.py +298 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/notes.py +88 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/pending_tool_state.py +272 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/prompts.py +217 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/reconciliation.py +393 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/schedule_runs.py +278 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/schedules.py +352 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/shared_conversations.py +241 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/sources.py +448 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/stack_logs.py +124 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/team_members.py +197 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/team_resource_grants.py +167 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/team_scope.py +113 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/teams.py +158 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/todos.py +258 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/token_usage.py +312 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/tool_call_attempts.py +208 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/user_custom_models.py +201 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/user_logs.py +50 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/user_roles.py +115 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/user_tools.py +238 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/users.py +439 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/wiki_pages.py +269 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/workflow_edges.py +173 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/workflow_nodes.py +167 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/workflow_runs.py +144 -0
- docsgpt-0.19.0/docsgpt/storage/db/repositories/workflows.py +271 -0
- docsgpt-0.19.0/docsgpt/storage/db/serialization.py +93 -0
- docsgpt-0.19.0/docsgpt/storage/db/session.py +67 -0
- docsgpt-0.19.0/docsgpt/storage/db/source_config.py +197 -0
- docsgpt-0.19.0/docsgpt/storage/db/source_ids.py +23 -0
- docsgpt-0.19.0/docsgpt/storage/local.py +194 -0
- docsgpt-0.19.0/docsgpt/storage/s3.py +294 -0
- docsgpt-0.19.0/docsgpt/storage/storage_creator.py +32 -0
- docsgpt-0.19.0/docsgpt/streaming/__init__.py +0 -0
- docsgpt-0.19.0/docsgpt/streaming/async_broadcast_channel.py +119 -0
- docsgpt-0.19.0/docsgpt/streaming/async_event_replay.py +232 -0
- docsgpt-0.19.0/docsgpt/streaming/async_redis.py +47 -0
- docsgpt-0.19.0/docsgpt/streaming/broadcast_channel.py +144 -0
- docsgpt-0.19.0/docsgpt/streaming/event_replay.py +260 -0
- docsgpt-0.19.0/docsgpt/streaming/keys.py +19 -0
- docsgpt-0.19.0/docsgpt/streaming/message_journal.py +447 -0
- docsgpt-0.19.0/docsgpt/streaming/sse_keepalive.py +72 -0
- docsgpt-0.19.0/docsgpt/stt/__init__.py +1 -0
- docsgpt-0.19.0/docsgpt/stt/base.py +15 -0
- docsgpt-0.19.0/docsgpt/stt/constants.py +15 -0
- docsgpt-0.19.0/docsgpt/stt/faster_whisper_stt.py +70 -0
- docsgpt-0.19.0/docsgpt/stt/live_session.py +201 -0
- docsgpt-0.19.0/docsgpt/stt/openai_stt.py +66 -0
- docsgpt-0.19.0/docsgpt/stt/stt_creator.py +17 -0
- docsgpt-0.19.0/docsgpt/stt/upload_limits.py +43 -0
- docsgpt-0.19.0/docsgpt/templates/__init__.py +0 -0
- docsgpt-0.19.0/docsgpt/templates/namespaces.py +395 -0
- docsgpt-0.19.0/docsgpt/templates/template_engine.py +182 -0
- docsgpt-0.19.0/docsgpt/tts/base.py +10 -0
- docsgpt-0.19.0/docsgpt/tts/elevenlabs.py +31 -0
- docsgpt-0.19.0/docsgpt/tts/google_tts.py +19 -0
- docsgpt-0.19.0/docsgpt/tts/tts_creator.py +18 -0
- docsgpt-0.19.0/docsgpt/updates/__init__.py +0 -0
- docsgpt-0.19.0/docsgpt/updates/version_check.py +304 -0
- docsgpt-0.19.0/docsgpt/upload_limits.py +306 -0
- docsgpt-0.19.0/docsgpt/usage.py +307 -0
- docsgpt-0.19.0/docsgpt/utils.py +517 -0
- docsgpt-0.19.0/docsgpt/vectorstore/__init__.py +0 -0
- docsgpt-0.19.0/docsgpt/vectorstore/base.py +455 -0
- docsgpt-0.19.0/docsgpt/vectorstore/document_class.py +8 -0
- docsgpt-0.19.0/docsgpt/vectorstore/elasticsearch.py +225 -0
- docsgpt-0.19.0/docsgpt/vectorstore/embeddings_delegated.py +254 -0
- docsgpt-0.19.0/docsgpt/vectorstore/embeddings_local.py +356 -0
- docsgpt-0.19.0/docsgpt/vectorstore/embeddings_openai.py +89 -0
- docsgpt-0.19.0/docsgpt/vectorstore/embeddings_tasks.py +29 -0
- docsgpt-0.19.0/docsgpt/vectorstore/faiss.py +385 -0
- docsgpt-0.19.0/docsgpt/vectorstore/faiss_docstore.py +230 -0
- docsgpt-0.19.0/docsgpt/vectorstore/lancedb.py +132 -0
- docsgpt-0.19.0/docsgpt/vectorstore/milvus.py +220 -0
- docsgpt-0.19.0/docsgpt/vectorstore/model_registry.py +177 -0
- docsgpt-0.19.0/docsgpt/vectorstore/mongodb.py +236 -0
- docsgpt-0.19.0/docsgpt/vectorstore/pgconn.py +135 -0
- docsgpt-0.19.0/docsgpt/vectorstore/pgvector.py +773 -0
- docsgpt-0.19.0/docsgpt/vectorstore/qdrant.py +219 -0
- docsgpt-0.19.0/docsgpt/vectorstore/vector_creator.py +24 -0
- docsgpt-0.19.0/docsgpt/version.py +10 -0
- docsgpt-0.19.0/docsgpt/worker.py +2893 -0
- docsgpt-0.19.0/docsgpt/wsgi.py +5 -0
- docsgpt-0.19.0/pyproject.toml +210 -0
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
results.txt
|
|
6
|
+
experiments/
|
|
7
|
+
|
|
8
|
+
experiments
|
|
9
|
+
# C extensions
|
|
10
|
+
*.so
|
|
11
|
+
*.next
|
|
12
|
+
# Distribution / packaging
|
|
13
|
+
.Python
|
|
14
|
+
build/
|
|
15
|
+
develop-eggs/
|
|
16
|
+
downloads/
|
|
17
|
+
eggs/
|
|
18
|
+
.eggs/
|
|
19
|
+
lib/
|
|
20
|
+
lib64/
|
|
21
|
+
parts/
|
|
22
|
+
sdist/
|
|
23
|
+
var/
|
|
24
|
+
wheels/
|
|
25
|
+
pip-wheel-metadata/
|
|
26
|
+
share/python-wheels/
|
|
27
|
+
*.egg-info/
|
|
28
|
+
.installed.cfg
|
|
29
|
+
*.egg
|
|
30
|
+
MANIFEST
|
|
31
|
+
|
|
32
|
+
# PyInstaller
|
|
33
|
+
# Usually these files are written by a python script from a template
|
|
34
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
35
|
+
*.manifest
|
|
36
|
+
*.spec
|
|
37
|
+
|
|
38
|
+
# Installer logs
|
|
39
|
+
pip-log.txt
|
|
40
|
+
pip-delete-this-directory.txt
|
|
41
|
+
|
|
42
|
+
# Unit test / coverage reports
|
|
43
|
+
htmlcov/
|
|
44
|
+
.tox/
|
|
45
|
+
.nox/
|
|
46
|
+
.coverage
|
|
47
|
+
.coverage.*
|
|
48
|
+
.cache
|
|
49
|
+
nosetests.xml
|
|
50
|
+
coverage.xml
|
|
51
|
+
*.cover
|
|
52
|
+
*.py,cover
|
|
53
|
+
.hypothesis/
|
|
54
|
+
.pytest_cache/
|
|
55
|
+
|
|
56
|
+
# Translations
|
|
57
|
+
*.mo
|
|
58
|
+
*.pot
|
|
59
|
+
|
|
60
|
+
# Django stuff:
|
|
61
|
+
*.log
|
|
62
|
+
local_settings.py
|
|
63
|
+
db.sqlite3
|
|
64
|
+
db.sqlite3-journal
|
|
65
|
+
|
|
66
|
+
# Flask stuff:
|
|
67
|
+
instance/
|
|
68
|
+
.webassets-cache
|
|
69
|
+
|
|
70
|
+
# Scrapy stuff:
|
|
71
|
+
.scrapy
|
|
72
|
+
|
|
73
|
+
# Sphinx documentation
|
|
74
|
+
docs/_build/
|
|
75
|
+
docs/public/_pagefind/
|
|
76
|
+
|
|
77
|
+
# PyBuilder
|
|
78
|
+
target/
|
|
79
|
+
|
|
80
|
+
# Jupyter Notebook
|
|
81
|
+
.ipynb_checkpoints
|
|
82
|
+
**/*.ipynb
|
|
83
|
+
|
|
84
|
+
# IPython
|
|
85
|
+
profile_default/
|
|
86
|
+
ipython_config.py
|
|
87
|
+
|
|
88
|
+
# pyenv
|
|
89
|
+
.python-version
|
|
90
|
+
|
|
91
|
+
# pipenv
|
|
92
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
93
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
94
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
95
|
+
# install all needed dependencies.
|
|
96
|
+
#Pipfile.lock
|
|
97
|
+
|
|
98
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
|
|
99
|
+
__pypackages__/
|
|
100
|
+
|
|
101
|
+
# Celery stuff
|
|
102
|
+
celerybeat-schedule
|
|
103
|
+
celerybeat.pid
|
|
104
|
+
|
|
105
|
+
# SageMath parsed files
|
|
106
|
+
*.sage.py
|
|
107
|
+
|
|
108
|
+
# Environments
|
|
109
|
+
.env
|
|
110
|
+
.env.local
|
|
111
|
+
.env.*.local
|
|
112
|
+
# Backups of env files (e.g. .env.local.bak, .env.bak.1781108407)
|
|
113
|
+
*.env.bak
|
|
114
|
+
*.env.bak.*
|
|
115
|
+
.env.bak
|
|
116
|
+
.env.bak.*
|
|
117
|
+
.env.local.bak
|
|
118
|
+
.venv
|
|
119
|
+
# Machine-specific Claude Code guidance (see CLAUDE.md preamble)
|
|
120
|
+
CLAUDE.md
|
|
121
|
+
env/
|
|
122
|
+
venv/
|
|
123
|
+
ENV/
|
|
124
|
+
env.bak/
|
|
125
|
+
venv.bak/
|
|
126
|
+
.flaskenv
|
|
127
|
+
# Spyder project settings
|
|
128
|
+
.spyderproject
|
|
129
|
+
.spyproject
|
|
130
|
+
.jwt_secret_key
|
|
131
|
+
|
|
132
|
+
# Rope project settings
|
|
133
|
+
.ropeproject
|
|
134
|
+
|
|
135
|
+
# mkdocs documentation
|
|
136
|
+
/site
|
|
137
|
+
|
|
138
|
+
# mypy
|
|
139
|
+
.mypy_cache/
|
|
140
|
+
.dmypy.json
|
|
141
|
+
dmypy.json
|
|
142
|
+
|
|
143
|
+
# Pyre type checker
|
|
144
|
+
.pyre/
|
|
145
|
+
|
|
146
|
+
#pycharm
|
|
147
|
+
.idea/
|
|
148
|
+
|
|
149
|
+
# macOS
|
|
150
|
+
.DS_Store
|
|
151
|
+
|
|
152
|
+
#frontend
|
|
153
|
+
# Logs
|
|
154
|
+
frontend/logs
|
|
155
|
+
frontend/*.log
|
|
156
|
+
frontend/npm-debug.log*
|
|
157
|
+
frontend/yarn-debug.log*
|
|
158
|
+
frontend/yarn-error.log*
|
|
159
|
+
frontend/pnpm-debug.log*
|
|
160
|
+
frontend/lerna-debug.log*
|
|
161
|
+
|
|
162
|
+
# Keep frontend utility helpers tracked (overrides global lib/ ignore)
|
|
163
|
+
!frontend/src/lib/
|
|
164
|
+
!frontend/src/lib/**
|
|
165
|
+
|
|
166
|
+
frontend/node_modules
|
|
167
|
+
frontend/dist
|
|
168
|
+
frontend/dist-ssr
|
|
169
|
+
frontend/*.local
|
|
170
|
+
|
|
171
|
+
# Editor directories and files
|
|
172
|
+
frontend/.vscode/*
|
|
173
|
+
frontend/!.vscode/extensions.json
|
|
174
|
+
frontend/.idea
|
|
175
|
+
frontend/.DS_Store
|
|
176
|
+
frontend/*.suo
|
|
177
|
+
frontend/*.ntvs*
|
|
178
|
+
frontend/*.njsproj
|
|
179
|
+
frontend/*.sln
|
|
180
|
+
frontend/*.sw?
|
|
181
|
+
|
|
182
|
+
docsgpt/vectors/
|
|
183
|
+
application/vectors/
|
|
184
|
+
|
|
185
|
+
**/inputs
|
|
186
|
+
|
|
187
|
+
**/indexes
|
|
188
|
+
|
|
189
|
+
**/temp
|
|
190
|
+
|
|
191
|
+
**/yarn.lock
|
|
192
|
+
|
|
193
|
+
node_modules/
|
|
194
|
+
.vscode/settings.json
|
|
195
|
+
.vscode/sftp.json
|
|
196
|
+
/models/
|
|
197
|
+
model/
|
|
198
|
+
|
|
199
|
+
# E2E test artifacts
|
|
200
|
+
.e2e-tmp/
|
|
201
|
+
/tmp/docsgpt-e2e/
|
|
202
|
+
tests/e2e/node_modules/
|
|
203
|
+
tests/e2e/playwright-report/
|
|
204
|
+
tests/e2e/test-results/
|
|
205
|
+
tests/e2e/.e2e-last-run.json
|
|
206
|
+
docsgpt/core/models/foundry_test_internal.yaml
|
|
207
|
+
bench/
|
|
208
|
+
/benchmark/
|
|
209
|
+
|
|
210
|
+
# Python package build output (uv build)
|
|
211
|
+
dist/
|
docsgpt-0.19.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023 arc53
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
docsgpt-0.19.0/PKG-INFO
ADDED
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: docsgpt
|
|
3
|
+
Version: 0.19.0
|
|
4
|
+
Summary: DocsGPT backend: chat with your documents, agents, and tools.
|
|
5
|
+
Project-URL: Homepage, https://www.docsgpt.cloud/
|
|
6
|
+
Project-URL: Documentation, https://docs.docsgpt.cloud/
|
|
7
|
+
Project-URL: Repository, https://github.com/arc53/DocsGPT
|
|
8
|
+
Project-URL: Issues, https://github.com/arc53/DocsGPT/issues
|
|
9
|
+
Project-URL: Changelog, https://github.com/arc53/DocsGPT/releases
|
|
10
|
+
Author: Arc53
|
|
11
|
+
License-Expression: MIT
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Keywords: agents,chat,documents,llm,rag,search
|
|
14
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
15
|
+
Classifier: Environment :: Web Environment
|
|
16
|
+
Classifier: Framework :: Flask
|
|
17
|
+
Classifier: Intended Audience :: Developers
|
|
18
|
+
Classifier: Operating System :: OS Independent
|
|
19
|
+
Classifier: Programming Language :: Python :: 3
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
22
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
23
|
+
Requires-Python: >=3.12
|
|
24
|
+
Requires-Dist: a2wsgi<2,>=1.10.10
|
|
25
|
+
Requires-Dist: alembic<2,>=1.13
|
|
26
|
+
Requires-Dist: anthropic<0.122,>=0.121.0
|
|
27
|
+
Requires-Dist: beautifulsoup4<5,>=4.15.0
|
|
28
|
+
Requires-Dist: boto3<2,>=1.43.67
|
|
29
|
+
Requires-Dist: cel-python<0.6,>=0.5.0
|
|
30
|
+
Requires-Dist: celery-redbeat<3,>=2.4.2
|
|
31
|
+
Requires-Dist: celery<6,>=5.6.3
|
|
32
|
+
Requires-Dist: croniter<7,>=6.2.4
|
|
33
|
+
Requires-Dist: cryptography<51,>=50.0.0
|
|
34
|
+
Requires-Dist: dataclasses-json<0.7,>=0.6.7
|
|
35
|
+
Requires-Dist: daytona<0.206,>=0.205.1
|
|
36
|
+
Requires-Dist: ddgs<10,>=8.0.0
|
|
37
|
+
Requires-Dist: defusedxml<0.8,>=0.7.1
|
|
38
|
+
Requires-Dist: docx2txt<0.10,>=0.9
|
|
39
|
+
Requires-Dist: elevenlabs<3,>=2.62.0
|
|
40
|
+
Requires-Dist: faiss-cpu<2,>=1.15.0
|
|
41
|
+
Requires-Dist: fast-ebook<0.3,>=0.2.0
|
|
42
|
+
Requires-Dist: fastembed<0.9,>=0.8.0
|
|
43
|
+
Requires-Dist: fastmcp<4,>=3.4.6
|
|
44
|
+
Requires-Dist: firecrawl-anydoc<0.3,>=0.2.3
|
|
45
|
+
Requires-Dist: flask-restx<2,>=1.3.2
|
|
46
|
+
Requires-Dist: flask<4,>=3.1.3
|
|
47
|
+
Requires-Dist: google-api-python-client<3,>=2.198.0
|
|
48
|
+
Requires-Dist: google-auth-oauthlib<2,>=1.4.0
|
|
49
|
+
Requires-Dist: google-genai<3,>=2.17.0
|
|
50
|
+
Requires-Dist: gtts<3,>=2.5.4
|
|
51
|
+
Requires-Dist: gunicorn<27,>=26.0.0
|
|
52
|
+
Requires-Dist: jinja2<4,>=3.1.6
|
|
53
|
+
Requires-Dist: kombu<6,>=5.6.2
|
|
54
|
+
Requires-Dist: markdownify<2,>=1.2.3
|
|
55
|
+
Requires-Dist: msal<2,>=1.37.0
|
|
56
|
+
Requires-Dist: networkx<4,>=3.6.1
|
|
57
|
+
Requires-Dist: numpy<3,>=2.5.1
|
|
58
|
+
Requires-Dist: onnxruntime<2,>=1.28.0
|
|
59
|
+
Requires-Dist: openai<3,>=2.53.0
|
|
60
|
+
Requires-Dist: openapi3-parser<2,>=1.1.22
|
|
61
|
+
Requires-Dist: openpyxl<4,>=3.1.5
|
|
62
|
+
Requires-Dist: opentelemetry-distro<1,>=0.50b0
|
|
63
|
+
Requires-Dist: opentelemetry-exporter-otlp<2,>=1.29.0
|
|
64
|
+
Requires-Dist: opentelemetry-instrumentation-celery<1,>=0.50b0
|
|
65
|
+
Requires-Dist: opentelemetry-instrumentation-flask<1,>=0.50b0
|
|
66
|
+
Requires-Dist: opentelemetry-instrumentation-logging<1,>=0.50b0
|
|
67
|
+
Requires-Dist: opentelemetry-instrumentation-psycopg<1,>=0.50b0
|
|
68
|
+
Requires-Dist: opentelemetry-instrumentation-redis<1,>=0.50b0
|
|
69
|
+
Requires-Dist: opentelemetry-instrumentation-requests<1,>=0.50b0
|
|
70
|
+
Requires-Dist: opentelemetry-instrumentation-sqlalchemy<1,>=0.50b0
|
|
71
|
+
Requires-Dist: opentelemetry-instrumentation-starlette<1,>=0.50b0
|
|
72
|
+
Requires-Dist: pandas<4,>=3.0.5
|
|
73
|
+
Requires-Dist: pdf2image<2,>=1.17.0
|
|
74
|
+
Requires-Dist: pgvector<1,>=0.5
|
|
75
|
+
Requires-Dist: pillow<13,>=12.3.0
|
|
76
|
+
Requires-Dist: praw<9,>=8.0.2
|
|
77
|
+
Requires-Dist: psycopg[binary,pool]<4,>=3.1
|
|
78
|
+
Requires-Dist: pydantic-settings<3,>=2.15.0
|
|
79
|
+
Requires-Dist: pydantic<3,>=2.13.5
|
|
80
|
+
Requires-Dist: pypdf<7,>=6.15.0
|
|
81
|
+
Requires-Dist: pypdfium2<6,>=5.12.1
|
|
82
|
+
Requires-Dist: python-dateutil<3,>=2.9.0
|
|
83
|
+
Requires-Dist: python-dotenv<2,>=1.2.3
|
|
84
|
+
Requires-Dist: python-jose<4,>=3.5.0
|
|
85
|
+
Requires-Dist: python-pptx<2,>=1.0.2
|
|
86
|
+
Requires-Dist: pyyaml<7,>=6.0.3
|
|
87
|
+
Requires-Dist: qdrant-client<2,>=1.19.0
|
|
88
|
+
Requires-Dist: redis<8,>=7.4.0
|
|
89
|
+
Requires-Dist: requests<3,>=2.34.2
|
|
90
|
+
Requires-Dist: retry<0.10,>=0.9.2
|
|
91
|
+
Requires-Dist: sqlalchemy<3,>=2.0
|
|
92
|
+
Requires-Dist: starlette<2,>=1.0
|
|
93
|
+
Requires-Dist: tiktoken<0.14,>=0.13.0
|
|
94
|
+
Requires-Dist: tldextract<6,>=5.3.2
|
|
95
|
+
Requires-Dist: tokenizers<0.23,>=0.22.2
|
|
96
|
+
Requires-Dist: tqdm<5,>=4.67.3
|
|
97
|
+
Requires-Dist: uvicorn-worker<1,>=0.4
|
|
98
|
+
Requires-Dist: uvicorn[standard]<1,>=0.30
|
|
99
|
+
Requires-Dist: websocket-client<2,>=1.9.0
|
|
100
|
+
Requires-Dist: werkzeug<4,>=3.1.0
|
|
101
|
+
Provides-Extra: docling
|
|
102
|
+
Requires-Dist: docling<3,>=2.119.0; extra == 'docling'
|
|
103
|
+
Requires-Dist: rapidocr<4,>=3.9.2; extra == 'docling'
|
|
104
|
+
Requires-Dist: torch<3,>=2.11.0; extra == 'docling'
|
|
105
|
+
Requires-Dist: torchvision<0.27,>=0.26.0; extra == 'docling'
|
|
106
|
+
Requires-Dist: transformers<5.9,>=5.8.1; extra == 'docling'
|
|
107
|
+
Provides-Extra: milvus
|
|
108
|
+
Requires-Dist: milvus-lite<4,>=3.2.0; (sys_platform != 'win32') and extra == 'milvus'
|
|
109
|
+
Requires-Dist: pymilvus<4,>=3.0.1; extra == 'milvus'
|
|
110
|
+
Description-Content-Type: text/markdown
|
|
111
|
+
|
|
112
|
+
<h1 align="center">
|
|
113
|
+
DocsGPT π¦
|
|
114
|
+
</h1>
|
|
115
|
+
|
|
116
|
+
<p align="center">
|
|
117
|
+
<strong>Private AI for agents, assistants and enterprise search</strong>
|
|
118
|
+
</p>
|
|
119
|
+
|
|
120
|
+
<p align="left">
|
|
121
|
+
<strong><a href="https://www.docsgpt.cloud/">DocsGPT</a></strong> is an open-source AI platform for building intelligent agents and assistants. Features Agent Builder, deep research tools, document analysis (PDF, Office, web content, and audio), Multi-model support (choose your provider or run locally), and rich API connectivity for agents with actionable tools and integrations. Deploy anywhere with complete privacy control.
|
|
122
|
+
</p>
|
|
123
|
+
|
|
124
|
+
<div align="center">
|
|
125
|
+
|
|
126
|
+
<a href="https://github.com/arc53/DocsGPT"></a>
|
|
127
|
+
<a href="https://github.com/arc53/DocsGPT"></a>
|
|
128
|
+
<a href="https://github.com/arc53/DocsGPT/blob/main/LICENSE"></a>
|
|
129
|
+
<a href="https://www.bestpractices.dev/projects/9907"><img src="https://www.bestpractices.dev/projects/9907/badge"></a>
|
|
130
|
+
<a href="https://discord.gg/vN7YFfdMpj"></a>
|
|
131
|
+
<a href="https://x.com/docsgptai"></a>
|
|
132
|
+
|
|
133
|
+
<a href="https://docs.docsgpt.cloud/quickstart">β‘οΈ Quickstart</a> β’ <a href="https://app.docsgpt.cloud/">βοΈ Cloud Version</a> β’ <a href="https://discord.gg/vN7YFfdMpj">π¬ Discord</a>
|
|
134
|
+
<br>
|
|
135
|
+
<a href="https://docs.docsgpt.cloud/">π Documentation</a> β’ <a href="https://github.com/arc53/DocsGPT/blob/main/CONTRIBUTING.md">π« Contribute</a> β’ <a href="https://blog.docsgpt.cloud/">π Blog</a>
|
|
136
|
+
<br>
|
|
137
|
+
|
|
138
|
+
</div>
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
<div align="center">
|
|
142
|
+
<br>
|
|
143
|
+
<img src="https://d3dg1063dc54p9.cloudfront.net/videos/demo-26.gif" alt="video-example-of-docs-gpt" width="800" height="480">
|
|
144
|
+
</div>
|
|
145
|
+
<h3 align="left">
|
|
146
|
+
<strong>Key Features:</strong>
|
|
147
|
+
</h3>
|
|
148
|
+
<ul align="left">
|
|
149
|
+
<li><strong>ποΈ Wide Format Support:</strong> Reads PDF, DOCX, CSV, XLSX, EPUB, MD, RST, HTML, MDX, JSON, PPTX, images, and audio files such as MP3, WAV, M4A, OGG, and WebM.</li>
|
|
150
|
+
<li><strong>ποΈ Speech Workflows:</strong> Record voice input into chat, transcribe audio on the backend, and ingest meeting recordings or voice notes as searchable knowledge.</li>
|
|
151
|
+
<li><strong>π Web & Data Integration:</strong> Ingests from URLs, sitemaps, Reddit, GitHub and web crawlers.</li>
|
|
152
|
+
<li><strong>β
Reliable Answers:</strong> Get accurate, hallucination-free responses with source citations viewable in a clean UI.</li>
|
|
153
|
+
<li><strong>π Streamlined API Keys:</strong> Generate keys linked to your settings, documents, and models, simplifying chatbot and integration setup.</li>
|
|
154
|
+
<li><strong>π Actionable Tooling:</strong> Connect to APIs, tools, and other services to enable LLM actions.</li>
|
|
155
|
+
<li><strong>π§© Pre-built Integrations:</strong> Use readily available HTML/React chat widgets, search tools, Discord/Telegram bots, and more.</li>
|
|
156
|
+
<li><strong>π Flexible Deployment:</strong> Works with major LLMs (OpenAI, Google, Anthropic) and local models (Ollama, llama_cpp).</li>
|
|
157
|
+
<li><strong>π’ Secure & Scalable:</strong> Run privately and securely with Kubernetes support, designed for enterprise-grade reliability.</li>
|
|
158
|
+
</ul>
|
|
159
|
+
|
|
160
|
+
## Roadmap
|
|
161
|
+
- [x] Agent Workflow Builder with conditional nodes ( February 2026 )
|
|
162
|
+
- [x] Research mode ( March 2026 )
|
|
163
|
+
- [x] SharePoint & Confluence connectors ( March β April 2026 )
|
|
164
|
+
- [x] Postgres migration for user data ( April 2026 )
|
|
165
|
+
- [x] OpenTelemetry observability ( April 2026 )
|
|
166
|
+
- [x] Bring Your Own Model (BYOM) ( April 2026 )
|
|
167
|
+
- [x] Agent scheduling (RedBeat-backed) ( April 2026 )
|
|
168
|
+
- [x] Notifications & conversation search ( May 2026 )
|
|
169
|
+
- [x] Analytics & logs revamp with per-agent attribution ( June 2026 )
|
|
170
|
+
- [x] OIDC / SSO login with SCIM provisioning & groups ( June 2026 )
|
|
171
|
+
- [x] Admin dashboard & role-based access control (RBAC) ( June 2026 )
|
|
172
|
+
- [x] Agent import / export ( June 2026 )
|
|
173
|
+
- [x] Teams with team-scoped sharing & roles ( June 2026 )
|
|
174
|
+
|
|
175
|
+
You can find our full roadmap [here](https://github.com/orgs/arc53/projects/2). Please don't hesitate to contribute or create issues, it helps us improve DocsGPT!
|
|
176
|
+
|
|
177
|
+
### Production Support / Help for Companies:
|
|
178
|
+
|
|
179
|
+
We're eager to provide personalized assistance when deploying your DocsGPT to a live environment.
|
|
180
|
+
|
|
181
|
+
[Get a Demo :wave:](https://www.docsgpt.cloud/contact)β
|
|
182
|
+
|
|
183
|
+
[Send Email :email:](mailto:support@docsgpt.cloud?subject=DocsGPT%20support%2Fsolutions)
|
|
184
|
+
|
|
185
|
+
## Join the Lighthouse Program π
|
|
186
|
+
|
|
187
|
+
Calling all developers and GenAI innovators! The **DocsGPT Lighthouse Program** connects technical leaders actively deploying or extending DocsGPT in real-world scenarios. Collaborate directly with our team to shape the roadmap, access priority support, and build enterprise-ready solutions with exclusive community insights.
|
|
188
|
+
|
|
189
|
+
[Learn More & Apply β](https://docs.google.com/forms/d/1KAADiJinUJ8EMQyfTXUIGyFbqINNClNR3jBNWq7DgTE)
|
|
190
|
+
|
|
191
|
+
## QuickStart
|
|
192
|
+
|
|
193
|
+
> [!Note]
|
|
194
|
+
> Make sure you have [Docker](https://docs.docker.com/engine/install/) installed
|
|
195
|
+
|
|
196
|
+
A more detailed [Quickstart](https://docs.docsgpt.cloud/quickstart) is available in our documentation
|
|
197
|
+
|
|
198
|
+
1. **Clone the repository:**
|
|
199
|
+
|
|
200
|
+
```bash
|
|
201
|
+
git clone https://github.com/arc53/DocsGPT.git
|
|
202
|
+
cd DocsGPT
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
**For macOS and Linux:**
|
|
206
|
+
|
|
207
|
+
2. **Run the setup script:**
|
|
208
|
+
|
|
209
|
+
```bash
|
|
210
|
+
./setup.sh
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
**For Windows:**
|
|
214
|
+
|
|
215
|
+
2. **Run the PowerShell setup script:**
|
|
216
|
+
|
|
217
|
+
```powershell
|
|
218
|
+
PowerShell -ExecutionPolicy Bypass -File .\setup.ps1
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
Either script will guide you through setting up DocsGPT. Five options are available: using the public API, running locally, connecting to a local inference engine, using a cloud API provider, or building the docker image locally. The scripts will automatically configure your `.env` file and handle necessary downloads and installations based on your chosen option.
|
|
222
|
+
|
|
223
|
+
**Navigate to http://localhost:5173/**
|
|
224
|
+
|
|
225
|
+
To stop DocsGPT, open a terminal in the `DocsGPT` directory and run:
|
|
226
|
+
|
|
227
|
+
```bash
|
|
228
|
+
docker compose -f deployment/docker-compose.yaml down
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
(or use the specific `docker compose down` command shown after running the setup script).
|
|
232
|
+
|
|
233
|
+
> [!Note]
|
|
234
|
+
> For development environment setup instructions, please refer to the [Development Environment Guide](https://docs.docsgpt.cloud/Deploying/Development-Environment).
|
|
235
|
+
|
|
236
|
+
## Contributing
|
|
237
|
+
|
|
238
|
+
Please refer to the [CONTRIBUTING.md](CONTRIBUTING.md) file for information about how to get involved. We welcome issues, questions, and pull requests.
|
|
239
|
+
|
|
240
|
+
## Architecture
|
|
241
|
+
|
|
242
|
+

|
|
243
|
+
|
|
244
|
+
## Project Structure
|
|
245
|
+
|
|
246
|
+
- **docsgpt** - Backend Flask application (the `docsgpt` Python package).
|
|
247
|
+
|
|
248
|
+
- **Extensions** - Integrations and widgets (e.g., Chatwoot, React widget).
|
|
249
|
+
|
|
250
|
+
- **Frontend** - Web UI built with [Vite](https://vitejs.dev/) and [React](https://react.dev/).
|
|
251
|
+
|
|
252
|
+
- **Scripts** - Miscellaneous utility scripts.
|
|
253
|
+
|
|
254
|
+
## Code Of Conduct
|
|
255
|
+
|
|
256
|
+
We as members, contributors, and leaders, pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation. Please refer to the [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md) file for more information about contributing.
|
|
257
|
+
|
|
258
|
+
## Many Thanks To Our Contributorsβ‘
|
|
259
|
+
|
|
260
|
+
<a href="https://github.com/arc53/DocsGPT/graphs/contributors" alt="View Contributors">
|
|
261
|
+
<img src="https://contrib.rocks/image?repo=arc53/DocsGPT" alt="Contributors" />
|
|
262
|
+
</a>
|
|
263
|
+
|
|
264
|
+
## License
|
|
265
|
+
|
|
266
|
+
The source code license is [MIT](https://opensource.org/license/mit/), as described in the [LICENSE](LICENSE) file.
|
|
267
|
+
|
|
268
|
+
## This project is supported by:
|
|
269
|
+
|
|
270
|
+
<p>
|
|
271
|
+
<a href="https://www.digitalocean.com/?utm_medium=opensource&utm_source=DocsGPT">
|
|
272
|
+
<img src="https://opensource.nyc3.cdn.digitaloceanspaces.com/attribution/assets/SVG/DO_Logo_horizontal_blue.svg" width="201px">
|
|
273
|
+
</a>
|
|
274
|
+
</p>
|
|
275
|
+
<p>
|
|
276
|
+
<a href="https://get.neon.com/docsgpt">
|
|
277
|
+
<img width="201" alt="color" src="https://github.com/user-attachments/assets/7d9813b7-0e6d-403f-b5af-68af066b326f" />
|
|
278
|
+
</a>
|
|
279
|
+
|
|
280
|
+
</p>
|
docsgpt-0.19.0/README.md
ADDED
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
<h1 align="center">
|
|
2
|
+
DocsGPT π¦
|
|
3
|
+
</h1>
|
|
4
|
+
|
|
5
|
+
<p align="center">
|
|
6
|
+
<strong>Private AI for agents, assistants and enterprise search</strong>
|
|
7
|
+
</p>
|
|
8
|
+
|
|
9
|
+
<p align="left">
|
|
10
|
+
<strong><a href="https://www.docsgpt.cloud/">DocsGPT</a></strong> is an open-source AI platform for building intelligent agents and assistants. Features Agent Builder, deep research tools, document analysis (PDF, Office, web content, and audio), Multi-model support (choose your provider or run locally), and rich API connectivity for agents with actionable tools and integrations. Deploy anywhere with complete privacy control.
|
|
11
|
+
</p>
|
|
12
|
+
|
|
13
|
+
<div align="center">
|
|
14
|
+
|
|
15
|
+
<a href="https://github.com/arc53/DocsGPT"></a>
|
|
16
|
+
<a href="https://github.com/arc53/DocsGPT"></a>
|
|
17
|
+
<a href="https://github.com/arc53/DocsGPT/blob/main/LICENSE"></a>
|
|
18
|
+
<a href="https://www.bestpractices.dev/projects/9907"><img src="https://www.bestpractices.dev/projects/9907/badge"></a>
|
|
19
|
+
<a href="https://discord.gg/vN7YFfdMpj"></a>
|
|
20
|
+
<a href="https://x.com/docsgptai"></a>
|
|
21
|
+
|
|
22
|
+
<a href="https://docs.docsgpt.cloud/quickstart">β‘οΈ Quickstart</a> β’ <a href="https://app.docsgpt.cloud/">βοΈ Cloud Version</a> β’ <a href="https://discord.gg/vN7YFfdMpj">π¬ Discord</a>
|
|
23
|
+
<br>
|
|
24
|
+
<a href="https://docs.docsgpt.cloud/">π Documentation</a> β’ <a href="https://github.com/arc53/DocsGPT/blob/main/CONTRIBUTING.md">π« Contribute</a> β’ <a href="https://blog.docsgpt.cloud/">π Blog</a>
|
|
25
|
+
<br>
|
|
26
|
+
|
|
27
|
+
</div>
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
<div align="center">
|
|
31
|
+
<br>
|
|
32
|
+
<img src="https://d3dg1063dc54p9.cloudfront.net/videos/demo-26.gif" alt="video-example-of-docs-gpt" width="800" height="480">
|
|
33
|
+
</div>
|
|
34
|
+
<h3 align="left">
|
|
35
|
+
<strong>Key Features:</strong>
|
|
36
|
+
</h3>
|
|
37
|
+
<ul align="left">
|
|
38
|
+
<li><strong>ποΈ Wide Format Support:</strong> Reads PDF, DOCX, CSV, XLSX, EPUB, MD, RST, HTML, MDX, JSON, PPTX, images, and audio files such as MP3, WAV, M4A, OGG, and WebM.</li>
|
|
39
|
+
<li><strong>ποΈ Speech Workflows:</strong> Record voice input into chat, transcribe audio on the backend, and ingest meeting recordings or voice notes as searchable knowledge.</li>
|
|
40
|
+
<li><strong>π Web & Data Integration:</strong> Ingests from URLs, sitemaps, Reddit, GitHub and web crawlers.</li>
|
|
41
|
+
<li><strong>β
Reliable Answers:</strong> Get accurate, hallucination-free responses with source citations viewable in a clean UI.</li>
|
|
42
|
+
<li><strong>π Streamlined API Keys:</strong> Generate keys linked to your settings, documents, and models, simplifying chatbot and integration setup.</li>
|
|
43
|
+
<li><strong>π Actionable Tooling:</strong> Connect to APIs, tools, and other services to enable LLM actions.</li>
|
|
44
|
+
<li><strong>π§© Pre-built Integrations:</strong> Use readily available HTML/React chat widgets, search tools, Discord/Telegram bots, and more.</li>
|
|
45
|
+
<li><strong>π Flexible Deployment:</strong> Works with major LLMs (OpenAI, Google, Anthropic) and local models (Ollama, llama_cpp).</li>
|
|
46
|
+
<li><strong>π’ Secure & Scalable:</strong> Run privately and securely with Kubernetes support, designed for enterprise-grade reliability.</li>
|
|
47
|
+
</ul>
|
|
48
|
+
|
|
49
|
+
## Roadmap
|
|
50
|
+
- [x] Agent Workflow Builder with conditional nodes ( February 2026 )
|
|
51
|
+
- [x] Research mode ( March 2026 )
|
|
52
|
+
- [x] SharePoint & Confluence connectors ( March β April 2026 )
|
|
53
|
+
- [x] Postgres migration for user data ( April 2026 )
|
|
54
|
+
- [x] OpenTelemetry observability ( April 2026 )
|
|
55
|
+
- [x] Bring Your Own Model (BYOM) ( April 2026 )
|
|
56
|
+
- [x] Agent scheduling (RedBeat-backed) ( April 2026 )
|
|
57
|
+
- [x] Notifications & conversation search ( May 2026 )
|
|
58
|
+
- [x] Analytics & logs revamp with per-agent attribution ( June 2026 )
|
|
59
|
+
- [x] OIDC / SSO login with SCIM provisioning & groups ( June 2026 )
|
|
60
|
+
- [x] Admin dashboard & role-based access control (RBAC) ( June 2026 )
|
|
61
|
+
- [x] Agent import / export ( June 2026 )
|
|
62
|
+
- [x] Teams with team-scoped sharing & roles ( June 2026 )
|
|
63
|
+
|
|
64
|
+
You can find our full roadmap [here](https://github.com/orgs/arc53/projects/2). Please don't hesitate to contribute or create issues, it helps us improve DocsGPT!
|
|
65
|
+
|
|
66
|
+
### Production Support / Help for Companies:
|
|
67
|
+
|
|
68
|
+
We're eager to provide personalized assistance when deploying your DocsGPT to a live environment.
|
|
69
|
+
|
|
70
|
+
[Get a Demo :wave:](https://www.docsgpt.cloud/contact)β
|
|
71
|
+
|
|
72
|
+
[Send Email :email:](mailto:support@docsgpt.cloud?subject=DocsGPT%20support%2Fsolutions)
|
|
73
|
+
|
|
74
|
+
## Join the Lighthouse Program π
|
|
75
|
+
|
|
76
|
+
Calling all developers and GenAI innovators! The **DocsGPT Lighthouse Program** connects technical leaders actively deploying or extending DocsGPT in real-world scenarios. Collaborate directly with our team to shape the roadmap, access priority support, and build enterprise-ready solutions with exclusive community insights.
|
|
77
|
+
|
|
78
|
+
[Learn More & Apply β](https://docs.google.com/forms/d/1KAADiJinUJ8EMQyfTXUIGyFbqINNClNR3jBNWq7DgTE)
|
|
79
|
+
|
|
80
|
+
## QuickStart
|
|
81
|
+
|
|
82
|
+
> [!Note]
|
|
83
|
+
> Make sure you have [Docker](https://docs.docker.com/engine/install/) installed
|
|
84
|
+
|
|
85
|
+
A more detailed [Quickstart](https://docs.docsgpt.cloud/quickstart) is available in our documentation
|
|
86
|
+
|
|
87
|
+
1. **Clone the repository:**
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
git clone https://github.com/arc53/DocsGPT.git
|
|
91
|
+
cd DocsGPT
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
**For macOS and Linux:**
|
|
95
|
+
|
|
96
|
+
2. **Run the setup script:**
|
|
97
|
+
|
|
98
|
+
```bash
|
|
99
|
+
./setup.sh
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
**For Windows:**
|
|
103
|
+
|
|
104
|
+
2. **Run the PowerShell setup script:**
|
|
105
|
+
|
|
106
|
+
```powershell
|
|
107
|
+
PowerShell -ExecutionPolicy Bypass -File .\setup.ps1
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
Either script will guide you through setting up DocsGPT. Five options are available: using the public API, running locally, connecting to a local inference engine, using a cloud API provider, or building the docker image locally. The scripts will automatically configure your `.env` file and handle necessary downloads and installations based on your chosen option.
|
|
111
|
+
|
|
112
|
+
**Navigate to http://localhost:5173/**
|
|
113
|
+
|
|
114
|
+
To stop DocsGPT, open a terminal in the `DocsGPT` directory and run:
|
|
115
|
+
|
|
116
|
+
```bash
|
|
117
|
+
docker compose -f deployment/docker-compose.yaml down
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
(or use the specific `docker compose down` command shown after running the setup script).
|
|
121
|
+
|
|
122
|
+
> [!Note]
|
|
123
|
+
> For development environment setup instructions, please refer to the [Development Environment Guide](https://docs.docsgpt.cloud/Deploying/Development-Environment).
|
|
124
|
+
|
|
125
|
+
## Contributing
|
|
126
|
+
|
|
127
|
+
Please refer to the [CONTRIBUTING.md](CONTRIBUTING.md) file for information about how to get involved. We welcome issues, questions, and pull requests.
|
|
128
|
+
|
|
129
|
+
## Architecture
|
|
130
|
+
|
|
131
|
+

|
|
132
|
+
|
|
133
|
+
## Project Structure
|
|
134
|
+
|
|
135
|
+
- **docsgpt** - Backend Flask application (the `docsgpt` Python package).
|
|
136
|
+
|
|
137
|
+
- **Extensions** - Integrations and widgets (e.g., Chatwoot, React widget).
|
|
138
|
+
|
|
139
|
+
- **Frontend** - Web UI built with [Vite](https://vitejs.dev/) and [React](https://react.dev/).
|
|
140
|
+
|
|
141
|
+
- **Scripts** - Miscellaneous utility scripts.
|
|
142
|
+
|
|
143
|
+
## Code Of Conduct
|
|
144
|
+
|
|
145
|
+
We as members, contributors, and leaders, pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation. Please refer to the [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md) file for more information about contributing.
|
|
146
|
+
|
|
147
|
+
## Many Thanks To Our Contributorsβ‘
|
|
148
|
+
|
|
149
|
+
<a href="https://github.com/arc53/DocsGPT/graphs/contributors" alt="View Contributors">
|
|
150
|
+
<img src="https://contrib.rocks/image?repo=arc53/DocsGPT" alt="Contributors" />
|
|
151
|
+
</a>
|
|
152
|
+
|
|
153
|
+
## License
|
|
154
|
+
|
|
155
|
+
The source code license is [MIT](https://opensource.org/license/mit/), as described in the [LICENSE](LICENSE) file.
|
|
156
|
+
|
|
157
|
+
## This project is supported by:
|
|
158
|
+
|
|
159
|
+
<p>
|
|
160
|
+
<a href="https://www.digitalocean.com/?utm_medium=opensource&utm_source=DocsGPT">
|
|
161
|
+
<img src="https://opensource.nyc3.cdn.digitaloceanspaces.com/attribution/assets/SVG/DO_Logo_horizontal_blue.svg" width="201px">
|
|
162
|
+
</a>
|
|
163
|
+
</p>
|
|
164
|
+
<p>
|
|
165
|
+
<a href="https://get.neon.com/docsgpt">
|
|
166
|
+
<img width="201" alt="color" src="https://github.com/user-attachments/assets/7d9813b7-0e6d-403f-b5af-68af066b326f" />
|
|
167
|
+
</a>
|
|
168
|
+
|
|
169
|
+
</p>
|
|
File without changes
|
|
File without changes
|