Repository Analysis

eosphoros-ai/DB-GPT

open-source agentic AI data assistant for the next generation of AI + Data products.

15.5 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of eosphoros-ai/DB-GPT, a Python project with 19,466 GitHub stars. SynthScan v2.0 examined 562,565 lines of code across 2867 source files, recording 5283 pattern matches distributed across 26 syntactic categories. The overall adjusted score of 15.5 places this repository in the Moderate AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

15.5
Adjusted Score
15.5
Raw Score
100%
Time Factor
2026-07-12
Last Push
19.5K
Stars
Python
Language
562.6K
Lines of Code
2.9K
Files
5.3K
Pattern Hits
2026-07-14
Scan Date
0.16
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 11HIGH 452MEDIUM 532LOW 4288

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 5283 distinct pattern matches across 26 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Cross-File Repetition305 hits · 1525 pts
SeverityFileLineSnippetContext
HIGHskills.py0get a skill by name. args: name: skill name. returns: loadedskill or none.STRING
HIGH…ages/dbgpt-core/src/dbgpt/agent/skill/middleware_v2.py0get a skill by name. args: name: skill name. returns: loadedskill or none.STRING
HIGHpackages/dbgpt-core/src/dbgpt/agent/skill/agent.py0get a skill by name. args: name: skill name. returns: loadedskill or none.STRING
HIGHpackages/dbgpt-core/src/dbgpt/agent/skill/middleware.py0get a skill by name. args: name: skill name. returns: loadedskill or none.STRING
HIGHskills.py0list all loaded skills. returns: list of skill metadata.STRING
HIGH…ages/dbgpt-core/src/dbgpt/agent/skill/middleware_v2.py0list all loaded skills. returns: list of skill metadata.STRING
HIGHpackages/dbgpt-core/src/dbgpt/agent/skill/middleware.py0list all loaded skills. returns: list of skill metadata.STRING
HIGHskills.py0extract potential trigger keywords from description. args: description: skill description. returns: list of keywords.STRING
HIGHpackages/dbgpt-core/src/dbgpt/agent/skill/middleware.py0extract potential trigger keywords from description. args: description: skill description. returns: list of keywords.STRING
HIGH…es/dbgpt-core/src/dbgpt/agent/claude_skill/__init__.py0extract potential trigger keywords from description. args: description: skill description. returns: list of keywords.STRING
HIGHskills.py0load skills from all configured sources. returns: dictionary of loaded skills keyed by name.STRING
HIGH…ages/dbgpt-core/src/dbgpt/agent/skill/middleware_v2.py0load skills from all configured sources. returns: dictionary of loaded skills keyed by name.STRING
HIGHpackages/dbgpt-core/src/dbgpt/agent/skill/agent.py0load skills from all configured sources. returns: dictionary of loaded skills keyed by name.STRING
HIGHdocs/docs/agents/introduction/custom_agents.md0i want to summarize advantages of nuclear power according to the following content. nuclear power in space is the use ofSTRING
HIGH…tent-docs/current/agents/introduction/custom_agents.md0i want to summarize advantages of nuclear power according to the following content. nuclear power in space is the use ofSTRING
HIGH…amples/agents/single_summary_agent_dialogue_example.py0i want to summarize advantages of nuclear power according to the following content. nuclear power in space is the use ofSTRING
HIGHdocs/docs/agents/introduction/conversation.md0\ {% if most_recent_memories %}\ most recent observations: {{ most_recent_memories }} {% endif %}\ {% if question %}\ quSTRING
HIGH…ntent-docs/current/agents/introduction/conversation.md0\ {% if most_recent_memories %}\ most recent observations: {{ most_recent_memories }} {% endif %}\ {% if question %}\ quSTRING
HIGHdocs/docs/agents/modules/memory/memory.md0\ {% if most_recent_memories %}\ most recent observations: {{ most_recent_memories }} {% endif %}\ {% if question %}\ quSTRING
HIGH…n-content-docs/current/agents/modules/memory/memory.md0\ {% if most_recent_memories %}\ most recent observations: {{ most_recent_memories }} {% endif %}\ {% if question %}\ quSTRING
HIGHdocs/docs/awel/cookbook/write_your_chat_database.md0please answer the user's question based on the database selected by the user and some \ of the available table structureSTRING
HIGH…docs/current/awel/cookbook/write_your_chat_database.md0please answer the user's question based on the database selected by the user and some \ of the available table structureSTRING
HIGHexamples/sdk/chat_data_with_awel.py0please answer the user's question based on the database selected by the user and some \ of the available table structureSTRING
HIGH…ckages/dbgpt-app/src/dbgpt_app/operators/datasource.py0please answer the user's question based on the database selected by the user and some \ of the available table structureSTRING
HIGH…app/src/dbgpt_app/scene/chat_db/auto_execute/prompt.py0please answer the user's question based on the database selected by the user and some \ of the available table structureSTRING
HIGHdocs/docs/cookbook/agents/data_manus_application.md0initialize excel2tableaction with list of file paths.STRING
HIGH…docs/current/cookbook/agents/data_manus_application.md0initialize excel2tableaction with list of file paths.STRING
HIGH…t-core/src/dbgpt/agent/expand/actions/insert_action.py0initialize excel2tableaction with list of file paths.STRING
HIGH…ples/agents/retrieve_summary_agent_dialogue_example.py0agents: single agents about codeassistantagent? examples: execute the following command in the terminal: set env params.STRING
HIGHexamples/agents/mcp_agent_dialogue_example.py0agents: single agents about codeassistantagent? examples: execute the following command in the terminal: set env params.STRING
HIGHexamples/agents/plugin_agent_dialogue_example.py0agents: single agents about codeassistantagent? examples: execute the following command in the terminal: set env params.STRING
HIGH…amples/agents/single_summary_agent_dialogue_example.py0agents: single agents about codeassistantagent? examples: execute the following command in the terminal: set env params.STRING
HIGHexamples/agents/sql_agent_dialogue_example.py0agents: single agents about codeassistantagent? examples: execute the following command in the terminal: set env params.STRING
HIGHexamples/agents/single_agent_dialogue_example.py0agents: single agents about codeassistantagent? examples: execute the following command in the terminal: set env params.STRING
HIGHexamples/agents/sandbox_code_agent_example.py0verify whether the current execution results meet the target expectations.STRING
HIGH…pt-core/src/dbgpt/agent/expand/code_assistant_agent.py0verify whether the current execution results meet the target expectations.STRING
HIGH…pt-core/src/dbgpt/agent/expand/data_scientist_agent.py0verify whether the current execution results meet the target expectations.STRING
HIGHexamples/awel/simple_nl_schema_sql_chart_example.py0create a temporary database connection for testing.STRING
HIGHexamples/rag/simple_dbschema_retriever_example.py0create a temporary database connection for testing.STRING
HIGHexamples/rag/db_schema_rag_example.py0create a temporary database connection for testing.STRING
HIGHexamples/sdk/simple_sdk_llm_sql_example.py0create a temporary database connection for testing.STRING
HIGH…xt/src/dbgpt_ext/rag/tests/test_embedding_assembler.py0create a temporary database connection for testing.STRING
HIGH…kages/dbgpt-ext/src/dbgpt_ext/datasource/conn_neo4j.py0return whether the connector is a graph database connector.STRING
HIGH…ges/dbgpt-ext/src/dbgpt_ext/datasource/conn_tugraph.py0return whether the connector is a graph database connector.STRING
HIGHpackages/dbgpt-core/src/dbgpt/datasource/base.py0return whether the connector is a graph database connector.STRING
HIGH…gpt-ext/src/dbgpt_ext/datasource/rdbms/conn_vertica.py0get table comment. args: table_name (str): table name returns: comment: dict, which contains text: optional[str], eg:["tSTRING
HIGHpackages/dbgpt-core/src/dbgpt/datasource/rdbms/base.py0get table comment. args: table_name (str): table name returns: comment: dict, which contains text: optional[str], eg:["tSTRING
HIGH…-ext/src/dbgpt_ext/datasource/rdbms/conn_clickhouse.py0get table comment. args: table_name (str): table name returns: comment: dict, which contains text: optional[str], eg:["tSTRING
HIGH…kages/dbgpt-ext/src/dbgpt_ext/rag/embeddings/tongyi.py0compute query embeddings using a siliconflow embedding model. args: text: the text to embed. returns: embeddings for theSTRING
HIGH…kages/dbgpt-ext/src/dbgpt_ext/rag/embeddings/ollama.py0compute query embeddings using a siliconflow embedding model. args: text: the text to embed. returns: embeddings for theSTRING
HIGH…kages/dbgpt-core/src/dbgpt/rag/embedding/embeddings.py0compute query embeddings using a siliconflow embedding model. args: text: the text to embed. returns: embeddings for theSTRING
HIGH…/dbgpt-ext/src/dbgpt_ext/rag/embeddings/siliconflow.py0compute query embeddings using a siliconflow embedding model. args: text: the text to embed. returns: embeddings for theSTRING
HIGHpackages/dbgpt-ext/src/dbgpt_ext/rag/embeddings/jina.py0get the embeddings for a list of texts. args: texts (documents): a list of texts to get embeddings for. returns: embeddeSTRING
HIGH…kages/dbgpt-ext/src/dbgpt_ext/rag/embeddings/ollama.py0get the embeddings for a list of texts. args: texts (documents): a list of texts to get embeddings for. returns: embeddeSTRING
HIGH…kages/dbgpt-core/src/dbgpt/rag/embedding/embeddings.py0get the embeddings for a list of texts. args: texts (documents): a list of texts to get embeddings for. returns: embeddeSTRING
HIGH…bgpt-ext/src/dbgpt_ext/rag/operators/process_branch.py0branch the intent detection result to different tasks.STRING
HIGH…/dbgpt-core/src/dbgpt/experimental/intent/operators.py0branch the intent detection result to different tasks.STRING
HIGH…-core/src/dbgpt/agent/core/plan/awel/agent_operator.py0branch the intent detection result to different tasks.STRING
HIGHpackages/dbgpt-ext/src/dbgpt_ext/rag/retriever/bm25.py0async retrieve knowledge chunks. args: query (str): query text filters: (optional[metadatafilters]) metadata filters. reSTRING
HIGH…ages/dbgpt-ext/src/dbgpt_ext/rag/retriever/doc_tree.py0async retrieve knowledge chunks. args: query (str): query text filters: (optional[metadatafilters]) metadata filters. reSTRING
245 more matches not shown…
Decorative Section Separators328 hits · 1138 pts
SeverityFileLineSnippetContext
MEDIUMweb/locales/zh/common.ts614 // ════════ 定时任务 ════════COMMENT
MEDIUMweb/locales/en/common.ts613 // ════════ Scheduled tasks ════════COMMENT
MEDIUMweb/utils/react-sse-parser.ts69// ── Human-in-the-loop: question events ──────────────────────────────────────COMMENT
MEDIUMscripts/install/install.sh2# ╔════════════════════════════════════════════════════════════════════════════╗COMMENT
MEDIUMscripts/install/install.sh23# ╚════════════════════════════════════════════════════════════════════════════╝COMMENT
MEDIUMscripts/install/install.sh26# ── Resolve script location (works for both local and curl|bash) ─────────────COMMENT
MEDIUMscripts/install/install.sh39# ── Source helper libs ────────────────────────────────────────────────────────COMMENT
MEDIUMscripts/install/install.sh59# ── Default values ────────────────────────────────────────────────────────────COMMENT
MEDIUMscripts/install/install.sh70# ── Usage ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMscripts/install/install.sh132# ── Argument parsing ──────────────────────────────────────────────────────────COMMENT
MEDIUMscripts/install/install.sh185# ── Steps ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMscripts/install/install.sh459# ── Main ──────────────────────────────────────────────────────────────────────COMMENT
MEDIUMscripts/install/lib/common.sh5# ── Colors ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMscripts/install/lib/common.sh13# ── Logging ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMscripts/install/lib/common.sh56# ── Command helpers ───────────────────────────────────────────────────────────COMMENT
MEDIUMscripts/install/lib/common.sh76# ── Interactive helpers ───────────────────────────────────────────────────────COMMENT
MEDIUMscripts/install/lib/profiles.sh8# ── Validation ────────────────────────────────────────────────────────────────COMMENT
MEDIUMscripts/install/lib/profiles.sh23# ── Extras mapping ────────────────────────────────────────────────────────────COMMENT
MEDIUMscripts/install/lib/profiles.sh101# ── Environment variable name for API key ─────────────────────────────────────COMMENT
MEDIUM…ge/vector_store/tests/test_valkey_store_integration.py69# ---------------------------------------------------------------------------COMMENT
MEDIUM…ge/vector_store/tests/test_valkey_store_integration.py71# ---------------------------------------------------------------------------COMMENT
MEDIUM…ge/vector_store/tests/test_valkey_store_integration.py144# ---------------------------------------------------------------------------COMMENT
MEDIUM…ge/vector_store/tests/test_valkey_store_integration.py146# ---------------------------------------------------------------------------COMMENT
MEDIUM…ge/vector_store/tests/test_valkey_store_integration.py164# ---------------------------------------------------------------------------COMMENT
MEDIUM…ge/vector_store/tests/test_valkey_store_integration.py166# ---------------------------------------------------------------------------COMMENT
MEDIUM…ge/vector_store/tests/test_valkey_store_integration.py200# ---------------------------------------------------------------------------COMMENT
MEDIUM…ge/vector_store/tests/test_valkey_store_integration.py202# ---------------------------------------------------------------------------COMMENT
MEDIUM…ge/vector_store/tests/test_valkey_store_integration.py287# ---------------------------------------------------------------------------COMMENT
MEDIUM…ge/vector_store/tests/test_valkey_store_integration.py289# ---------------------------------------------------------------------------COMMENT
MEDIUM…ge/vector_store/tests/test_valkey_store_integration.py324# ---------------------------------------------------------------------------COMMENT
MEDIUM…ge/vector_store/tests/test_valkey_store_integration.py326# ---------------------------------------------------------------------------COMMENT
MEDIUM…ge/vector_store/tests/test_valkey_store_integration.py351# ---------------------------------------------------------------------------COMMENT
MEDIUM…ge/vector_store/tests/test_valkey_store_integration.py353# ---------------------------------------------------------------------------COMMENT
MEDIUM…ge/vector_store/tests/test_valkey_store_integration.py388# ---------------------------------------------------------------------------COMMENT
MEDIUM…ge/vector_store/tests/test_valkey_store_integration.py390# ---------------------------------------------------------------------------COMMENT
MEDIUM…ge/vector_store/tests/test_valkey_store_integration.py411# ---------------------------------------------------------------------------COMMENT
MEDIUM…ge/vector_store/tests/test_valkey_store_integration.py413# ---------------------------------------------------------------------------COMMENT
MEDIUM…ge/vector_store/tests/test_valkey_store_integration.py437# ---------------------------------------------------------------------------COMMENT
MEDIUM…ge/vector_store/tests/test_valkey_store_integration.py439# ---------------------------------------------------------------------------COMMENT
MEDIUM…ge/vector_store/tests/test_valkey_store_integration.py531# ---------------------------------------------------------------------------COMMENT
MEDIUM…ge/vector_store/tests/test_valkey_store_integration.py533# ---------------------------------------------------------------------------COMMENT
MEDIUM…ge/vector_store/tests/test_valkey_store_integration.py582# ---------------------------------------------------------------------------COMMENT
MEDIUM…ge/vector_store/tests/test_valkey_store_integration.py584# ---------------------------------------------------------------------------COMMENT
MEDIUM…ge/vector_store/tests/test_valkey_store_integration.py641# ---------------------------------------------------------------------------COMMENT
MEDIUM…ge/vector_store/tests/test_valkey_store_integration.py643# ---------------------------------------------------------------------------COMMENT
MEDIUM…ge/vector_store/tests/test_valkey_store_integration.py100# ---------------------------------------------------------------------------COMMENT
MEDIUM…ge/vector_store/tests/test_valkey_store_integration.py102# ---------------------------------------------------------------------------COMMENT
MEDIUM…pt_ext/storage/vector_store/tests/test_valkey_store.py134# ---------------------------------------------------------------------------COMMENT
MEDIUM…pt_ext/storage/vector_store/tests/test_valkey_store.py136# ---------------------------------------------------------------------------COMMENT
MEDIUM…pt_ext/storage/vector_store/tests/test_valkey_store.py444# ---------------------------------------------------------------------------COMMENT
MEDIUM…pt_ext/storage/vector_store/tests/test_valkey_store.py446# ---------------------------------------------------------------------------COMMENT
MEDIUM…pt_ext/storage/vector_store/tests/test_valkey_store.py25# ---------------------------------------------------------------------------COMMENT
MEDIUM…pt_ext/storage/vector_store/tests/test_valkey_store.py27# ---------------------------------------------------------------------------COMMENT
MEDIUM…pt_ext/storage/vector_store/tests/test_valkey_store.py83# ---------------------------------------------------------------------------COMMENT
MEDIUM…pt_ext/storage/vector_store/tests/test_valkey_store.py85# ---------------------------------------------------------------------------COMMENT
MEDIUM…pt_ext/storage/vector_store/tests/test_valkey_store.py177# ---------------------------------------------------------------------------COMMENT
MEDIUM…pt_ext/storage/vector_store/tests/test_valkey_store.py179# ---------------------------------------------------------------------------COMMENT
MEDIUM…pt_ext/storage/vector_store/tests/test_valkey_store.py341# ---------------------------------------------------------------------------COMMENT
MEDIUM…pt_ext/storage/vector_store/tests/test_valkey_store.py343# ---------------------------------------------------------------------------COMMENT
MEDIUM…pt_ext/storage/vector_store/tests/test_valkey_store.py500# ---------------------------------------------------------------------------COMMENT
268 more matches not shown…
Hyper-Verbose Identifiers1025 hits · 1058 pts
SeverityFileLineSnippetContext
LOWskills.py316def _list_skills_from_directory(source_path: str) -> List[SkillMetadata]:CODE
LOWskills.py507 def create_skills_prompt_section(self) -> str:STRING
LOWinstall_help.py535def _interactive_install_guide(extras: Dict[str, Any], use_china_mirror: bool = False):CODE
LOWweb/utils/dom.ts4export function findParentElementByClassName(element: Element | null, className: string): Element | null {CODE
LOWweb/components/chat/opencode-agent-content.tsx39function parseContextToMessageParts(context: string): { parts: MessagePart[]; finalContent: string } {CODE
LOWweb/components/model/model-form.tsx58 function updateProvidersByWorkerType(workerType: string) {CODE
LOW…tration_tests/benchmark/test_benchmark_data_manager.py14def test_get_usable_table_names():CODE
LOWtests/intetration_tests/datasource/test_conn_doris.py36def test_get_usable_table_names(db):STRING
LOW…s/intetration_tests/datasource/test_conn_clickhouse.py67def test_get_columns_comments(db):STRING
LOW…ts/intetration_tests/datasource/test_conn_starrocks.py41def test_get_table_info_with_table(db):CODE
LOWtests/intetration_tests/datasource/test_conn_mysql.py45def test_get_usable_table_names(db):STRING
LOWtests/intetration_tests/datasource/test_conn_mysql.py55def test_get_table_info_with_table(db):STRING
LOWtests/intetration_tests/datasource/test_conn_oracle.py50def test_get_usable_table_names(db):STRING
LOW…ts/intetration_tests/graph_store/test_tugraph_store.py25def test_insert_and_get_triplets(tugraph_store_adapter: TuGraphStoreAdapter):CODE
LOWtests/unit_tests/test_plugins.py19def test_inspect_zip_for_modules():CODE
LOWtests/unit_tests/test_plugins.py29def mock_config_denylist_allowlist_check():CODE
LOWtests/unit_tests/test_plugins.py41def test_denylist_allowlist_check_denylist(CODE
LOWtests/unit_tests/test_plugins.py51def test_denylist_allowlist_check_allowlist(CODE
LOWtests/unit_tests/test_plugins.py59def test_denylist_allowlist_check_user_input_yes(CODE
LOWtests/unit_tests/test_plugins.py69def test_denylist_allowlist_check_user_input_no(CODE
LOWtests/unit_tests/test_plugins.py79def test_denylist_allowlist_check_user_input_invalid(CODE
LOWtests/unit_tests/test_plugins.py90def mock_config_openai_plugin():CODE
LOWtests/unit_tests/test_plugins.py112def mock_config_generic_plugin():CODE
LOWtests/unit_tests/test_plugins.py126def test_scan_plugins_generic(mock_config_generic_plugin):CODE
LOWtests/unit_tests/agent/test_claude_skill.py13def test_filebasedskill_parses_frontmatter(tmp_path):CODE
LOWtests/unit_tests/agent/test_claude_skill.py60def test_skillloader_converts_filebasedskill_to_core_skill(tmp_path):STRING
LOWdocs/docs/cookbook/agents/data_manus_application.md114def read_excel_headers_and_data(file_path: str) -> Tuple[List[str], List[Dict[str, Any]]]:CODE
LOWdocs/docs/cookbook/rag/graph_rag_app_develop.md139def __create_community_kg_connector():CODE
LOW…docs/current/cookbook/agents/data_manus_application.md98def read_excel_headers_and_data(file_path: str) -> Tuple[List[str], List[Dict[str, Any]]]:CODE
LOW…ent-docs/current/cookbook/rag/graph_rag_app_develop.md139def __create_community_kg_connector():CODE
LOWexamples/agents/db_create_example.py25def read_excel_headers_and_data(CODE
LOW…amples/agents/single_summary_agent_dialogue_example.py24async def summary_example_with_success():CODE
LOW…amples/agents/single_summary_agent_dialogue_example.py84async def summary_example_with_faliure():STRING
LOWexamples/agents/auto_search_agent_example.py22def read_excel_headers_and_data(CODE
LOWexamples/agents/data_manus_example.py30def read_excel_headers_and_data(CODE
LOWexamples/awel/simple_nl_schema_sql_chart_example.py65def _create_temporary_connection():CODE
LOWexamples/awel/data_analyst_assistant.py162def load_or_save_prompt_template(pm: PromptManager):CODE
LOWexamples/rag/graph_rag_example.py60def __create_naive_kg_connector():CODE
LOWexamples/rag/graph_rag_example.py71def __create_community_kg_connector():CODE
LOWexamples/rag/simple_dbschema_retriever_example.py54def _create_temporary_connection():CODE
LOWexamples/rag/db_schema_rag_example.py22def _create_temporary_connection():CODE
LOWexamples/sdk/simple_sdk_llm_sql_example.py24def _create_temporary_connection():CODE
LOWscripts/update_version_all.py185 def collect_version_py_changes(self, file_path: Path, package_name: str) -> bool:CODE
LOWpackages/dbgpt-client/src/dbgpt_client/_cli.py307def _parse_and_check_local_dag(CODE
LOWpackages/dbgpt-client/src/dbgpt_client/knowledge.py13def _space_model_from_create_response(data: Any, request: SpaceModel) -> SpaceModel:CODE
LOWpackages/dbgpt-client/src/dbgpt_client/schema.py68 def to_common_llm_http_request_body(self) -> CommonLLMHttpRequestBody:CODE
LOW…/dbgpt-client/src/dbgpt_client/tests/test_knowledge.py26async def test_create_space_accepts_primary_key_response():CODE
LOW…/dbgpt-client/src/dbgpt_client/tests/test_knowledge.py48async def test_create_space_preserves_mapping_response():CODE
LOWpackages/dbgpt-ext/src/dbgpt_ext/datasource/schema.py62 def parse_file_db_name_from_path(db_type: str, local_db_path: str):CODE
LOW…dbgpt-ext/src/dbgpt_ext/datasource/rdbms/conn_doris.py356 def _build_table_info_for_doris(self, table_name: str) -> str:CODE
LOW…dbgpt-ext/src/dbgpt_ext/datasource/rdbms/conn_doris.py425 def _get_sample_rows_for_doris(self, table_name: str) -> str:CODE
LOW…dbgpt-ext/src/dbgpt_ext/datasource/rdbms/conn_doris.py465 def _get_indexes_info_for_doris(self, table_name: str) -> str:CODE
LOW…c/dbgpt_ext/datasource/rdbms/tests/test_conn_sqlite.py34def test_get_table_info_with_table(db):CODE
LOW…c/dbgpt_ext/datasource/rdbms/tests/test_conn_sqlite.py62def test_get_show_create_table(db):CODE
LOW…c/dbgpt_ext/datasource/rdbms/tests/test_conn_sqlite.py87def test_get_table_info_no_throw(db):CODE
LOW…c/dbgpt_ext/datasource/rdbms/tests/test_conn_sqlite.py105def test_convert_sql_write_to_select(db):CODE
LOW…xt/src/dbgpt_ext/rag/tests/test_embedding_assembler.py58def mock_table_vector_store_connector():CODE
LOW…xt/src/dbgpt_ext/rag/tests/test_db_struct_assembler.py17def mock_table_vector_store_connector():CODE
LOW…xt/src/dbgpt_ext/rag/tests/test_db_struct_assembler.py34def mock_field_vector_store_connector():CODE
LOW…xt/src/dbgpt_ext/rag/tests/test_db_struct_assembler.py99def test_retrieve_with_mocked_summary(dbstruct_retriever):CODE
965 more matches not shown…
Excessive Try-Catch Wrapping861 hits · 871 pts
SeverityFileLineSnippetContext
LOWskills.py81 except Exception as e:CODE
LOWskills.py263 except Exception as e:CODE
LOWskills.py354 except Exception as e:CODE
LOWinstall_help.py251 except Exception as e:CODE
LOWinstall_help.py314 except Exception as e:CODE
LOW…tration_tests/benchmark/test_benchmark_data_manager.py26 except Exception as e:CODE
LOW…tration_tests/benchmark/test_benchmark_data_manager.py62 except Exception as e:CODE
LOW…tration_tests/benchmark/test_benchmark_data_manager.py103 except Exception:CODE
LOW…tration_tests/benchmark/test_benchmark_data_manager.py118 except Exception:CODE
LOW…tration_tests/benchmark/test_benchmark_data_manager.py147 except Exception:CODE
LOW…tration_tests/benchmark/test_benchmark_data_manager.py163 except Exception as e:CODE
LOW…tration_tests/benchmark/test_benchmark_data_manager.py170 except Exception:CODE
MEDIUM…tration_tests/benchmark/test_benchmark_data_manager.py59def execute_query():CODE
LOWtests/intetration_tests/datasource/test_conn_oracle.py46 except Exception:STRING
LOWdocs/docs/agents/introduction/custom_agents.md255 except Exception:CODE
LOWdocs/docs/agents/introduction/custom_agents.md324 except Exception:CODE
LOWdocs/docs/agents/introduction/custom_agents.md612 except Exception:STRING
LOWdocs/docs/agents/introduction/custom_agents.md667 except Exception:STRING
LOWdocs/docs/cookbook/agents/data_manus_application.md128 except Exception as e:CODE
LOW…tent-docs/current/agents/introduction/custom_agents.md255 except Exception:CODE
LOW…tent-docs/current/agents/introduction/custom_agents.md324 except Exception:CODE
LOW…tent-docs/current/agents/introduction/custom_agents.md612 except Exception:STRING
LOW…tent-docs/current/agents/introduction/custom_agents.md667 except Exception:STRING
LOW…docs/current/cookbook/agents/data_manus_application.md112 except Exception as e:CODE
LOWexamples/excel/excel_analysis.py29 except Exception as e:CODE
LOWexamples/excel/excel_analysis.py49 except Exception as e:CODE
LOWexamples/agents/db_create_example.py38 except Exception as e:CODE
LOWexamples/agents/auto_search_agent_example.py46 except Exception as e:CODE
LOWexamples/agents/skill_agent_example.py49 except Exception as e:CODE
LOWexamples/agents/skill_agent_example.py99 except Exception:CODE
LOWexamples/agents/skill_agent_example.py164 except Exception as e:CODE
LOWexamples/agents/skill_agent_example.py204 except Exception:CODE
LOWexamples/agents/data_manus_example.py58 except Exception as e:CODE
LOWexamples/agents/sandbox_code_agent_example.py111 except Exception as e:CODE
LOWexamples/agents/excel_data_agent.py79 except Exception as e:CODE
LOWexamples/agents/excel_data_agent.py118 except Exception:CODE
LOWexamples/agents/excel_data_agent.py128 except Exception as e:CODE
LOWexamples/agents/excel_data_agent.py173 except Exception as e:CODE
LOWexamples/awel/awel_flow_ui_components.py1185 except Exception as e:CODE
MEDIUMscripts/update_version_all.py85 print("Error: Invalid version format. Examples of valid formats:")CODE
MEDIUMscripts/update_version_all.py102 print("Error: Could not find the project configuration file")CODE
LOWscripts/update_version_all.py152 except Exception as e:CODE
MEDIUMscripts/update_version_all.py153 print(f"Error analyzing {file_path}: {str(e)}")CODE
LOWscripts/update_version_all.py181 except Exception as e:CODE
MEDIUMscripts/update_version_all.py182 print(f"Error analyzing {file_path}: {str(e)}")CODE
LOWscripts/update_version_all.py211 except Exception as e:CODE
MEDIUMscripts/update_version_all.py212 print(f"Error analyzing {file_path}: {str(e)}")CODE
LOWscripts/update_version_all.py237 except Exception as e:CODE
MEDIUMscripts/update_version_all.py238 print(f"Error analyzing {file_path}: {str(e)}")CODE
LOWscripts/update_version_all.py279 except Exception as e:CODE
LOWscripts/update_version_all.py334 except Exception as e:CODE
LOWpackages/dbgpt-client/src/dbgpt_client/client.py291 except Exception as e:CODE
LOWpackages/dbgpt-client/src/dbgpt_client/client.py300 except Exception as e:CODE
LOWpackages/dbgpt-client/src/dbgpt_client/evaluation.py55 except Exception as e:CODE
LOWpackages/dbgpt-client/src/dbgpt_client/_cli.py249 except Exception as e:CODE
LOWpackages/dbgpt-client/src/dbgpt_client/_cli.py273 except Exception as e:CODE
LOWpackages/dbgpt-client/src/dbgpt_client/_cli.py298 except Exception as e:CODE
LOWpackages/dbgpt-client/src/dbgpt_client/_cli.py385 except Exception as e:CODE
LOWpackages/dbgpt-client/src/dbgpt_client/_cli.py391 except Exception as e:CODE
LOWpackages/dbgpt-client/src/dbgpt_client/_cli.py406 except Exception as e:CODE
801 more matches not shown…
Unused Imports829 hits · 792 pts
SeverityFileLineSnippetContext
LOWskills.py11CODE
LOWdocker/examples/dashboard/test_case_sqlite_data.py1CODE
LOWdocker/examples/dashboard/test_case_sqlite_data.py4CODE
LOW…tration_tests/benchmark/test_benchmark_data_manager.py4CODE
LOW…tration_tests/benchmark/test_benchmark_data_manager.py6CODE
LOW…s/intetration_tests/datasource/test_conn_clickhouse.py19CODE
LOW…s/intetration_tests/datasource/test_conn_clickhouse.py19CODE
LOWtests/unit_tests/test_plugins.py5CODE
LOWtests/unit_tests/agent/test_claude_skill.py1CODE
LOWtests/unit_tests/agent/test_claude_skill.py4CODE
LOWexamples/test_skills_middleware.py18CODE
LOWexamples/agents/db_create_example.py2CODE
LOWexamples/agents/db_create_example.py3CODE
LOWexamples/agents/db_create_example.py6CODE
LOWexamples/agents/db_create_example.py11CODE
LOWexamples/agents/db_create_example.py12CODE
LOWexamples/agents/mcp_agent_dialogue_example.py22CODE
LOWexamples/agents/auto_search_agent_example.py2CODE
LOWexamples/agents/auto_search_agent_example.py3CODE
LOWexamples/agents/auto_search_agent_example.py4CODE
LOWexamples/agents/auto_search_agent_example.py6CODE
LOWexamples/agents/auto_search_agent_example.py11CODE
LOWexamples/agents/auto_search_agent_example.py13CODE
LOWexamples/agents/auto_search_agent_example.py15CODE
LOWexamples/agents/react_agent_example.py20CODE
LOWexamples/agents/skill_agent_example.py18CODE
LOWexamples/agents/skill_agent_example.py23CODE
LOWexamples/agents/data_manus_example.py15CODE
LOWexamples/agents/data_manus_example.py20CODE
LOWexamples/agents/excel_data_agent.py28CODE
LOWexamples/agents/excel_data_agent.py32CODE
LOW…pt-acc-flash-attn/src/dbgpt_acc_flash_attn/__init__.py3CODE
LOW…elerator/dbgpt-acc-auto/src/dbgpt_acc_auto/__init__.py1CODE
LOWpackages/dbgpt-client/src/dbgpt_client/__init__.py3CODE
LOWpackages/dbgpt-client/src/dbgpt_client/__init__.py4CODE
LOWpackages/dbgpt-client/src/dbgpt_client/__init__.py4CODE
LOWpackages/dbgpt-ext/src/dbgpt_ext/__init__.py1CODE
LOWpackages/dbgpt-ext/src/dbgpt_ext/datasource/__init__.py5CODE
LOW…t-ext/src/dbgpt_ext/datasource/rdbms/conn_starrocks.py18CODE
LOW…source/rdbms/dialect/vertica/dialect_vertica_python.py3CODE
LOW…source/rdbms/dialect/vertica/dialect_vertica_python.py3CODE
LOW…source/rdbms/dialect/vertica/dialect_vertica_python.py3CODE
LOW…src/dbgpt_ext/datasource/rdbms/dialect/vertica/base.py3CODE
LOW…src/dbgpt_ext/datasource/rdbms/dialect/vertica/base.py3CODE
LOW…src/dbgpt_ext/datasource/rdbms/dialect/vertica/base.py3CODE
LOW…src/dbgpt_ext/datasource/rdbms/dialect/vertica/base.py3CODE
LOW…src/dbgpt_ext/datasource/rdbms/dialect/vertica/base.py3CODE
LOWpackages/dbgpt-ext/src/dbgpt_ext/rag/__init__.py1CODE
LOW…ges/dbgpt-ext/src/dbgpt_ext/rag/embeddings/__init__.py3CODE
LOW…ges/dbgpt-ext/src/dbgpt_ext/rag/embeddings/__init__.py4CODE
LOW…ges/dbgpt-ext/src/dbgpt_ext/rag/embeddings/__init__.py5CODE
LOW…ges/dbgpt-ext/src/dbgpt_ext/rag/embeddings/__init__.py6CODE
LOW…ges/dbgpt-ext/src/dbgpt_ext/rag/embeddings/__init__.py7CODE
LOW…ges/dbgpt-ext/src/dbgpt_ext/rag/embeddings/__init__.py8CODE
LOW…ages/dbgpt-ext/src/dbgpt_ext/rag/assembler/__init__.py6CODE
LOW…ages/dbgpt-ext/src/dbgpt_ext/rag/assembler/__init__.py7CODE
LOW…ages/dbgpt-ext/src/dbgpt_ext/rag/assembler/__init__.py8CODE
LOW…ages/dbgpt-ext/src/dbgpt_ext/rag/assembler/__init__.py9CODE
LOW…ages/dbgpt-ext/src/dbgpt_ext/rag/operators/__init__.py3CODE
LOW…ages/dbgpt-ext/src/dbgpt_ext/rag/operators/__init__.py4CODE
769 more matches not shown…
TODO Padding233 hits · 499 pts
SeverityFileLineSnippetContext
LOW…dbgpt-serve/src/dbgpt_serve/file/tests/test_service.py56 # TODO: implement your test caseCOMMENT
LOW…dbgpt-serve/src/dbgpt_serve/file/tests/test_service.py63 # TODO: implement your test caseCOMMENT
LOW…dbgpt-serve/src/dbgpt_serve/file/tests/test_service.py68 # TODO: implement your test caseCOMMENT
LOW…dbgpt-serve/src/dbgpt_serve/file/tests/test_service.py73 # TODO: implement your test caseCOMMENT
LOW…dbgpt-serve/src/dbgpt_serve/file/tests/test_service.py78 # TODO: implement your test caseCOMMENT
LOW…dbgpt-serve/src/dbgpt_serve/file/tests/test_service.py83 # TODO: implement your test caseCOMMENT
LOW…gpt-serve/src/dbgpt_serve/file/tests/test_endpoints.py106 # TODO: implement your test caseCOMMENT
LOW…gpt-serve/src/dbgpt_serve/file/tests/test_endpoints.py115 # TODO: implement your test caseCOMMENT
LOW…gpt-serve/src/dbgpt_serve/file/tests/test_endpoints.py124 # TODO: implement your test caseCOMMENT
LOW…/dbgpt-serve/src/dbgpt_serve/file/tests/test_models.py44 # TODO: implement your test caseCOMMENT
LOW…/dbgpt-serve/src/dbgpt_serve/file/tests/test_models.py49 # TODO: implement your test caseCOMMENT
LOW…/dbgpt-serve/src/dbgpt_serve/file/tests/test_models.py54 # TODO: implement your test caseCOMMENT
LOW…/dbgpt-serve/src/dbgpt_serve/file/tests/test_models.py59 # TODO: implement your test caseCOMMENT
LOW…/dbgpt-serve/src/dbgpt_serve/file/tests/test_models.py64 # TODO: implement your test caseCOMMENT
LOW…/dbgpt-serve/src/dbgpt_serve/file/tests/test_models.py69 # TODO: implement your test caseCOMMENT
LOW…/dbgpt-serve/src/dbgpt_serve/file/tests/test_models.py74 # TODO: implement your test caseCOMMENT
LOW…/dbgpt-serve/src/dbgpt_serve/file/tests/test_models.py79 # TODO: implement your test caseCOMMENT
LOW…/dbgpt-serve/src/dbgpt_serve/file/tests/test_models.py84 # TODO: implement your test caseCOMMENT
LOW…/dbgpt-serve/src/dbgpt_serve/file/tests/test_models.py89 # TODO: implement your test caseCOMMENT
LOW…/dbgpt-serve/src/dbgpt_serve/file/tests/test_models.py94 # TODO: implement your test caseCOMMENT
LOW…/dbgpt-serve/src/dbgpt_serve/file/tests/test_models.py99 # TODO: implement your test caseCOMMENT
LOW…ate_files/default_serve_template/tests/test_service.py49 # TODO: implement your test caseCOMMENT
LOW…ate_files/default_serve_template/tests/test_service.py56 # TODO: implement your test caseCOMMENT
LOW…ate_files/default_serve_template/tests/test_service.py61 # TODO: implement your test caseCOMMENT
LOW…ate_files/default_serve_template/tests/test_service.py66 # TODO: implement your test caseCOMMENT
LOW…ate_files/default_serve_template/tests/test_service.py71 # TODO: implement your test caseCOMMENT
LOW…ate_files/default_serve_template/tests/test_service.py76 # TODO: implement your test caseCOMMENT
LOW…e_files/default_serve_template/tests/test_endpoints.py106 # TODO: implement your test caseCOMMENT
LOW…e_files/default_serve_template/tests/test_endpoints.py115 # TODO: implement your test caseCOMMENT
LOW…e_files/default_serve_template/tests/test_endpoints.py124 # TODO: implement your test caseCOMMENT
LOW…late_files/default_serve_template/tests/test_models.py51 # TODO: implement your test caseCOMMENT
LOW…late_files/default_serve_template/tests/test_models.py56 # TODO: implement your test caseCOMMENT
LOW…late_files/default_serve_template/tests/test_models.py61 # TODO: implement your test caseCOMMENT
LOW…late_files/default_serve_template/tests/test_models.py66 # TODO: implement your test caseCOMMENT
LOW…late_files/default_serve_template/tests/test_models.py71 # TODO: implement your test caseCOMMENT
LOW…late_files/default_serve_template/tests/test_models.py76 # TODO: implement your test caseCOMMENT
LOW…late_files/default_serve_template/tests/test_models.py83 # TODO: implement your test caseCOMMENT
LOW…late_files/default_serve_template/tests/test_models.py89 # TODO: implement your test caseCOMMENT
LOW…late_files/default_serve_template/tests/test_models.py94 # TODO: implement your test caseCOMMENT
LOW…late_files/default_serve_template/tests/test_models.py99 # TODO: implement your test caseCOMMENT
LOW…late_files/default_serve_template/tests/test_models.py104 # TODO: implement your test caseCOMMENT
LOW…mplate_files/default_serve_template/service/service.py55 # TODO: implement your own logic hereCOMMENT
LOW…mplate_files/default_serve_template/service/service.py71 # TODO: implement your own logic hereCOMMENT
LOW…mplate_files/default_serve_template/service/service.py83 # TODO: implement your own logic hereCOMMENT
LOW…mplate_files/default_serve_template/service/service.py99 # TODO: implement your own logic hereCOMMENT
LOW…serve/src/dbgpt_serve/agent/chat/tests/test_service.py49 # TODO: implement your test caseCOMMENT
LOW…serve/src/dbgpt_serve/agent/chat/tests/test_service.py56 # TODO: implement your test caseCOMMENT
LOW…serve/src/dbgpt_serve/agent/chat/tests/test_service.py61 # TODO: implement your test caseCOMMENT
LOW…serve/src/dbgpt_serve/agent/chat/tests/test_service.py66 # TODO: implement your test caseCOMMENT
LOW…serve/src/dbgpt_serve/agent/chat/tests/test_service.py71 # TODO: implement your test caseCOMMENT
LOW…serve/src/dbgpt_serve/agent/chat/tests/test_service.py76 # TODO: implement your test caseCOMMENT
LOW…rve/src/dbgpt_serve/agent/chat/tests/test_endpoints.py106 # TODO: implement your test caseCOMMENT
LOW…rve/src/dbgpt_serve/agent/chat/tests/test_endpoints.py115 # TODO: implement your test caseCOMMENT
LOW…rve/src/dbgpt_serve/agent/chat/tests/test_endpoints.py124 # TODO: implement your test caseCOMMENT
LOW…-serve/src/dbgpt_serve/agent/chat/tests/test_models.py51 # TODO: implement your test caseCOMMENT
LOW…-serve/src/dbgpt_serve/agent/chat/tests/test_models.py56 # TODO: implement your test caseCOMMENT
LOW…-serve/src/dbgpt_serve/agent/chat/tests/test_models.py61 # TODO: implement your test caseCOMMENT
LOW…-serve/src/dbgpt_serve/agent/chat/tests/test_models.py66 # TODO: implement your test caseCOMMENT
LOW…-serve/src/dbgpt_serve/agent/chat/tests/test_models.py71 # TODO: implement your test caseCOMMENT
LOW…-serve/src/dbgpt_serve/agent/chat/tests/test_models.py76 # TODO: implement your test caseCOMMENT
173 more matches not shown…
Docstring Block Structure91 hits · 455 pts
SeverityFileLineSnippetContext
HIGH…tration_tests/benchmark/test_benchmark_data_manager.py33 执行数据库查询,支持超时控制 Args: _connector: 数据库连接器 sql: SQL查询语句 params: 查询参数 timeout: 超时时STRING
HIGHpackages/dbgpt-client/src/dbgpt_client/client.py62Create the client. Args: api_base: Optional[str], a full URL for the DB-GPT API. DeSTRING
HIGHpackages/dbgpt-client/src/dbgpt_client/client.py131 Chat Completion. Args: model: str, The model name. messages: Union[str, List[sSTRING
HIGHpackages/dbgpt-client/src/dbgpt_client/client.py206 Chat Stream Completion. Args: model: str, The model name. messages: Union[str,STRING
HIGHpackages/dbgpt-client/src/dbgpt_client/flow.py32Update a flow. Args: client (Client): The dbgpt client. flow (FlowPanel): The flow panel. ReturSTRING
HIGHpackages/dbgpt-client/src/dbgpt_client/flow.py54 Delete a flow. Args: client (Client): The dbgpt client. flow_id (str): The flow id. ReturnSTRING
HIGHpackages/dbgpt-client/src/dbgpt_client/flow.py77 Get a flow. Args: client (Client): The dbgpt client. flow_id (str): The flow id. Returns: STRING
HIGHpackages/dbgpt-client/src/dbgpt_client/flow.py102 List flows. Args: client (Client): The dbgpt client. name (str): The name of the flow. STRING
HIGHpackages/dbgpt-client/src/dbgpt_client/flow.py133 Run flows. Args: client (Client): The dbgpt client. name (str): The name of the flow. STRING
HIGHpackages/dbgpt-client/src/dbgpt_client/datasource.py35Update a datasource. Args: client (Client): The dbgpt client. datasource (DatasourceModel): The datSTRING
HIGHpackages/dbgpt-client/src/dbgpt_client/datasource.py57 Delete a datasource. Args: client (Client): The dbgpt client. datasource_id (str): The datasouSTRING
HIGHpackages/dbgpt-client/src/dbgpt_client/datasource.py80 Get a datasource. Args: client (Client): The dbgpt client. datasource_id (str): The datasourceSTRING
HIGHpackages/dbgpt-client/src/dbgpt_client/datasource.py103 List datasources. Args: client (Client): The dbgpt client. Returns: List[DatasourceModel]:STRING
HIGHpackages/dbgpt-client/src/dbgpt_client/app.py12Get an app. Args: client (Client): The dbgpt client. app_id (str): The app id. Returns: STRING
HIGHpackages/dbgpt-client/src/dbgpt_client/app.py34List apps. Args: client (Client): The dbgpt client. Returns: List[AppModel]: The list of app moSTRING
HIGHpackages/dbgpt-client/src/dbgpt_client/knowledge.py22Create a new space. Args: client (Client): The dbgpt client. space_model (SpaceModel): The space moSTRING
HIGHpackages/dbgpt-client/src/dbgpt_client/knowledge.py44Update a document. Args: client (Client): The dbgpt client. space_model (SpaceModel): The space modSTRING
HIGHpackages/dbgpt-client/src/dbgpt_client/knowledge.py66Delete a space. Args: client (Client): The dbgpt client. space_id (str): The space id. Returns:STRING
HIGHpackages/dbgpt-client/src/dbgpt_client/knowledge.py88Get a document. Args: client (Client): The dbgpt client. space_id (str): The space id. Returns:STRING
HIGHpackages/dbgpt-client/src/dbgpt_client/knowledge.py110List spaces. Args: client (Client): The dbgpt client. Returns: List[SpaceModel]: The list of spSTRING
HIGHpackages/dbgpt-client/src/dbgpt_client/knowledge.py150Delete a document. Args: client (Client): The dbgpt client. document_id (str): The document id. STRING
HIGHpackages/dbgpt-client/src/dbgpt_client/knowledge.py172Get a document. Args: client (Client): The dbgpt client. document_id (str): The document id. ReSTRING
HIGHpackages/dbgpt-client/src/dbgpt_client/knowledge.py211Sync document. Args: client (Client): The dbgpt client. sync_model (SyncModel): The sync model. STRING
HIGH…bgpt-ext/src/dbgpt_ext/datasource/rdbms/conn_sqlite.py257Create a temporary SQLite database with a temporary file. Examples: .. code-block:: python STRING
HIGH…-ext/src/dbgpt_ext/datasource/rdbms/conn_clickhouse.py403Query data from clickhouse. Args: query (str): sql string fetch (str, optional): "one" STRING
HIGHpackages/dbgpt-ext/src/dbgpt_ext/rag/assembler/bm25.py133Load document full text into elasticsearch from path. Args: knowledge: (Knowledge) Knowledge datasoSTRING
HIGHpackages/dbgpt-ext/src/dbgpt_ext/rag/assembler/bm25.py167Load document full text into elasticsearch from path. Args: knowledge: (Knowledge) Knowledge datasoSTRING
HIGH…ges/dbgpt-ext/src/dbgpt_ext/rag/assembler/embedding.py73Load document embedding into vector store from path. Args: knowledge: (Knowledge) Knowledge datasouSTRING
HIGH…ges/dbgpt-ext/src/dbgpt_ext/rag/assembler/embedding.py105Load document embedding into vector store from path. Args: knowledge: (Knowledge) Knowledge datasouSTRING
HIGH…ges/dbgpt-ext/src/dbgpt_ext/rag/assembler/db_schema.py87Load document embedding into vector store from path. Args: connector: (BaseConnector) BaseConnectorSTRING
HIGH…kages/dbgpt-ext/src/dbgpt_ext/rag/assembler/summary.py95Load document embedding into vector store from path. Args: knowledge: (Knowledge) Knowledge datasouSTRING
HIGHpackages/dbgpt-ext/src/dbgpt_ext/rag/knowledge/doc.py350Parse PlcBtePapx structure (2.8.6) Args: data: Raw bytes of PlcBtePapx structure. Returns:STRING
HIGHpackages/dbgpt-ext/src/dbgpt_ext/rag/knowledge/doc.py395Read PapxFkp structure from WordDocument stream. Args: pn: Page number (PnFkpPapx), offset = pn * 5STRING
HIGH…ext/src/dbgpt_ext/storage/vector_store/chroma_store.py268Delete vector name and clean up resources. Args: vector_name (str): Name of the vector to delete STRING
HIGHpackages/dbgpt-core/src/dbgpt/datasource/rdbms/base.py488Execute a SQL command and return the results with optional timeout. Only for query command. Args: STRING
HIGHpackages/dbgpt-core/src/dbgpt/datasource/rdbms/base.py682Convert SQL write command to a SELECT command. SQL classification processing author:xiangh8 ExSTRING
HIGH…kages/dbgpt-core/src/dbgpt/core/interface/variables.py766Parse the variable string. Examples: .. code-block:: python cases = [ { STRING
HIGH…kages/dbgpt-core/src/dbgpt/core/interface/variables.py958Build a variable string from the given dictionary. Args: variable_dict (Dict[str, Any]): The dictionary conSTRING
HIGHpackages/dbgpt-core/src/dbgpt/core/interface/llm.py598Convert the messages to the common format(like OpenAI API). This function will move last user message to the enSTRING
HIGHpackages/dbgpt-core/src/dbgpt/core/interface/llm.py951Try to move the last user message to the end of the list. Examples: >>> from typing import List STRING
HIGHpackages/dbgpt-core/src/dbgpt/core/interface/llm.py1137Get the model metadata. Args: model(str): The model name. Returns: ModelMetadaSTRING
HIGHpackages/dbgpt-core/src/dbgpt/core/interface/message.py413Cover to common message format. Convert to common message format(e.g. OpenAI message format) and hugginSTRING
HIGHpackages/dbgpt-core/src/dbgpt/core/interface/message.py633Parse model messages. Parse model messages to extract the user prompt, system messages, and a history of converSTRING
HIGH…src/dbgpt/core/interface/operators/message_operator.py414Return a filtered list of messages. Filters the messages to keep only the specified starting and/or ending rounSTRING
HIGH…t-core/src/dbgpt/core/awel/trigger/iterator_trigger.py156Trigger the dag with iterator data, with optional caching. If the dag is a streaming call, return the list of aSTRING
HIGH…-core/src/dbgpt/core/awel/operators/common_operator.py156Run the mapping operation on the DAG context's inputs. This method applies the mapping function to the input coSTRING
HIGH…kages/dbgpt-core/src/dbgpt/core/awel/util/chat_util.py356Parse the SSE data. Just keep the data part. Examples: .. code-block:: python from dbgpt.STRING
HIGH…kages/dbgpt-core/src/dbgpt/core/awel/task/task_impl.py307Read data with task context. Args: task_ctx (TaskContext): The task context. Returns: STRING
HIGH…es/dbgpt-core/src/dbgpt/core/awel/flow/flow_factory.py946Topological sort. Returns the topological order of the nodes and checks if the graph has at least one cycle. STRING
HIGHpackages/dbgpt-core/src/dbgpt/core/awel/flow/base.py78Get the type class by the type name. Args: type_name (str): The type name. Returns: Type[Any]:STRING
HIGHpackages/dbgpt-core/src/dbgpt/util/executor_utils.py39Run a potentially blocking function within an executor. Args: executor (Executor): The concurrent.futures.ESTRING
HIGHpackages/dbgpt-core/src/dbgpt/util/parameter_utils.py84Create an instance of the dataclass from a dictionary. Args: data: A dictionary containing values fSTRING
HIGHpackages/dbgpt-core/src/dbgpt/util/chat_util.py73Transform data to Server-Sent Events format. Args: data: Data to transform to SSE format Returns: STRING
HIGHpackages/dbgpt-core/src/dbgpt/util/config_utils.py37Get config value by key with specific type Args: key (str): The key of config type_classSTRING
HIGHpackages/dbgpt-core/src/dbgpt/util/configure/manager.py196Resolve environment variables in a string value. Args: value: String value that may contain environment varSTRING
HIGHpackages/dbgpt-core/src/dbgpt/util/configure/manager.py311Create a ConfigurationManager instance by loading configuration from a TOML file. Args: filSTRING
HIGHpackages/dbgpt-core/src/dbgpt/util/configure/manager.py330Check if a configuration key exists. Args: key: Dot-notation key to access nested configuration (e.STRING
HIGHpackages/dbgpt-core/src/dbgpt/util/configure/manager.py355Get a configuration value using a dot-notation key. Args: key: Dot-notation key to access nested coSTRING
HIGHpackages/dbgpt-core/src/dbgpt/util/configure/manager.py381Resolve environment variables in a string value. Args: value: String value that may contain environSTRING
HIGHpackages/dbgpt-core/src/dbgpt/util/configure/manager.py451Convert a value to the specified type, supporting complex types and env vars. This method handles various type STRING
31 more matches not shown…
Modern Structural Boilerplate420 hits · 420 pts
SeverityFileLineSnippetContext
LOWskills.py15logger = logging.getLogger(__name__)CODE
LOWexamples/agents/sandbox_code_agent_example.py40logger = logging.getLogger(__name__)CODE
LOWexamples/agents/excel_data_agent.py41logger = logging.getLogger(__name__)CODE
LOWexamples/awel/awel_flow_ui_components.py28logger = logging.getLogger(__name__)CODE
LOWexamples/awel/simple_chat_history_example.py85logger = logging.getLogger(__name__)CODE
LOWexamples/awel/simple_llm_client_example.py53logger = logging.getLogger(__name__)CODE
LOWexamples/awel/data_analyst_assistant.py76logger = logging.getLogger(__name__)CODE
LOWscripts/update_version_all.py339 def _update_toml_file(self, file_path: Path) -> None:CODE
LOWscripts/update_version_all.py387 def _update_setup_py_file(self, file_path: Path) -> None:CODE
LOWscripts/update_version_all.py401 def _update_version_py_file(self, file_path: Path) -> None:CODE
LOWscripts/update_version_all.py414 def _update_json_file(self, file_path: Path) -> None:CODE
LOW…kages/dbgpt-ext/src/dbgpt_ext/datasource/conn_spark.py18logger = logging.getLogger(__name__)CODE
LOW…gpt-ext/src/dbgpt_ext/datasource/rdbms/conn_vertica.py20logger = logging.getLogger(__name__)CODE
LOW…bgpt-ext/src/dbgpt_ext/datasource/rdbms/conn_sqlite.py20logger = logging.getLogger(__name__)CODE
LOW…-ext/src/dbgpt_ext/datasource/rdbms/conn_clickhouse.py21logger = logging.getLogger(__name__)CODE
LOW…t-ext/src/dbgpt_ext/datasource/rdbms/conn_oceanbase.py15logger = logging.getLogger(__name__)CODE
LOW…gpt-ext/src/dbgpt_ext/datasource/rdbms/conn_gaussdb.py19logger = logging.getLogger(__name__)CODE
LOW…-ext/src/dbgpt_ext/datasource/rdbms/conn_postgresql.py19logger = logging.getLogger(__name__)CODE
LOW…tasource/rdbms/dialect/starrocks/sqlalchemy/dialect.py25logger = logging.getLogger(__name__)CODE
LOW…asource/rdbms/dialect/starrocks/sqlalchemy/datatype.py11logger = logging.getLogger(__name__)CODE
LOW…ages/dbgpt-ext/src/dbgpt_ext/rag/assembler/__init__.py11__all__ = [CODE
LOW…ages/dbgpt-ext/src/dbgpt_ext/rag/operators/__init__.py23__all__ = [CODE
LOW…/src/dbgpt_ext/rag/transformer/community_summarizer.py8logger = logging.getLogger(__name__)CODE
LOW…t-ext/src/dbgpt_ext/rag/transformer/graph_extractor.py13logger = logging.getLogger(__name__)CODE
LOW…pt-ext/src/dbgpt_ext/rag/transformer/graph_embedder.py10logger = logging.getLogger(__name__)CODE
LOW…es/dbgpt-ext/src/dbgpt_ext/rag/transformer/text2gql.py50logger = logging.getLogger(__name__)STRING
LOW…pt-ext/src/dbgpt_ext/rag/transformer/local_text2gql.py22logger = logging.getLogger(__name__)STRING
LOW…gpt-ext/src/dbgpt_ext/rag/transformer/text_embedder.py9logger = logging.getLogger(__name__)CODE
LOW…ext/src/dbgpt_ext/rag/transformer/triplet_extractor.py10logger = logging.getLogger(__name__)CODE
LOW…ages/dbgpt-ext/src/dbgpt_ext/rag/retriever/doc_tree.py12logger = logging.getLogger(__name__)CODE
LOW…ages/dbgpt-ext/src/dbgpt_ext/rag/retriever/__init__.py5__all__ = [CODE
LOW…ges/dbgpt-ext/src/dbgpt_ext/rag/retriever/db_schema.py22logger = logging.getLogger(__name__)CODE
LOW…t_ext/rag/retriever/graph_retriever/graph_retriever.py29logger = logging.getLogger(__name__)CODE
LOW…riever/graph_retriever/vector_based_graph_retriever.py9logger = logging.getLogger(__name__)CODE
LOW…/retriever/graph_retriever/document_graph_retriever.py9logger = logging.getLogger(__name__)CODE
LOW…etriever/graph_retriever/text_based_graph_retriever.py10logger = logging.getLogger(__name__)CODE
LOW…xt/src/dbgpt_ext/rag/retriever/graph_retriever/base.py9logger = logging.getLogger(__name__)CODE
LOW…iever/graph_retriever/keyword_based_graph_retriever.py9logger = logging.getLogger(__name__)CODE
LOW…ages/dbgpt-ext/src/dbgpt_ext/rag/knowledge/__init__.py42__all__ = [CODE
LOW…ckages/dbgpt-ext/src/dbgpt_ext/rag/summary/__init__.py5__all__ = [CODE
LOW…dbgpt_ext/storage/knowledge_graph/community_summary.py27logger = logging.getLogger(__name__)CODE
LOW…c/dbgpt_ext/storage/knowledge_graph/knowledge_graph.py22logger = logging.getLogger(__name__)CODE
LOW…-ext/src/dbgpt_ext/storage/knowledge_graph/open_spg.py8logger = logging.getLogger(__name__)CODE
LOW…t/storage/knowledge_graph/community/community_store.py17logger = logging.getLogger(__name__)CODE
LOW…orage/knowledge_graph/community/community_metastore.py14logger = logging.getLogger(__name__)CODE
LOW…dbgpt_ext/storage/knowledge_graph/community/factory.py16logger = logging.getLogger(__name__)CODE
LOW…age/knowledge_graph/community/tugraph_store_adapter.py24logger = logging.getLogger(__name__)CODE
LOW…orage/knowledge_graph/community/neo4j_store_adapter.py22logger = logging.getLogger(__name__)CODE
LOW…ge/knowledge_graph/community/memgraph_store_adapter.py25logger = logging.getLogger(__name__)CODE
LOW…rc/dbgpt_ext/storage/knowledge_graph/community/base.py19logger = logging.getLogger(__name__)CODE
LOW…/dbgpt-ext/src/dbgpt_ext/storage/cache/valkey_cache.py22logger = logging.getLogger(__name__)CODE
LOW…/dbgpt-ext/src/dbgpt_ext/storage/file/s3/s3_storage.py18logger = logging.getLogger(__name__)CODE
LOW…bgpt-ext/src/dbgpt_ext/storage/file/oss/oss_storage.py16logger = logging.getLogger(__name__)CODE
LOW…bgpt-ext/src/dbgpt_ext/storage/graph_store/__init__.py41__all__ = ["Memory", "TuGraph", "Neo4j"]CODE
LOW…dbgpt-ext/src/dbgpt_ext/storage/graph_store/factory.py9logger = logging.getLogger(__name__)CODE
LOW…t-ext/src/dbgpt_ext/storage/graph_store/neo4j_store.py13logger = logging.getLogger(__name__)CODE
LOW…ext/src/dbgpt_ext/storage/graph_store/tugraph_store.py16logger = logging.getLogger(__name__)CODE
LOW…ext/src/dbgpt_ext/storage/vector_store/qdrant_store.py29logger = logging.getLogger(__name__)CODE
LOW…ext/src/dbgpt_ext/storage/vector_store/chroma_store.py23logger = logging.getLogger(__name__)CODE
LOW…ext/src/dbgpt_ext/storage/vector_store/valkey_store.py35logger = logging.getLogger(__name__)CODE
360 more matches not shown…
Deep Nesting359 hits · 336 pts
SeverityFileLineSnippetContext
LOWinstall_help.py234CODE
LOWinstall_help.py415CODE
LOWinstall_help.py453CODE
LOWinstall_help.py191CODE
LOW…tration_tests/benchmark/test_benchmark_data_manager.py84CODE
LOW…tration_tests/benchmark/test_benchmark_data_manager.py122CODE
LOW…tration_tests/benchmark/test_benchmark_data_manager.py131CODE
LOWexamples/agents/custom_tool_agent_example.py20CODE
LOWexamples/agents/react_agent_example.py34CODE
LOWexamples/agents/excel_data_agent.py54CODE
LOWexamples/agents/excel_data_agent.py133CODE
LOWscripts/update_version_all.py316CODE
LOWpackages/dbgpt-client/src/dbgpt_client/client.py259CODE
LOWpackages/dbgpt-client/src/dbgpt_client/_cli.py500CODE
LOWpackages/dbgpt-client/src/dbgpt_client/_cli.py542CODE
LOW…kages/dbgpt-ext/src/dbgpt_ext/datasource/conn_neo4j.py161CODE
LOW…gpt-ext/src/dbgpt_ext/datasource/rdbms/conn_gaussdb.py218CODE
LOW…-ext/src/dbgpt_ext/datasource/rdbms/conn_postgresql.py215CODE
LOW…dbgpt-ext/src/dbgpt_ext/datasource/rdbms/conn_doris.py356CODE
LOW…t-ext/src/dbgpt_ext/rag/transformer/graph_extractor.py141CODE
LOW…pt-ext/src/dbgpt_ext/rag/transformer/graph_embedder.py16CODE
LOW…ext/src/dbgpt_ext/rag/transformer/triplet_extractor.py51CODE
LOW…ages/dbgpt-ext/src/dbgpt_ext/rag/retriever/doc_tree.py290CODE
LOWpackages/dbgpt-ext/src/dbgpt_ext/rag/knowledge/pdf.py51CODE
LOWpackages/dbgpt-ext/src/dbgpt_ext/rag/knowledge/pdf.py130CODE
LOWpackages/dbgpt-ext/src/dbgpt_ext/rag/knowledge/pdf.py298CODE
LOWpackages/dbgpt-ext/src/dbgpt_ext/rag/knowledge/pdf.py353CODE
LOWpackages/dbgpt-ext/src/dbgpt_ext/rag/knowledge/excel.py119CODE
LOWpackages/dbgpt-ext/src/dbgpt_ext/rag/knowledge/csv.py47CODE
LOWpackages/dbgpt-ext/src/dbgpt_ext/rag/knowledge/pptx.py42CODE
LOWpackages/dbgpt-ext/src/dbgpt_ext/storage/__init__.py109CODE
LOW…dbgpt_ext/storage/knowledge_graph/community_summary.py369CODE
LOW…dbgpt_ext/storage/knowledge_graph/community_summary.py419CODE
LOW…age/knowledge_graph/community/tugraph_store_adapter.py546CODE
LOW…age/knowledge_graph/community/tugraph_store_adapter.py929CODE
LOW…age/knowledge_graph/community/tugraph_store_adapter.py999CODE
LOW…orage/knowledge_graph/community/neo4j_store_adapter.py577CODE
LOW…orage/knowledge_graph/community/neo4j_store_adapter.py637CODE
LOW…orage/knowledge_graph/community/neo4j_store_adapter.py680CODE
LOW…orage/knowledge_graph/community/neo4j_store_adapter.py726CODE
LOW…t/storage/cache/tests/test_valkey_cache_integration.py81CODE
LOW…/dbgpt-ext/src/dbgpt_ext/storage/file/s3/s3_storage.py168CODE
LOW…ext/src/dbgpt_ext/storage/vector_store/qdrant_store.py367CODE
LOW…ext/src/dbgpt_ext/storage/vector_store/chroma_store.py445CODE
LOW…ext/src/dbgpt_ext/storage/vector_store/valkey_store.py446CODE
LOW…ext/src/dbgpt_ext/storage/vector_store/valkey_store.py572CODE
LOW…ext/src/dbgpt_ext/storage/vector_store/valkey_store.py611CODE
LOW…ext/src/dbgpt_ext/storage/vector_store/valkey_store.py703CODE
LOW…/src/dbgpt_ext/storage/vector_store/oceanbase_store.py499CODE
LOW…ge/vector_store/tests/test_valkey_store_integration.py36CODE
LOW…ge/vector_store/tests/test_valkey_store_integration.py43CODE
LOW…t-ext/src/dbgpt_ext/storage/full_text/elasticsearch.py290CODE
LOW…gpt_sandbox/sandbox/execution_layer/nerdctl_runtime.py165CODE
LOW…dbgpt_sandbox/sandbox/execution_layer/local_runtime.py205CODE
LOW…bgpt_sandbox/sandbox/execution_layer/docker_runtime.py115CODE
LOW…bgpt_sandbox/sandbox/execution_layer/podman_runtime.py177CODE
LOWpackages/dbgpt-core/src/dbgpt/datasource/rdbms/base.py446CODE
LOWpackages/dbgpt-core/src/dbgpt/datasource/rdbms/base.py481CODE
LOWpackages/dbgpt-core/src/dbgpt/datasource/rdbms/base.py620CODE
LOWpackages/dbgpt-core/src/dbgpt/datasource/rdbms/base.py515CODE
299 more matches not shown…
Fake / Example Data293 hits · 281 pts
SeverityFileLineSnippetContext
LOW…ges/dbgpt-ext/src/dbgpt_ext/rag/operators/db_schema.py78 def assemble(self, dummy_value) -> List[Chunk]:CODE
LOW…ges/dbgpt-ext/src/dbgpt_ext/rag/operators/db_schema.py82 dummy_value: Dummy value, not used.STRING
LOW…bgpt-ext/src/dbgpt_ext/rag/knowledge/tests/test_csv.py21 {"id": "1", "name": "John Doe", "age": "30"},CODE
LOW…-core/src/dbgpt/core/awel/operators/common_operator.py359 def dummy_input(cls, dummy_data: Any = SKIP_DATA, **kwargs) -> "InputOperator[OUT]":CODE
LOW…-core/src/dbgpt/core/awel/operators/common_operator.py361 return cls(input_source=InputSource.from_data(dummy_data), **kwargs)CODE
LOW…pt-core/src/dbgpt/util/tests/configure/test_manager.py1359 "full_name": "John Doe",CODE
LOW…pt-core/src/dbgpt/util/tests/configure/test_manager.py1367 assert user_config.name == "John Doe"CODE
LOW…pt-core/src/dbgpt/util/tests/configure/test_manager.py1375 "name": "John Doe",CODE
LOW…pt-core/src/dbgpt/util/tests/configure/test_manager.py1382 assert user_config.name == "John Doe"CODE
LOW…pt-core/src/dbgpt/util/tests/configure/test_manager.py1407 assert profile_config.address.street == "123 Main St"CODE
LOW…pt-core/src/dbgpt/util/tests/configure/test_manager.py1414 "full_name": "John Doe",CODE
LOW…pt-core/src/dbgpt/util/tests/configure/test_manager.py1422 assert user_config.name == "John Doe"CODE
LOW…pt-core/src/dbgpt/util/tests/configure/test_manager.py1447 "full_name": "John Doe",CODE
LOW…es/dbgpt-core/src/dbgpt/storage/metadata/db_manager.py209 user = User(name="John Doe")STRING
LOW…es/dbgpt-core/src/dbgpt/storage/metadata/db_manager.py215 user = session.query(User).filter_by(name="John Doe").first()STRING
LOW…re/src/dbgpt/storage/metadata/tests/test_db_manager.py58 user = User(name="John Doe")CODE
LOW…re/src/dbgpt/storage/metadata/tests/test_db_manager.py63 user = session.query(User).filter_by(name="John Doe").first()CODE
LOW…re/src/dbgpt/storage/metadata/tests/test_db_manager.py68 user = session.query(User).filter_by(name="John Doe").first()CODE
LOW…re/src/dbgpt/storage/metadata/tests/test_db_manager.py74 session.query(User).filter(User.name == "John Doe").first() is NoneCODE
LOW…re/src/dbgpt/storage/metadata/tests/test_db_manager.py147 user = User(name="John Doe")CODE
LOW…re/src/dbgpt/storage/metadata/tests/test_db_manager.py150 assert session.query(User).filter_by(name="John Doe").first() is not NoneCODE
LOW…re/src/dbgpt/storage/metadata/tests/test_db_manager.py152 assert session.query(User).filter_by(name="John Doe").first() is NoneCODE
LOW…re/src/dbgpt/storage/metadata/tests/test_db_manager.py156 User.name == "John Doe"CODE
LOW…re/src/dbgpt/storage/metadata/tests/test_db_manager.py157 ).first().name == "John Doe"CODE
LOW…lates/zh/embedded-knowledge-process-flow-template.json46 "placeholder": null,CODE
LOW…lates/zh/embedded-knowledge-process-flow-template.json132 "placeholder": null,CODE
LOW…lates/zh/embedded-knowledge-process-flow-template.json151 "placeholder": null,CODE
LOW…lates/zh/embedded-knowledge-process-flow-template.json170 "placeholder": null,CODE
LOW…lates/zh/embedded-knowledge-process-flow-template.json269 "placeholder": null,CODE
LOW…lates/zh/embedded-knowledge-process-flow-template.json288 "placeholder": null,CODE
LOW…lates/zh/embedded-knowledge-process-flow-template.json307 "placeholder": null,CODE
LOW…lates/zh/embedded-knowledge-process-flow-template.json367 "placeholder": null,CODE
LOW…lates/zh/embedded-knowledge-process-flow-template.json451 "placeholder": null,CODE
LOW…lates/zh/embedded-knowledge-process-flow-template.json470 "placeholder": null,CODE
LOW…lates/zh/embedded-knowledge-process-flow-template.json573 "placeholder": null,CODE
LOW…lates/zh/embedded-knowledge-process-flow-template.json592 "placeholder": null,CODE
LOW…lates/zh/embedded-knowledge-process-flow-template.json624 "placeholder": null,CODE
LOW…lates/zh/embedded-knowledge-process-flow-template.json643 "placeholder": null,CODE
LOW…lates/zh/embedded-knowledge-process-flow-template.json662 "placeholder": null,CODE
LOW…lates/zh/embedded-knowledge-process-flow-template.json681 "placeholder": null,CODE
LOW…emplates/zh/hybrid-knowldge-process-flow-template.json46 "placeholder": null,CODE
LOW…emplates/zh/hybrid-knowldge-process-flow-template.json132 "placeholder": null,CODE
LOW…emplates/zh/hybrid-knowldge-process-flow-template.json151 "placeholder": null,CODE
LOW…emplates/zh/hybrid-knowldge-process-flow-template.json170 "placeholder": null,CODE
LOW…emplates/zh/hybrid-knowldge-process-flow-template.json189 "placeholder": null,CODE
LOW…emplates/zh/hybrid-knowldge-process-flow-template.json247 "placeholder": null,CODE
LOW…emplates/zh/hybrid-knowldge-process-flow-template.json331 "placeholder": null,CODE
LOW…emplates/zh/hybrid-knowldge-process-flow-template.json350 "placeholder": null,CODE
LOW…emplates/zh/hybrid-knowldge-process-flow-template.json455 "placeholder": null,CODE
LOW…emplates/zh/hybrid-knowldge-process-flow-template.json474 "placeholder": null,CODE
LOW…emplates/zh/hybrid-knowldge-process-flow-template.json493 "placeholder": null,CODE
LOW…emplates/zh/hybrid-knowldge-process-flow-template.json512 "placeholder": null,CODE
LOW…emplates/zh/hybrid-knowldge-process-flow-template.json659 "placeholder": null,CODE
LOW…emplates/zh/hybrid-knowldge-process-flow-template.json745 "placeholder": null,CODE
LOW…emplates/zh/hybrid-knowldge-process-flow-template.json764 "placeholder": null,CODE
LOW…emplates/zh/hybrid-knowldge-process-flow-template.json783 "placeholder": null,CODE
LOW…emplates/zh/hybrid-knowldge-process-flow-template.json843 "placeholder": null,CODE
LOW…emplates/zh/hybrid-knowldge-process-flow-template.json862 "placeholder": null,CODE
LOW…emplates/zh/hybrid-knowldge-process-flow-template.json881 "placeholder": null,CODE
LOW…emplates/zh/hybrid-knowldge-process-flow-template.json1056 "placeholder": null,CODE
233 more matches not shown…
Modern AI Meta-Vocabulary82 hits · 237 pts
SeverityFileLineSnippetContext
MEDIUMDB-GPT-Core-Code-Design-Analysis.md60# AWEL provides declarative workflow orchestrationCOMMENT
MEDIUMDB-GPT-Core-Code-Design-Analysis.md111├── rag/ # RAG pipeline servicesCODE
MEDIUMDB-GPT-Core-Code-Design-Analysis.md243├── rag/ # RAG implementation extensionsCODE
MEDIUMdocs/docs/changelog/Released_V0.5.0.md133- Release of dbgpt core sdk (#1092): Now includes AWEL operator orchestration capabilities.CODE
MEDIUMdocs/docs/awel/awel.md37### Example of API-RAGCOMMENT
MEDIUMdocs/docs/awel/cookbook/first_rag_with_awel.md1# RAG With AWELCOMMENT
MEDIUMdocs/docs/awel/cookbook/first_rag_with_awel.md196### Create RAG ProgramCOMMENT
MEDIUMdocs/docs/awel/cookbook/first_rag_with_awel.md265# Here we use the openai embedding model, if you want to use other models, you canSTRING
MEDIUM…s/awel/cookbook/sql_awel_use_rag_and_schema_linking.md1# Use RAG and SchemaLinking Generate SQLCOMMENT
MEDIUMdocs/docs/cookbook/app/data_analysis_app_develop.md27## 1. Building a question answering assistant based on RAGCOMMENT
MEDIUMdocs/docs/cookbook/rag/graph_rag_app_develop.md1# Graph RAG User ManualCOMMENT
MEDIUMdocs/docs/cookbook/rag/graph_rag_app_develop.md416## Openai embedding model, See dbgpt/model/parameter.pyCOMMENT
MEDIUMdocs/docs/cookbook/rag/graph_rag_app_develop.md423## qwen embedding model, See dbgpt/model/parameter.pyCOMMENT
MEDIUMdocs/docs/cookbook/rag/graph_rag_app_develop.md428## qianfan embedding model, See dbgpt/model/parameter.pyCOMMENT
MEDIUMdocs/docs/cookbook/rag/keyword_rag_app_develop.md1# Keyword Search RAG User ManualCOMMENT
MEDIUMdocs/docs/cookbook/rag/keyword_rag_app_develop.md117### Chat Knowledge via Keyword RAGCOMMENT
MEDIUMdocs/docs/installation/integrations.md27# RAG Storage ProvidersCOMMENT
MEDIUMdocs/docs/installation/integrations.md37# Graph RAG Storage ProvidersCOMMENT
MEDIUMdocs/docs/installation/advanced_usage/More_proxyllms.md162name = "nomic-embed-text" # or any other embedding model in OllamaCODE
MEDIUM…ocs/installation/integrations/oceanbase_rag_install.md1# OceanBase Vector RAGCOMMENT
MEDIUMdocs/docs/installation/integrations/bm25_rag_install.md1# BM25 RAGCOMMENT
MEDIUM…s/docs/installation/integrations/milvus_rag_install.md1# Milvus RAGCOMMENT
MEDIUM…cs/docs/installation/integrations/graph_rag_install.md1# Graph RAGCOMMENT
MEDIUMdocs/docs/installation/model_service/stand_alone.md40# download embedding model, eg: text2vec-large-chineseCOMMENT
MEDIUMdocs/docs/installation/model_service/stand_alone.md64# # download embedding model, eg: glm-4-9b-chat orCOMMENT
MEDIUMdocs/docs/installation/model_service/stand_alone.md67# download embedding model, eg: text2vec-large-chineseCOMMENT
MEDIUMdocs/docs/getting-started/cli-quickstart.md377### Knowledge & RAGCOMMENT
MEDIUMdocs/docs/getting-started/cli-quickstart.md400# OpenAI + ChromaDB + RAG + MySQLCOMMENT
MEDIUMdocs/docs/getting-started/tools/awel-flow.md66## Example: Simple RAG workflowCOMMENT
MEDIUMdocs/docs/getting-started/providers/ollama.md49# Pull an embedding modelCOMMENT
MEDIUMdocs/docs/getting-started/concepts/rag.md6# RAG (Retrieval-Augmented Generation)COMMENT
MEDIUMdocs/docs/getting-started/concepts/rag.md10## How RAG worksCOMMENT
MEDIUMdocs/docs/getting-started/concepts/rag.md50## RAG pipelineCOMMENT
MEDIUMdocs/docs/getting-started/concepts/rag.md79## Quick start with RAGCOMMENT
MEDIUMdocs/docs/getting-started/concepts/architecture.md22│ ├── dbgpt-core/ # Core agent, memory, planning, RAG, model abstractionsCODE
MEDIUMdocs/docs/getting-started/concepts/architecture.md25│ ├── dbgpt-ext/ # Extensions: datasources, storage backends, RAG connectorsCODE
MEDIUMdocs/docs/application/awel.md30### Build Your RAG ApplicationCOMMENT
MEDIUMdocs/docs/application/advanced_tutorial/rag.md1# RAG Parameter AdjustmentCOMMENT
MEDIUMdocs/docs/modules/rag.md1# MS-RAGCOMMENT
MEDIUMdocs/docs/modules/rag.md204# Knowledge Graph RAGCOMMENT
MEDIUM…ugin-content-docs/current/changelog/Released_V0.5.0.md133- Release of dbgpt core sdk (#1092): Now includes AWEL operator orchestration capabilities.CODE
MEDIUM…CN/docusaurus-plugin-content-docs/current/awel/awel.md37### Example of API-RAGCOMMENT
MEDIUM…tent-docs/current/awel/cookbook/first_rag_with_awel.md1# RAG With AWELCOMMENT
MEDIUM…tent-docs/current/awel/cookbook/first_rag_with_awel.md196### Create RAG ProgramCOMMENT
MEDIUM…tent-docs/current/awel/cookbook/first_rag_with_awel.md265# Here we use the openai embedding model, if you want to use other models, you canSTRING
MEDIUM…t/awel/cookbook/sql_awel_use_rag_and_schema_linking.md1# Use RAG and SchemaLinking Generate SQLCOMMENT
MEDIUM…docs/current/cookbook/app/data_analysis_app_develop.md27## 1. Building a question answering assistant based on RAGCOMMENT
MEDIUM…ent-docs/current/cookbook/rag/graph_rag_app_develop.md1# Graph RAG User ManualCOMMENT
MEDIUM…ent-docs/current/cookbook/rag/graph_rag_app_develop.md416## Openai embedding model, See dbgpt/model/parameter.pyCOMMENT
MEDIUM…ent-docs/current/cookbook/rag/graph_rag_app_develop.md423## qwen embedding model, See dbgpt/model/parameter.pyCOMMENT
MEDIUM…ent-docs/current/cookbook/rag/graph_rag_app_develop.md428## qianfan embedding model, See dbgpt/model/parameter.pyCOMMENT
MEDIUM…t-docs/current/cookbook/rag/keyword_rag_app_develop.md1# Keyword Search RAG User ManualCOMMENT
MEDIUM…t-docs/current/cookbook/rag/keyword_rag_app_develop.md117### Chat Knowledge via Keyword RAGCOMMENT
MEDIUM…ugin-content-docs/current/installation/integrations.md22## RAG 存储提供方COMMENT
MEDIUM…ugin-content-docs/current/installation/integrations.md31## Graph RAG 存储提供方COMMENT
MEDIUM…/current/installation/advanced_usage/More_proxyllms.md162name = "nomic-embed-text" # or any other embedding model in OllamaCODE
MEDIUM…ent/installation/integrations/oceanbase_rag_install.md1# OceanBase Vector RAGCOMMENT
MEDIUM…/current/installation/integrations/bm25_rag_install.md1# BM25 RAGCOMMENT
MEDIUM…urrent/installation/integrations/milvus_rag_install.md1# Milvus RAGCOMMENT
MEDIUM…current/installation/integrations/graph_rag_install.md1# Graph RAGCOMMENT
22 more matches not shown…
Magic Placeholder Names36 hits · 162 pts
SeverityFileLineSnippetContext
HIGH…er/compose_examples/dbgpt-oceanbase-docker-compose.yml25 # - TONGYI_PROXY_API_KEY={your-api-key}COMMENT
HIGHdocs/docs/agents/modules/memory/short_term_memory.md83 api_key="{your_api_key}",CODE
HIGHdocs/docs/awel/cookbook/first_rag_with_awel.md60 api_key="{your_api_key}",CODE
HIGHdocs/docs/awel/cookbook/first_rag_with_awel.md190llm_client = OpenAILLMClient(api_base="http://localhost:8100/api/v1/", api_key="{your_api_key}")CODE
HIGHdocs/docs/cookbook/rag/graph_rag_app_develop.md96llm_client = OpenAILLMClient(api_base="http://localhost:8100/api/v1/", api_key="{your_api_key}")CODE
HIGHdocs/docs/cookbook/rag/graph_rag_app_develop.md426# proxy_tongyi_proxy_api_key={your-api-key}COMMENT
HIGHdocs/docs/cookbook/rag/graph_rag_app_develop.md431#proxy_qianfan_proxy_api_key={your-api-key}COMMENT
HIGHdocs/docs/getting-started/providers/index.md44api_key = "your-api-key"CODE
HIGHdocs/docs/getting-started/providers/index.md50api_key = "your-api-key"CODE
HIGH…ocs/current/agents/modules/memory/short_term_memory.md83 api_key="{your_api_key}",CODE
HIGH…tent-docs/current/awel/cookbook/first_rag_with_awel.md60 api_key="{your_api_key}",CODE
HIGH…tent-docs/current/awel/cookbook/first_rag_with_awel.md190llm_client = OpenAILLMClient(api_base="http://localhost:8100/api/v1/", api_key="{your_api_key}")CODE
HIGH…ent-docs/current/cookbook/rag/graph_rag_app_develop.md96llm_client = OpenAILLMClient(api_base="http://localhost:8100/api/v1/", api_key="{your_api_key}")CODE
HIGH…ent-docs/current/cookbook/rag/graph_rag_app_develop.md426# proxy_tongyi_proxy_api_key={your-api-key}COMMENT
HIGH…ent-docs/current/cookbook/rag/graph_rag_app_develop.md431#proxy_qianfan_proxy_api_key={your-api-key}COMMENT
HIGH…ontent-docs/current/getting-started/providers/index.md44api_key = "your-api-key"CODE
HIGH…ontent-docs/current/getting-started/providers/index.md50api_key = "your-api-key"CODE
HIGHexamples/rag/rag_embedding_api_example.py20 export API_SERVER_API_KEY="your_api_key"STRING
HIGHexamples/rag/doc_tree_retriever_example.py18 llm_client = DeepseekLLMClient(api_key="your_api_key")CODE
HIGH…kages/dbgpt-ext/src/dbgpt_ext/rag/assembler/summary.py22 OPEN_AI_KEY = "{your_api_key}"STRING
HIGH…kages/dbgpt-core/src/dbgpt/rag/embedding/embeddings.py600 api_key="your_api_key",STRING
HIGH…kages/dbgpt-core/src/dbgpt/rag/embedding/embeddings.py746 api_key="your_api_key",STRING
HIGH…bgpt-serve/src/dbgpt_serve/datasource/api/endpoints.py61 client_api_key = "your_api_key"STRING
HIGH…ages/dbgpt-serve/src/dbgpt_serve/file/api/endpoints.py67 client_api_key = "your_api_key"STRING
HIGH…template_files/default_serve_template/api/endpoints.py59 client_api_key = "your_api_key"STRING
HIGH…bgpt-serve/src/dbgpt_serve/agent/chat/api/endpoints.py59 client_api_key = "your_api_key"STRING
HIGH…kages/dbgpt-serve/src/dbgpt_serve/rag/api/endpoints.py73 client_api_key = "your_api_key"STRING
HIGH…/dbgpt-serve/src/dbgpt_serve/feedback/api/endpoints.py61 client_api_key = "your_api_key"STRING
HIGH…/dbgpt-serve/src/dbgpt_serve/evaluate/api/endpoints.py134 client_api_key = "your_api_key"STRING
HIGH…dbgpt-serve/src/dbgpt_serve/dbgpts/my/api/endpoints.py62 client_api_key = "your_api_key"STRING
HIGH…bgpt-serve/src/dbgpt_serve/dbgpts/hub/api/endpoints.py62 client_api_key = "your_api_key"STRING
HIGH…es/dbgpt-serve/src/dbgpt_serve/prompt/api/endpoints.py70 client_api_key = "your_api_key"STRING
HIGH…ges/dbgpt-serve/src/dbgpt_serve/model/api/endpoints.py88 client_api_key = "your_api_key"STRING
HIGH…ges/dbgpt-serve/src/dbgpt_serve/libro/api/endpoints.py59 client_api_key = "your_api_key"STRING
HIGH…pt-serve/src/dbgpt_serve/conversation/api/endpoints.py64 client_api_key = "your_api_key"STRING
HIGH…ages/dbgpt-serve/src/dbgpt_serve/flow/api/endpoints.py79 client_api_key = "your_api_key"STRING
Self-Referential Comments53 hits · 154 pts
SeverityFileLineSnippetContext
MEDIUMexamples/agents/skill_agent_example.py132 # Create an LLM client similar to react_agent_example so the example canCOMMENT
MEDIUMexamples/agents/skill_agent_example.py169 # Create a ToolPack from the calculate tool and bind it as the agent's resourceCOMMENT
MEDIUMexamples/agents/skill_agent_example.py191 # Create a user proxy to interact with the agent (same pattern as react example)COMMENT
MEDIUMpackages/dbgpt-client/src/dbgpt_client/__init__.py1"""This module is the client of the dbgpt package."""STRING
MEDIUM…age/knowledge_graph/community/tugraph_store_adapter.py37 # Create the graphCOMMENT
MEDIUM…age/knowledge_graph/community/tugraph_store_adapter.py437 # Create the graph schemaCOMMENT
MEDIUM…age/knowledge_graph/community/tugraph_store_adapter.py470 # Create the graph label for document vertexCOMMENT
MEDIUM…age/knowledge_graph/community/tugraph_store_adapter.py480 # Create the graph label for chunk vertexCOMMENT
MEDIUM…age/knowledge_graph/community/tugraph_store_adapter.py495 # Create the graph label for entity vertexCOMMENT
MEDIUM…age/knowledge_graph/community/tugraph_store_adapter.py512 # Create the graph label for relation edgeCOMMENT
MEDIUM…age/knowledge_graph/community/tugraph_store_adapter.py523 # Create the graph label for include edgeCOMMENT
MEDIUM…age/knowledge_graph/community/tugraph_store_adapter.py533 # Create the graph label for next edgeCOMMENT
MEDIUM…ge/knowledge_graph/community/memgraph_store_adapter.py39 # Create the graphCOMMENT
MEDIUM…ext/src/dbgpt_ext/storage/vector_store/valkey_store.py350 # Create the indexCOMMENT
MEDIUM…ext/src/dbgpt_ext/storage/vector_store/milvus_store.py353 # Create the text fieldCOMMENT
MEDIUM…ext/src/dbgpt_ext/storage/vector_store/milvus_store.py382 # Create the collectionCOMMENT
MEDIUM…t/src/dbgpt_ext/storage/vector_store/weaviate_store.py221 # Create the schema in WeaviateCOMMENT
MEDIUM…src/dbgpt/core/interface/operators/message_operator.py220 # Create a new storage conversation, this will load the conversation fromCOMMENT
MEDIUM…pt-core/src/dbgpt/core/interface/tests/test_message.py305 # Create a new StorageConversation instance to load the dataCOMMENT
MEDIUM…pt-core/src/dbgpt/core/interface/tests/test_message.py328 # Create a new StorageConversation instance to load the dataCOMMENT
MEDIUM…pt-core/src/dbgpt/core/interface/tests/test_message.py353 # Create a new StorageConversation instance to load the dataCOMMENT
MEDIUM…t-core/src/dbgpt/core/awel/trigger/iterator_trigger.py167 # Define a cache key functionSTRING
MEDIUM…t-core/src/dbgpt/core/awel/trigger/iterator_trigger.py172 # Create a memory cacheSTRING
MEDIUM…t-core/src/dbgpt/core/awel/trigger/iterator_trigger.py248 # Create a combined generator that includes the first item andCOMMENT
MEDIUMpackages/dbgpt-core/src/dbgpt/core/awel/dag/base.py603 # Create a new provider safelyCOMMENT
MEDIUMpackages/dbgpt-core/src/dbgpt/util/time_utils.py19 # Create a copy of dt_value.COMMENT
MEDIUMpackages/dbgpt-core/src/dbgpt/util/parameter_utils.py649 # Create the new class. Note the setting of __annotations__ for type hintsCOMMENT
MEDIUMpackages/dbgpt-core/src/dbgpt/util/code_utils.py117 """```python import requests from bs4 import BeautifulSoup from datetime import datetime, timedelta # DefinSTRING
MEDIUMpackages/dbgpt-core/src/dbgpt/util/i18n_utils.py224 # Create a str instance, but keep the original messageCOMMENT
MEDIUM…ckages/dbgpt-core/src/dbgpt/util/configure/markdown.py402 # Create a table of contents with links to each typeCOMMENT
MEDIUM…ckages/dbgpt-core/src/dbgpt/util/configure/markdown.py412 # Create a section for each typeCOMMENT
MEDIUM…ckages/dbgpt-core/src/dbgpt/util/configure/markdown.py457 # Create an anchor by replacing spaces with dashesCOMMENT
MEDIUMpackages/dbgpt-core/src/dbgpt/util/configure/manager.py72 # Create a new registry for each direct subclass of RegisterParametersCOMMENT
MEDIUM…core/src/dbgpt/storage/metadata/tests/test_base_dao.py93 # Create a userCOMMENT
MEDIUM…core/src/dbgpt/storage/metadata/tests/test_base_dao.py113 # Create a userCOMMENT
MEDIUM…core/src/dbgpt/storage/metadata/tests/test_base_dao.py133 # Create a userCOMMENT
MEDIUM…t-core/src/dbgpt/model/utils/tests/test_token_utils.py129 # Create a cache with very small memory limit - just enough for one large itemCOMMENT
MEDIUM…t-core/src/dbgpt/model/utils/tests/test_token_utils.py155 # Create a cache with specific memory limitCOMMENT
MEDIUM…t-core/src/dbgpt/model/utils/tests/test_token_utils.py170 # Create a larger value that should force evictionCOMMENT
MEDIUM…kages/dbgpt-core/src/dbgpt/model/adapter/hf_adapter.py1222# The following code is used to register the model adapterCOMMENT
MEDIUM…t-serve/src/dbgpt_serve/datasource/manages/__init__.py1"""This module is responsible for managing the connectors."""STRING
MEDIUM…dbgpt-serve/src/dbgpt_serve/agent/agents/controller.py227 # Create a new gpts conversation recordCOMMENT
MEDIUM…es/dbgpt-serve/src/dbgpt_serve/agent/hub/plugin_hub.py338 # Create a secure temp directory for extractionCOMMENT
MEDIUM…-serve/src/dbgpt_serve/connector/tests/test_service.py417 # Create a connector row in DBCOMMENT
MEDIUM…pt-serve/src/dbgpt_serve/conversation/api/endpoints.py268 # Initialize pagination variablesCOMMENT
MEDIUMpackages/dbgpt-app/src/dbgpt_app/base.py239 # Create the databaseSTRING
MEDIUMpackages/dbgpt-app/src/dbgpt_app/operators/llm.py211 # Create a new storage conversation, this will load the conversation fromCOMMENT
MEDIUM…bgpt-app/src/dbgpt_app/scene/operators/app_operator.py194 # Create an input taskCOMMENT
MEDIUM…bgpt-app/src/dbgpt_app/scene/operators/app_operator.py196 # Create a branch task to decide between fetching from cache or processingCOMMENT
MEDIUM…bgpt-app/src/dbgpt_app/scene/operators/app_operator.py209 # Create a branch node to decide between fetching from cache or processingCOMMENT
MEDIUM…bgpt-app/src/dbgpt_app/scene/operators/app_operator.py216 # Create a join node to merge outputs from the model and cache nodes, justCOMMENT
MEDIUM…bgpt-app/src/dbgpt_app/scene/operators/app_operator.py220 # Define the workflow structure using the >> operatorCOMMENT
MEDIUMi18n/translate_util.py544 # Define the nodesCOMMENT
Hallucination Indicators11 hits · 140 pts
SeverityFileLineSnippetContext
CRITICAL…c/web/_next/static/chunks/355a6ca7-8e25493d011365b3.js1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7034],{4559:function(t,e,n){n.d(e,{$6:function(){rCODE
CRITICAL…tatic/web/_next/static/chunks/1787.4e8bbbae5c07b362.js8 */var a=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,a={},r={manual:e.Prism&&e.Prism.manual,disableWCOMMENT
CRITICAL…c/web/_next/static/chunks/4d857c35-f8bf0071f22fe250.js1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8163],{2886:function(t,e,n){n.d(e,{F6:function(){rCODE
CRITICAL…c/web/_next/static/chunks/f9a75a99-8cea48cf64d5fcda.js1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8674],{15755:function(t,e,n){n.d(e,{Cm:function(){CODE
CRITICAL…tatic/web/_next/static/chunks/2510-1865c74d99b0a6bb.js1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2510],{94470:function(e){"use strict";var t=Object.prototype.haCODE
CRITICAL…c/web/_next/static/chunks/d9005de1-4b6bd21314b59fc4.js1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6106],{50041:function(t,e,n){n.d(e,{$6:function(){CODE
CRITICAL…c/web/_next/static/chunks/33a1eaa4-9a18d5bdae7c78ef.js1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3166],{27605:function(t,e,n){n.d(e,{F6:function(){CODE
CRITICAL…c/web/_next/static/chunks/008713dc-21e55fe6d2975832.js1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2837],{25601:function(t,e,n){n.d(e,{$6:function(){CODE
CRITICAL…c/web/_next/static/chunks/554c6155-97b5938bc21e889d.js1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2168],{80647:function(t,e,n){n.d(e,{E9:function(){CODE
CRITICAL…/components/auto-plan/PromptSelect-8ab6cab622c29257.js8 */var a=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,a={},r={manual:e.Prism&&e.Prism.manual,disableWCOMMENT
CRITICAL…d_web/_next/static/chunks/355a6ca7.668cb9af53ba68bc.js1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7034],{4559:function(t,e,n){n.d(e,{$6:function(){rCODE
Cross-Language Confusion19 hits · 130 pts
SeverityFileLineSnippetContext
HIGH…bgpt-sandbox/src/docker_images/create_docker_brower.py18RUN apt-get update && apt-get install -y \CODE
HIGH…bgpt-sandbox/src/docker_images/create_docker_brower.py20 && apt-get clean && rm -rf /var/lib/apt/lists/*CODE
HIGH…bgpt-sandbox/src/docker_images/create_docker_brower.py22RUN apt-get update && apt-get install -y \CODE
HIGH…bgpt-sandbox/src/docker_images/create_docker_brower.py24 && apt-get clean && rm -rf /var/lib/apt/lists/*CODE
HIGH…bgpt-sandbox/src/docker_images/create_docker_brower.py26RUN apt-get update && apt-get install -y \CODE
HIGH…bgpt-sandbox/src/docker_images/create_docker_brower.py29 && apt-get clean && rm -rf /var/lib/apt/lists/*CODE
HIGH…bgpt-sandbox/src/docker_images/create_docker_brower.py50RUN chmod +x /startup.sh && dos2unix /startup.shCODE
HIGH…bgpt-sandbox/src/docker_images/create_docker_brower.py79 rm -f /tmp/.X*-lock || trueCODE
HIGH…-sandbox/src/docker_images/create_docker_python_gpu.py14RUN apt-get update && apt-get install -y --no-install-recommends \\CODE
HIGH…-sandbox/src/docker_images/create_docker_python_gpu.py26 && apt-get clean && rm -rf /var/lib/apt/lists/*CODE
HIGH…-sandbox/src/docker_images/create_docker_python_gpu.py29RUN apt-get update && apt-get install -y nvidia-utils-525 || trueCODE
HIGH…-sandbox/src/docker_images/create_docker_python_gpu.py29RUN apt-get update && apt-get install -y nvidia-utils-525 || trueCODE
HIGH…-sandbox/src/docker_images/create_docker_python_gpu.py37RUN chmod +x /startup.sh && dos2unix /startup.shCODE
HIGH…bgpt-sandbox/src/docker_images/create_docker_python.py14RUN apt-get update && apt-get install -y --no-install-recommends \\CODE
HIGH…bgpt-sandbox/src/docker_images/create_docker_python.py24 && apt-get clean && rm -rf /var/lib/apt/lists/*CODE
HIGH…bgpt-sandbox/src/docker_images/create_docker_python.py32RUN chmod +x /startup.sh && dos2unix /startup.shCODE
HIGH…kages/dbgpt-sandbox/src/docker_images/create_docker.py13RUN apt-get update && apt-get install -y \CODE
HIGH…kages/dbgpt-sandbox/src/docker_images/create_docker.py25 && apt-get clean && rm -rf /var/lib/apt/lists/*CODE
HIGH…kages/dbgpt-sandbox/src/docker_images/create_docker.py31RUN chmod +x /startup.sh && dos2unix /startup.shCODE
Redundant / Tautological Comments75 hits · 111 pts
SeverityFileLineSnippetContext
LOWinstall_help.py278 # Check if the directory should be excludedCOMMENT
LOWinstall_help.py497 # Check if the specified package existsCOMMENT
LOWinstall_help.py517 # Check if the specified extra existsCOMMENT
LOWdocker/base/build_image.sh228 # Check if it is a valid installation mode and set the corresponding variablesCOMMENT
LOWexamples/agents/excel_data_agent.py153 # Check if this folder or metadata matches the requested nameCOMMENT
LOW…kages/dbgpt-ext/src/dbgpt_ext/datasource/conn_neo4j.py208 # Check if label/relationship exists first to avoid warningsCOMMENT
LOW…kages/dbgpt-ext/src/dbgpt_ext/datasource/conn_neo4j.py267 # Check if this index applies to the given labelSTRING
LOW…ages/dbgpt-ext/src/dbgpt_ext/rag/retriever/doc_tree.py204 # Check if the keyword matches the current node titleCOMMENT
LOW…ages/dbgpt-ext/src/dbgpt_ext/rag/retriever/doc_tree.py213 # Check if the keyword matches any of the child nodesCOMMENT
LOWpackages/dbgpt-ext/src/dbgpt_ext/rag/knowledge/doc.py282 # Check if cp is outside document rangeCOMMENT
LOW…/dbgpt-ext/src/dbgpt_ext/storage/file/s3/s3_storage.py179 # Check if bucket existsCOMMENT
LOW…/dbgpt-ext/src/dbgpt_ext/storage/file/s3/s3_storage.py341 # Read the file content into memoryCOMMENT
LOW…/dbgpt-ext/src/dbgpt_ext/storage/file/s3/s3_storage.py657 # Check if the object existsCOMMENT
LOW…bgpt-ext/src/dbgpt_ext/storage/file/oss/oss_storage.py195 # Check if we've already cached this bucketCOMMENT
LOW…bgpt-ext/src/dbgpt_ext/storage/file/oss/oss_storage.py503 # Check if the object existsCOMMENT
LOW…ext/src/dbgpt_ext/storage/vector_store/chroma_store.py287 # Check if collection exists firstCOMMENT
LOW…ext/src/dbgpt_ext/storage/vector_store/valkey_store.py340 # Check if index already existsCOMMENT
LOW…ext/src/dbgpt_ext/storage/vector_store/milvus_store.py842 # Check if the version is >= 2.5.0COMMENT
LOW…kages/dbgpt-core/src/dbgpt/core/interface/variables.py997 # Check if the variable_dict contains any special charactersCOMMENT
LOWpackages/dbgpt-core/src/dbgpt/core/interface/llm.py1171 # Check if we are in an event loopCOMMENT
LOW…pt-core/src/dbgpt/core/interface/tests/test_message.py333 # Check if the data is loaded correctlyCOMMENT
LOW…pt-core/src/dbgpt/core/interface/tests/test_message.py361 # Check if the conversation is deletedCOMMENT
LOW…ages/dbgpt-core/src/dbgpt/core/awel/util/cache_util.py168 # Check if the entry is expiredCOMMENT
LOWpackages/dbgpt-core/src/dbgpt/core/awel/dag/base.py1079 # Check if the edge has been addedCOMMENT
LOWpackages/dbgpt-core/src/dbgpt/util/command_utils.py68 # Check if all key fragments are in the cmdlineCOMMENT
LOWpackages/dbgpt-core/src/dbgpt/util/command_utils.py75 # Check if the process is listening on the specified portCOMMENT
LOWpackages/dbgpt-core/src/dbgpt/util/command_utils.py131 # Check if all the service keys are present in the cmdlineCOMMENT
LOWpackages/dbgpt-core/src/dbgpt/util/parameter_utils.py129 # Check if the field has a "fixed" tag in metadataCOMMENT
LOWpackages/dbgpt-core/src/dbgpt/util/code_utils.py117 """```python import requests from bs4 import BeautifulSoup from datetime import datetime, timedelta # DefinSTRING
LOWpackages/dbgpt-core/src/dbgpt/util/function_utils.py78 # Check if object matches the generic origin (like list, dict)COMMENT
LOWpackages/dbgpt-core/src/dbgpt/util/module_utils.py147 # Check if the class is defined in the current moduleCOMMENT
LOW…kages/dbgpt-core/src/dbgpt/util/_db_migration_utils.py75 # Check if the database is up-to-dateCOMMENT
LOW…ckages/dbgpt-core/src/dbgpt/util/configure/markdown.py20 # Check if the class is a subclass of the parent classCOMMENT
LOW…ckages/dbgpt-core/src/dbgpt/util/configure/markdown.py24 # Check if the class is a direct subclass of the parent classCOMMENT
LOWpackages/dbgpt-core/src/dbgpt/util/configure/manager.py596 # Check if the class has a custom from_dict methodCOMMENT
LOWpackages/dbgpt-core/src/dbgpt/util/configure/manager.py751 # Check if the field is an array typeCOMMENT
LOW…s/dbgpt-core/src/dbgpt/util/tests/test_module_utils.py125 # Check if classes were foundSTRING
LOWpackages/dbgpt-core/src/dbgpt/util/dbgpts/cli.py51 # Check if python and build are availableCOMMENT
LOWpackages/dbgpt-core/src/dbgpt/util/dbgpts/cli.py65 # Check if python and setuptools are available for basic package buildingCOMMENT
LOWpackages/dbgpt-core/src/dbgpt/util/dbgpts/cli.py322 # Set label to the nameCOMMENT
LOWpackages/dbgpt-core/src/dbgpt/util/dbgpts/cli.py333 # Set directory to the current directory(abs path)COMMENT
LOWpackages/dbgpt-core/src/dbgpt/util/dbgpts/loader.py68 # Read the fileCOMMENT
LOWpackages/dbgpt-core/src/dbgpt/util/dbgpts/repo.py58 # Check if poetry is defined in build-systemCOMMENT
LOWpackages/dbgpt-core/src/dbgpt/util/dbgpts/repo.py110 # Check if build module is availableCOMMENT
LOWpackages/dbgpt-core/src/dbgpt/util/dbgpts/repo.py469 # Check if it's a poetry projectCOMMENT
LOWpackages/dbgpt-core/src/dbgpt/util/dbgpts/repo.py528 # Check if it's a poetry projectCOMMENT
LOWpackages/dbgpt-core/src/dbgpt/agent/core/base_agent.py194 # Check if agent is availableCOMMENT
LOW…t-core/src/dbgpt/agent/core/memory/gpts/gpts_memory.py192 # Check if the last message is a terminate actionCOMMENT
LOW…t-core/src/dbgpt/agent/core/memory/gpts/gpts_memory.py300 # Check if this is the last item and it's a terminate actionCOMMENT
LOW…dbgpt-core/src/dbgpt/agent/core/plan/team_auto_plan.py147 # Return the resultCOMMENT
LOWpackages/dbgpt-core/src/dbgpt/agent/skill/manage.py301 # Check if skill has config attribute (Skill class)COMMENT
LOWpackages/dbgpt-core/src/dbgpt/agent/skill/manage.py307 # Check if skill has metadata with config (FileBasedSkill)COMMENT
LOWpackages/dbgpt-core/src/dbgpt/agent/skill/manage.py656 # Check if it's an image fileCOMMENT
LOWpackages/dbgpt-core/src/dbgpt/agent/skill/manage.py699 # Check if it's a script that needs executionCOMMENT
LOW…ckages/dbgpt-core/src/dbgpt/agent/util/react_parser.py332 # Check if this is a terminate actionCOMMENT
LOWpackages/dbgpt-core/src/dbgpt/agent/util/api_call.py242 # Check if there is CDATA contentCOMMENT
LOW…bgpt-core/src/dbgpt/rag/text_splitter/text_splitter.py596 # Check if line starts with a header that we intend to split onCOMMENT
LOW…ckages/dbgpt-core/src/dbgpt/storage/cache/operators.py138 # Check if the cache contains the result for the given inputCOMMENT
LOW…-core/src/dbgpt/model/cluster/worker/default_worker.py507 # Check if the exception is a torch.cuda.CudaError and if torch was imported.COMMENT
LOW…ages/dbgpt-core/src/dbgpt/model/llm/llm_out/mlx_llm.py98 # Check if generation is completeCOMMENT
15 more matches not shown…
Over-Commented Block102 hits · 100 pts
SeverityFileLineSnippetContext
LOW.pre-commit-config.yaml21 pass_filenames: falseCOMMENT
LOWdocker/compose_examples/ha-cluster-docker-compose.yml1# An example of using docker-compose to start a HA model serving cluster with two controllers and one worker.COMMENT
LOW…cker/compose_examples/observability/docker-compose.yml1# An example of using docker-compose to start a cluster with observability enabled.COMMENT
LOWweb/components/agent/market-plugins.tsx81 // return agent.installed ? (COMMENT
LOWweb/components/knowledge/doc-panel.tsx201 fetchDocuments();COMMENT
LOWweb/pages/evaluation/index.tsx141 );COMMENT
LOWweb/pages/evaluation/index.tsx201 onSuccess: data => {COMMENT
LOW…uct/app/extra/components/auto-plan/ResourceContent.tsx61 );COMMENT
LOW…uct/app/extra/components/auto-plan/ResourceContent.tsx81 // return (COMMENT
LOWweb/pages/construct/flow/index.tsx61 );COMMENT
LOWweb/pages/construct/flow/index.tsx81 // const target = e.target as HTMLDivElement;COMMENT
LOWdocs/docs/awel/cookbook/data_analysis_use_awel.md1# Build Data analysis Copilot use AWEL COMMENT
LOWdocs/docs/cookbook/agents/codeagent_develop.md1# CodeAgent DevelopCOMMENT
LOW…cs/docs/installation/advanced_usage/Llamacpp_server.md61# uncomment the following line to specify the model path in the local file systemCOMMENT
LOW…s/installation/integrations/siliconflow_llm_install.md1# SiliconFlowCOMMENT
LOW…s/docs/installation/integrations/ollama_llm_install.md1# OllamaCOMMENT
LOW…docs/installation/integrations/deepseek_llm_install.md1# DeepSeekCOMMENT
LOW…cs/docs/installation/integrations/gitee_llm_install.md1# GiteeCOMMENT
LOW…s/docs/installation/integrations/claude_llm_install.md1# ClaudeCOMMENT
LOW…t-docs/current/awel/cookbook/data_analysis_use_awel.md1# Build Data analysis Copilot use AWEL COMMENT
LOW…tent-docs/current/cookbook/agents/codeagent_develop.md1# CodeAgent DevelopCOMMENT
LOW…current/installation/advanced_usage/Llamacpp_server.md61# uncomment the following line to specify the model path in the local file systemCOMMENT
LOW…t/installation/integrations/siliconflow_llm_install.md1# SiliconFlowCOMMENT
LOW…urrent/installation/integrations/ollama_llm_install.md1# OllamaCOMMENT
LOW…rent/installation/integrations/deepseek_llm_install.md1# DeepSeekCOMMENT
LOW…current/installation/integrations/gitee_llm_install.md1# GiteeCOMMENT
LOW…urrent/installation/integrations/claude_llm_install.md1# ClaudeCOMMENT
LOWexamples/client/knowledge_crud_example.py101 # res = await create_space(client, SpaceModel(name="test_space", vector_type="Chroma", desc="for client space", owneCOMMENT
LOWconfigs/dbgpt-graphrag.toml41# community_score_threshold=0.3COMMENT
LOWconfigs/dbgpt-proxy-litellm.toml21persist_path = "pilot/data"COMMENT
LOWscripts/update_version_all.py1#!/usr/bin/env pythonCOMMENT
LOWscripts/install/install.sh1#!/usr/bin/env bashCOMMENT
LOW…gpt_ext/datasource/rdbms/dialect/starrocks/__init__.py1"""StarRocks dialect for SQLAlchemy."""COMMENT
LOW…tasource/rdbms/dialect/starrocks/sqlalchemy/dialect.py1"""StarRocks dialect for SQLAlchemy."""COMMENT
LOW…asource/rdbms/dialect/starrocks/sqlalchemy/__init__.py1"""SQLAlchemy dialect for StarRocks."""COMMENT
LOW…c/dbgpt_ext/storage/knowledge_graph/knowledge_graph.py61 "The max number of threads to use. Default is 1. If you set "COMMENT
LOW…c/dbgpt_ext/storage/knowledge_graph/knowledge_graph.py81# description=_("graph store type."),COMMENT
LOW…c/dbgpt_ext/storage/knowledge_graph/knowledge_graph.py101# @dataclassCOMMENT
LOW…age/knowledge_graph/community/tugraph_store_adapter.py741 # includes the leaf chunks that connect to the entities, the chains fromCOMMENT
LOW…t/src/dbgpt_ext/storage/vector_store/weaviate_store.py181 schema = {COMMENT
LOWpackages/dbgpt-core/src/dbgpt/agent/util/api_call.py181 # api_name = api_call_element.find("name").textCOMMENT
LOW…kages/dbgpt-core/src/dbgpt/storage/graph_store/base.py21 # )COMMENT
LOW…s/dbgpt-core/src/dbgpt/model/cluster/worker/manager.py1021# env_prefix = NoneCOMMENT
LOW…t-core/src/dbgpt/model/utils/tests/test_parse_utils.py681 assert "这里是模型的思考内容,但是没有开始标记。" == result.reasoning_contentCOMMENT
LOW…t-core/src/dbgpt/model/utils/tests/test_parse_utils.py701# chunks = [COMMENT
LOW…t-core/src/dbgpt/model/utils/tests/test_parse_utils.py721# assert reasoning_end_counts == 2COMMENT
LOWpackages/dbgpt-serve/src/dbgpt_serve/file/__init__.py1# This is an auto-generated __init__.py fileCOMMENT
LOW…es/dbgpt-serve/src/dbgpt_serve/file/models/__init__.py1# This is an auto-generated __init__.py fileCOMMENT
LOW…kages/dbgpt-serve/src/dbgpt_serve/file/api/__init__.py1# This is an auto-generated __init__.py fileCOMMENT
LOW…ils/_template_files/default_serve_template/__init__.py1# This is an auto-generated __init__.py fileCOMMENT
LOW…mplate_files/default_serve_template/models/__init__.py1# This is an auto-generated __init__.py fileCOMMENT
LOW…_template_files/default_serve_template/api/__init__.py1# This is an auto-generated __init__.py fileCOMMENT
LOW…ges/dbgpt-serve/src/dbgpt_serve/agent/chat/__init__.py1# This is an auto-generated __init__.py fileCOMMENT
LOW…pt-serve/src/dbgpt_serve/agent/chat/models/__init__.py1# This is an auto-generated __init__.py fileCOMMENT
LOW…dbgpt-serve/src/dbgpt_serve/agent/chat/api/__init__.py1# This is an auto-generated __init__.py fileCOMMENT
LOW…dbgpt-serve/src/dbgpt_serve/agent/agents/controller.py281 # TeamMode.AWEL_LAYOUT.value == gpt_app.team_modeCOMMENT
LOW…dbgpt-serve/src/dbgpt_serve/agent/agents/controller.py301 # sys_code=sys_code,COMMENT
LOW…/dbgpt-serve/src/dbgpt_serve/rag/tests/test_service.py141COMMENT
LOW…/dbgpt-serve/src/dbgpt_serve/rag/tests/test_service.py161#COMMENT
LOW…kages/dbgpt-serve/src/dbgpt_serve/feedback/__init__.py1# This is an auto-generated __init__.py fileCOMMENT
42 more matches not shown…
AI Slop Vocabulary33 hits · 94 pts
SeverityFileLineSnippetContext
MEDIUMweb/package-lock.json15451 "resolved": "https://registry.npmmirror.com/robust-predicates/-/robust-predicates-3.0.2.tgz",CODE
MEDIUMweb/package-lock.json17222 "resolved": "https://registry.npmmirror.com/robust-predicates/-/robust-predicates-2.0.4.tgz",CODE
MEDIUMdocs/package-lock.json14053 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz",CODE
LOWpackages/dbgpt-core/src/dbgpt/core/interface/media.py271 # Not support media content, just pass the string text as contentCOMMENT
LOW…t-core/src/dbgpt/core/awel/trigger/iterator_trigger.py265 # For non-streaming calls, just return the cached resultCOMMENT
MEDIUM…pt-core/src/dbgpt/agent/expand/actions/react_action.py432 # Use a robust extraction: find the last "title" key andCOMMENT
MEDIUMpackages/dbgpt-core/src/dbgpt/agent/core/base_agent.py526 # facilitate the organization of historical memory context.COMMENT
MEDIUM…es/dbgpt-core/src/dbgpt/agent/claude_skill/__init__.py150 # Prefer parsing the frontmatter with PyYAML for robust typing support.COMMENT
LOW…es/dbgpt-core/src/dbgpt/rag/retriever/time_weighted.py184 # If time info not available, just use vector similarityCOMMENT
MEDIUM…t-app/src/dbgpt_app/openapi/api_v1/agentic_data_api.py565 # Reuse the robust _extract_skill_from_zip helper (same one usedCOMMENT
MEDIUM…tatic/web/_next/static/chunks/1787.4e8bbbae5c07b362.js1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1787],{64183:function(e,t,n){"use strict";var a=n(67294),r=n(37CODE
MEDIUM…tatic/web/_next/static/chunks/1787.4e8bbbae5c07b362.js1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1787],{64183:function(e,t,n){"use strict";var a=n(67294),r=n(37CODE
MEDIUM…tatic/web/_next/static/chunks/1787.4e8bbbae5c07b362.js8 */var a=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,a={},r={manual:e.Prism&&e.Prism.manual,disableWCOMMENT
MEDIUM…tatic/web/_next/static/chunks/2510-1865c74d99b0a6bb.js1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2510],{94470:function(e){"use strict";var t=Object.prototype.haCODE
MEDIUM…tatic/web/_next/static/chunks/2510-1865c74d99b0a6bb.js1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2510],{94470:function(e){"use strict";var t=Object.prototype.haCODE
MEDIUM…/web/_next/static/chunks/framework-8b06d32cbb857e0e.js9 */var r,l,a,u,o,i,s=t(67294),c=t(63840);function f(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant=COMMENT
MEDIUM…/web/_next/static/chunks/framework-8b06d32cbb857e0e.js9 */var r,l,a,u,o,i,s=t(67294),c=t(63840);function f(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant=COMMENT
MEDIUM…c/web/_next/static/chunks/bce60fc1-7f6e0057e7aac93c.js9 */var r,l=n(86006),a=n(26183),o={usingClientEntryPoint:!1,Events:null,Dispatcher:{current:null}};function i(e){for(var COMMENT
MEDIUM…c/web/_next/static/chunks/bce60fc1-7f6e0057e7aac93c.js9 */var r,l=n(86006),a=n(26183),o={usingClientEntryPoint:!1,Events:null,Dispatcher:{current:null}};function i(e){for(var COMMENT
MEDIUM…tatic/web/_next/static/chunks/3028-d8a46dd4bd47d410.js1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3028],{29158:function(e,t,r){"use strict";r.d(t,{Z:function(){rCODE
MEDIUM…web/_next/static/chunks/pages/_app-b75344f06a75211f.js77t.version="2.30.1",B=ti,t.fn=t$,t.min=function(){var e=[].slice.call(arguments,0);return tl("isBefore",e)},t.max=functioCODE
MEDIUM…web/_next/static/chunks/pages/_app-b75344f06a75211f.js77t.version="2.30.1",B=ti,t.fn=t$,t.min=function(){var e=[].slice.call(arguments,0);return tl("isBefore",e)},t.max=functioCODE
MEDIUM…web/_next/static/chunks/pages/_app-b75344f06a75211f.js80${JSON.stringify(o,void 0,2)}`)}}})(this.dialect.tokenizer).parse(e,this.cfg.paramTypes||{})}formatAst(e){return e.map(eCODE
MEDIUM…web/_next/static/chunks/pages/_app-b75344f06a75211f.js80${JSON.stringify(o,void 0,2)}`)}}})(this.dialect.tokenizer).parse(e,this.cfg.paramTypes||{})}formatAst(e){return e.map(eCODE
MEDIUM…/components/auto-plan/PromptSelect-8ab6cab622c29257.js1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[92,9618,5265,6231,8424,1787,3913],{11475:function(e,t,n){"use sCODE
MEDIUM…/components/auto-plan/PromptSelect-8ab6cab622c29257.js1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[92,9618,5265,6231,8424,1787,3913],{11475:function(e,t,n){"use sCODE
MEDIUM…/components/auto-plan/PromptSelect-8ab6cab622c29257.js8 */var a=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,a={},r={manual:e.Prism&&e.Prism.manual,disableWCOMMENT
MEDIUM…d_web/_next/static/chunks/bce60fc1-7f6e0057e7aac93c.js9 */var r,l=n(86006),a=n(26183),o={usingClientEntryPoint:!1,Events:null,Dispatcher:{current:null}};function i(e){for(var COMMENT
MEDIUM…d_web/_next/static/chunks/bce60fc1-7f6e0057e7aac93c.js9 */var r,l=n(86006),a=n(26183),o={usingClientEntryPoint:!1,Events:null,Dispatcher:{current:null}};function i(e){for(var COMMENT
MEDIUM…_web/_next/static/chunks/framework-398a6286d7178304.js9 */var r,l,a,u,o,i,s=t(67294),c=t(63840);function f(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant=COMMENT
MEDIUM…_web/_next/static/chunks/framework-398a6286d7178304.js9 */var r,l,a,u,o,i,s=t(67294),c=t(63840);function f(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant=COMMENT
MEDIUM…web/_next/static/chunks/pages/_app-d0edbdcb9ec8a0fc.js163 */var r=n(675),o=n(783),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custCOMMENT
MEDIUM…web/_next/static/chunks/pages/_app-d0edbdcb9ec8a0fc.js163 */var r=n(675),o=n(783),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custCOMMENT
Structural Annotation Overuse49 hits · 82 pts
SeverityFileLineSnippetContext
LOWdocs/docs/changelog/Released_V0.8.0.md96# Step 1: Install dbgpt-appCOMMENT
LOWdocs/docs/changelog/Released_V0.8.0.md99# Step 2: Start DB-GPTCOMMENT
LOWdocs/docs/installation/docker.md54### Step 1: Download the ModelCOMMENT
LOWdocs/docs/installation/docker.md117### Step 2: Prepare the Configuration FileCOMMENT
LOWdocs/docs/installation/docker.md140### Step 3: Run the Docker ContainerCOMMENT
LOWdocs/docs/installation/docker.md165### Step 4: Access the ApplicationCOMMENT
LOWdocs/docs/installation/docker.md171### Step 5: Persist Data (Optional)COMMENT
LOWdocs/docs/installation/advanced_usage/mlx_inference.md37### Step 3: Run the ModelCOMMENT
LOWdocs/docs/installation/advanced_usage/multimodal.md12### Step 1: Install DependenciesCOMMENT
LOWdocs/docs/installation/advanced_usage/multimodal.md29### Step 2: Modify Configuration FileCOMMENT
LOWdocs/docs/installation/advanced_usage/multimodal.md46### Step 3: Run the ModelCOMMENT
LOWdocs/docs/installation/advanced_usage/multimodal.md54### Step 4: Use The Model In DB-GPTCOMMENT
LOWdocs/docs/installation/advanced_usage/multimodal.md68### Step 1: Install DependenciesCOMMENT
LOWdocs/docs/installation/advanced_usage/multimodal.md85### Step 2: Modify Configuration FileCOMMENT
LOWdocs/docs/installation/advanced_usage/multimodal.md130### Step 3: Run the ModelCOMMENT
LOWdocs/docs/installation/advanced_usage/multimodal.md137### Step 4: Use The Model In DB-GPTCOMMENT
LOW…s/current/installation/advanced_usage/mlx_inference.md37### Step 3: Run the ModelCOMMENT
LOW…docs/current/installation/advanced_usage/multimodal.md12### Step 1: Install DependenciesCOMMENT
LOW…docs/current/installation/advanced_usage/multimodal.md29### Step 2: Modify Configuration FileCOMMENT
LOW…docs/current/installation/advanced_usage/multimodal.md46### Step 3: Run the ModelCOMMENT
LOW…docs/current/installation/advanced_usage/multimodal.md54### Step 4: Use The Model In DB-GPTCOMMENT
LOW…docs/current/installation/advanced_usage/multimodal.md68### Step 1: Install DependenciesCOMMENT
LOW…docs/current/installation/advanced_usage/multimodal.md85### Step 2: Modify Configuration FileCOMMENT
LOW…docs/current/installation/advanced_usage/multimodal.md130### Step 3: Run the ModelCOMMENT
LOW…docs/current/installation/advanced_usage/multimodal.md137### Step 4: Use The Model In DB-GPTCOMMENT
LOWpackages/dbgpt-ext/src/dbgpt_ext/rag/knowledge/doc.py230 # Step 3: Calculate fc and fc_pcdCOMMENT
LOWpackages/dbgpt-ext/src/dbgpt_ext/rag/knowledge/doc.py239 # Step 4: Read PlcBtePapxCOMMENT
LOWpackages/dbgpt-ext/src/dbgpt_ext/rag/knowledge/doc.py253 # Step 8: Check if at beginning of documentCOMMENT
LOWpackages/dbgpt-ext/src/dbgpt_ext/rag/knowledge/doc.py256 # Step 9: Recurse with previous cpCOMMENT
LOWpackages/dbgpt-ext/src/dbgpt_ext/rag/knowledge/doc.py266 # Step 5: Find largest j where a_fc[j] <= fcCOMMENT
LOWpackages/dbgpt-ext/src/dbgpt_ext/rag/knowledge/doc.py277 # Step 6: Find largest k where rgfc[k] <= fcCOMMENT
LOWpackages/dbgpt-ext/src/dbgpt_ext/rag/knowledge/doc.py288 # Step 7: Calculate paragraph startCOMMENT
LOWpackages/dbgpt-ext/src/dbgpt_ext/rag/knowledge/doc.py295 # Step 8: Check if at beginning of documentCOMMENT
LOWpackages/dbgpt-ext/src/dbgpt_ext/rag/knowledge/doc.py299 # Step 9: Recurse with previous cpCOMMENT
LOW…pt-core/src/dbgpt/agent/expand/actions/react_action.py315 # Step 1: Find the last occurrence of a title key patternCOMMENT
LOW…pt-core/src/dbgpt/agent/expand/actions/react_action.py344 # Step 2: Extract title value (short string, ends at quote + } )COMMENT
LOW…pt-core/src/dbgpt/agent/expand/actions/react_action.py353 # Step 3: Extract HTML contentCOMMENT
LOW…t-app/src/dbgpt_app/openapi/api_v1/agentic_data_api.py1190 # Step 1: Pre-load skillsCOMMENT
LOW…t-app/src/dbgpt_app/openapi/api_v1/agentic_data_api.py1194 # Step 2: Get business tools from ResourceManagerCOMMENT
LOW…t-app/src/dbgpt_app/openapi/api_v1/agentic_data_api.py1206 # Step 3: Load knowledge space resource if specified in ext_infoCOMMENT
LOW…t-app/src/dbgpt_app/openapi/api_v1/agentic_data_api.py1239 # Step 4: Load database connector if specified in ext_infoSTRING
LOWskills/csv-data-analysis/SKILL.md16### Step 1: Extract Data Features (Execute Script)COMMENT
LOWskills/csv-data-analysis/SKILL.md34### Step 2: Generate Insights & Display Report (Inject into Template)COMMENT
LOWskills/skill-creator/SKILL.md215### Step 1: Understanding the Skill with Concrete ExamplesCOMMENT
LOWskills/skill-creator/SKILL.md228### Step 2: Planning the Reusable Skill ContentsCOMMENT
LOWskills/skill-creator/SKILL.md252### Step 3: Initializing the SkillCOMMENT
LOWskills/skill-creator/SKILL.md278### Step 4: Edit the SkillCOMMENT
LOWskills/skill-creator/SKILL.md319### Step 5: Packaging a SkillCOMMENT
LOWskills/skill-creator/SKILL.md348### Step 6: IterateCOMMENT
AI Structural Patterns54 hits · 52 pts
SeverityFileLineSnippetContext
LOWpackages/dbgpt-client/src/dbgpt_client/client.py115CODE
LOWpackages/dbgpt-client/src/dbgpt_client/client.py190CODE
LOWpackages/dbgpt-client/src/dbgpt_client/client.py316CODE
LOW…dbgpt-ext/src/dbgpt_ext/datasource/rdbms/conn_doris.py57CODE
LOWpackages/dbgpt-ext/src/dbgpt_ext/rag/retriever/bm25.py25CODE
LOW…ages/dbgpt-ext/src/dbgpt_ext/rag/retriever/doc_tree.py221CODE
LOW…t_ext/rag/retriever/graph_retriever/graph_retriever.py35CODE
LOWpackages/dbgpt-ext/src/dbgpt_ext/rag/knowledge/pdf.py351CODE
LOW…dbgpt_ext/storage/knowledge_graph/community_summary.py180CODE
LOW…/dbgpt-ext/src/dbgpt_ext/storage/file/s3/s3_storage.py26CODE
LOW…bgpt-ext/src/dbgpt_ext/storage/file/oss/oss_storage.py34CODE
LOWpackages/dbgpt-core/src/dbgpt/datasource/rdbms/base.py117CODE
LOWpackages/dbgpt-core/src/dbgpt/core/interface/message.py1214CODE
LOW…t-core/src/dbgpt/core/awel/trigger/iterator_trigger.py59CODE
LOW…dbgpt-core/src/dbgpt/core/awel/trigger/http_trigger.py410CODE
LOWpackages/dbgpt-core/src/dbgpt/core/awel/flow/base.py1110CODE
LOWpackages/dbgpt-core/src/dbgpt/core/awel/flow/base.py474CODE
LOW…dbgpt-core/src/dbgpt/agent/expand/excel_table_agent.py143CODE
LOWpackages/dbgpt-core/src/dbgpt/agent/core/base_agent.py330CODE
LOWpackages/dbgpt-core/src/dbgpt/agent/core/base_agent.py369CODE
LOWpackages/dbgpt-core/src/dbgpt/agent/core/base_agent.py874CODE
LOW…es/dbgpt-core/src/dbgpt/agent/core/user_proxy_agent.py33CODE
LOWpackages/dbgpt-core/src/dbgpt/agent/core/agent.py20CODE
LOWpackages/dbgpt-core/src/dbgpt/agent/core/agent.py47CODE
LOW…ages/dbgpt-core/src/dbgpt/agent/core/context/budget.py45CODE
LOW…kages/dbgpt-core/src/dbgpt/agent/core/memory/hybrid.py70CODE
LOW…ore/src/dbgpt/agent/core/plan/awel/team_awel_layout.py107CODE
LOW…ckages/dbgpt-core/src/dbgpt/agent/util/react_parser.py33CODE
LOW…kages/dbgpt-core/src/dbgpt/agent/resource/tool/pack.py101CODE
LOWpackages/dbgpt-core/src/dbgpt/rag/embedding/rerank.py318CODE
LOWpackages/dbgpt-core/src/dbgpt/rag/knowledge/base.py221CODE
LOW…s/dbgpt-core/src/dbgpt/model/cluster/worker/manager.py1196CODE
LOW…ckages/dbgpt-core/src/dbgpt/model/proxy/llms/tongyi.py75CODE
LOW…ages/dbgpt-core/src/dbgpt/model/proxy/llms/moonshot.py75CODE
LOW…kages/dbgpt-core/src/dbgpt/model/proxy/llms/aimlapi.py73CODE
LOW…kages/dbgpt-core/src/dbgpt/model/proxy/llms/minimax.py77CODE
LOW…es/dbgpt-core/src/dbgpt/model/proxy/llms/volcengine.py72CODE
LOW…ckages/dbgpt-core/src/dbgpt/model/proxy/llms/claude.py85CODE
LOW…s/dbgpt-core/src/dbgpt/model/proxy/llms/siliconflow.py77CODE
LOWpackages/dbgpt-core/src/dbgpt/model/proxy/llms/zhipu.py76CODE
LOW…kages/dbgpt-core/src/dbgpt/model/proxy/llms/litellm.py115CODE
LOW…ges/dbgpt-core/src/dbgpt/model/proxy/llms/burncloud.py78CODE
LOW…ages/dbgpt-core/src/dbgpt/model/proxy/llms/deepseek.py98CODE
LOW…kages/dbgpt-core/src/dbgpt/model/proxy/llms/chatgpt.py134CODE
LOW…ages/dbgpt-core/src/dbgpt/model/proxy/llms/infiniai.py77CODE
LOWpackages/dbgpt-core/src/dbgpt/model/proxy/llms/yi.py75CODE
LOW…ages/dbgpt-core/src/dbgpt/model/proxy/llms/baichuan.py77CODE
LOWpackages/dbgpt-core/src/dbgpt/model/proxy/llms/gitee.py76CODE
LOW…dbgpt-serve/src/dbgpt_serve/agent/agents/controller.py585CODE
LOW…_serve/agent/agents/expand/app_start_assisant_agent.py90CODE
LOW…serve/src/dbgpt_serve/rag/retriever/knowledge_space.py28CODE
LOWpackages/dbgpt-app/src/dbgpt_app/operators/llm.py78CODE
LOW…t-app/src/dbgpt_app/openapi/api_v1/agentic_data_api.py228CODE
LOW…c/dbgpt_app/scene/chat_data/chat_excel/excel_reader.py367CODE
Verbosity Indicators16 hits · 33 pts
SeverityFileLineSnippetContext
LOWpackages/dbgpt-ext/src/dbgpt_ext/rag/knowledge/doc.py230 # Step 3: Calculate fc and fc_pcdCOMMENT
LOWpackages/dbgpt-ext/src/dbgpt_ext/rag/knowledge/doc.py239 # Step 4: Read PlcBtePapxCOMMENT
LOWpackages/dbgpt-ext/src/dbgpt_ext/rag/knowledge/doc.py253 # Step 8: Check if at beginning of documentCOMMENT
LOWpackages/dbgpt-ext/src/dbgpt_ext/rag/knowledge/doc.py256 # Step 9: Recurse with previous cpCOMMENT
LOWpackages/dbgpt-ext/src/dbgpt_ext/rag/knowledge/doc.py266 # Step 5: Find largest j where a_fc[j] <= fcCOMMENT
LOWpackages/dbgpt-ext/src/dbgpt_ext/rag/knowledge/doc.py277 # Step 6: Find largest k where rgfc[k] <= fcCOMMENT
LOWpackages/dbgpt-ext/src/dbgpt_ext/rag/knowledge/doc.py288 # Step 7: Calculate paragraph startCOMMENT
LOWpackages/dbgpt-ext/src/dbgpt_ext/rag/knowledge/doc.py295 # Step 8: Check if at beginning of documentCOMMENT
LOWpackages/dbgpt-ext/src/dbgpt_ext/rag/knowledge/doc.py299 # Step 9: Recurse with previous cpCOMMENT
LOW…pt-core/src/dbgpt/agent/expand/actions/react_action.py315 # Step 1: Find the last occurrence of a title key patternCOMMENT
LOW…pt-core/src/dbgpt/agent/expand/actions/react_action.py344 # Step 2: Extract title value (short string, ends at quote + } )COMMENT
LOW…pt-core/src/dbgpt/agent/expand/actions/react_action.py353 # Step 3: Extract HTML contentCOMMENT
LOW…t-app/src/dbgpt_app/openapi/api_v1/agentic_data_api.py1190 # Step 1: Pre-load skillsCOMMENT
LOW…t-app/src/dbgpt_app/openapi/api_v1/agentic_data_api.py1194 # Step 2: Get business tools from ResourceManagerCOMMENT
LOW…t-app/src/dbgpt_app/openapi/api_v1/agentic_data_api.py1206 # Step 3: Load knowledge space resource if specified in ext_infoCOMMENT
LOW…t-app/src/dbgpt_app/openapi/api_v1/agentic_data_api.py1239 # Step 4: Load database connector if specified in ext_infoSTRING
Slop Phrases5 hits · 14 pts
SeverityFileLineSnippetContext
MEDIUMdocker/examples/dashboard/test_case_mysql_data.py11# you can use next command to create.COMMENT
MEDIUMexamples/sdk/chat_data_with_awel.py39# Here we use the openai LLM model, if you want to use other models, you can replaceCOMMENT
MEDIUMpackages/dbgpt-core/src/dbgpt/agent/skill/manage.py237 # This is a basic implementation. In a real scenario, this mightCOMMENT
LOWpackages/dbgpt-core/src/dbgpt/model/llm/monkey_patch.py178 # for the current expert. We need to make sure to multiply the outputCOMMENT
MEDIUM…s/dbgpt-core/src/dbgpt/model/adapter/fschat_adapter.py40# you can add it to the blacklist.COMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHpackages/dbgpt-core/src/dbgpt/agent/skill/manage.py240 # To support directory scanning as requested, we would need to implementCOMMENT
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUM…ve/src/dbgpt_serve/scheduled_task/tests/test_runner.py109CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWpackages/dbgpt-sandbox/src/scripts/start_api.sh3# Usage:COMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…_serve/evaluate/service/benchmark/benchmark_service.py583 def execute_task(input_data: InputType):CODE