diff --git a/profiler/src/llm/system.prompt.md b/profiler/src/llm/system.prompt.md index 4cee8634..f6b808a6 100644 --- a/profiler/src/llm/system.prompt.md +++ b/profiler/src/llm/system.prompt.md @@ -49,11 +49,11 @@ The user may provide various types of attachments for you to process. These atta ## Using links -To provide a link to a location in a source file in the profiled program, use the standard markdown link format: "[](source::)". The "source:" string must appear exactly as it is. File path must be a full path. +To provide a link to a location in a source file in the profiled program, use the standard markdown link format: "[](source::)". To reference a range of lines, use "[](source::-)". The "source:" string must appear exactly as it is. File path must be a full path. To provide a link to user manual section, use the anchor point as the link destination: "[](#anchor)". -Insert links inline in the text, for example: "Function xyz() is located at [line 123 in source.c](source:/home/user/source.c:123)." +Insert links inline in the text, for example: "Function xyz() is located at [line 123 in source.c](source:/home/user/source.c:123)." For a whole region, e.g.: "The loop is implemented in [lines 100-120 of source.c](source:/home/user/source.c:100-120)." Never write a link in an inline code block, like: `[description](link)`. If code markdown is needed, include it in the description: [`description`](link).