dependabit / detector/src / createClassificationPrompt
Function: createClassificationPrompt()
ts
function createClassificationPrompt(url, context): string;Defined in: packages/detector/src/llm/prompts.ts:149
Renders a classification prompt for a single URL, asking the LLM to determine the dependency type and best access method.
Parameters
| Parameter | Type | Description |
|---|---|---|
url | string | The URL to classify. |
context | string | Surrounding text or code comments that mention the URL, used to improve classification accuracy. |
Returns
string
Rendered prompt string.