ref
Sets the reference to a prompt or resource template.
This method specifies which prompt or resource template the completion request refers to.
Example with prompt:
completeRequest {
ref(PromptReference("sqlQuery", "SQL Query Builder"))
// ... other configuration
}Content copied to clipboard
Example with resource template:
completeRequest {
ref(ResourceTemplateReference("file:///{path}"))
// ... other configuration
}Content copied to clipboard
Parameters
value
The Reference (either PromptReference or ResourceTemplateReference)