From d79c496f39de867aabcc5aac7b2da17d9840d82d Mon Sep 17 00:00:00 2001 From: Gaudy Blanco Date: Wed, 24 Dec 2025 11:30:22 -0600 Subject: [PATCH] launch.json changes --- .vscode/launch.json | 98 +++++++++++++++++++++++++++++++++++++++------ 1 file changed, 86 insertions(+), 12 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 9f949cb1..f097cf3c 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -2,6 +2,7 @@ "_comment": "Use this file to configure the graphrag project for debugging. You may create other configuration profiles based on these or select one below to use.", "version": "0.2.0", "configurations": [ + { "name": "Indexer", "type": "debugpy", @@ -27,17 +28,6 @@ "--query", "${input:query}" ] }, - { - "name": "Prompt Tuning", - "type": "debugpy", - "request": "launch", - "module": "uv", - "args": [ - "poe", "prompt-tune", - "--config", - "${input:root_folder}/settings.yaml", - ] - }, { "name": "Debug Integration Pytest", "type": "debugpy", @@ -74,6 +64,30 @@ "console": "integratedTerminal", "justMyCode": false }, + { + "name": "Debug Prompt Tuning", + "type": "debugpy", + "request": "launch", + "module": "uv", + "args": [ + "poe", "prompt-tune", + "--root", + "${input:root_folder}", + "--domain", "${input:domain}", + "--n-subset-max", "${input:subset_max}", + "--k", "${input:k}", + "--limit", "${input:limit}", + "--max-tokens", "${input:max_tokens}", + "--min-examples-required", "${input:min_examples_required}", + "--chunk-size", "${input:chunk_size}", + "--overlap", "${input:overlap}", + "--language", "${input:language}", + "--no-discover-entity-types", + "--output", "${input:output}" + + ] + }, + ], "inputs": [ { @@ -90,6 +104,66 @@ "id": "query", "type": "promptString", "description": "Enter the query text" - } + }, + { + "id": "domain", + "type": "promptString", + "description": "Enter the domain for prompt tuning", + "default": "christmas tales" + }, + { + "id": "subset_max", + "type": "promptString", + "description": "Enter the n-subset-max value", + "default": "512" + }, + { + "id": "k", + "type": "promptString", + "description": "Enter the k value", + "default": "15" + }, + { + "id": "limit", + "type": "promptString", + "description": "Enter the limit value", + "default": "15" + }, + { + "id": "max_tokens", + "type": "promptString", + "description": "Enter the max tokens value", + "default": "2048" + }, + { + "id": "min_examples_required", + "type": "promptString", + "description": "Enter the min examples required value", + "default": "3" + }, + { + "id": "chunk_size", + "type": "promptString", + "description": "Enter the chunk size value", + "default": "1024" + }, + { + "id": "overlap", + "type": "promptString", + "description": "Enter the overlap value", + "default": "128" + }, + { + "id": "language", + "type": "promptString", + "description": "Enter the language", + "default": "English" + }, + { + "id": "output", + "type": "promptString", + "description": "Enter the output path for prompt tuning results", + "default": "output/prompt_tuning" + } ] } \ No newline at end of file