Spaces:
Sleeping
Sleeping
Download lib/package-chat-context.ts from TigerHatKth/CoDEVX: direct link, hf CLI and curl.
- Browser
- Download file 238 Bytes
-
https://huggingface.co/spaces/TigerHatKth/CoDEVX/resolve/main/lib/package-chat-context.ts
- Command line
-
hf download hf://spaces/TigerHatKth/CoDEVX/lib/package-chat-context.ts
-
curl -L -o package-chat-context.ts https://huggingface.co/spaces/TigerHatKth/CoDEVX/resolve/main/lib/package-chat-context.ts
238 Bytes
| export function buildPackageQuestionPrompt(args: { | |
| packageRef: string; | |
| label: string; | |
| excerpt: string; | |
| }) { | |
| const { packageRef, label, excerpt } = args; | |
| return `@${packageRef} ask Explain this ${label}:\n"${excerpt.trim()}"`; | |
| } | |