Skip to content

Commit 5838374

Browse files
committed
Add sample gallery metadata
1 parent 5ee2d4c commit 5838374

File tree

2 files changed

+78
-0
lines changed

2 files changed

+78
-0
lines changed
176 KB
Loading

tests/llm-usage/assets/sample.json

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
[
2+
{
3+
"name": "pnp-devproxy-llm-usage",
4+
"source": "pnp",
5+
"title": "Track language model usage and costs",
6+
"shortDescription": "This sample web application demonstrates how to use Dev Proxy to monitor and track LLM usage and costs.",
7+
"url": "https://github.com/pnp/proxy-samples/tree/main/samples/llm-usage",
8+
"downloadUrl": "https://pnp.github.io/download-partial/?url=https://github.com/pnp/proxy-samples/tree/main/samples/llm-usage",
9+
"longDescription": [
10+
"This sample web application demonstrates how to use Dev Proxy to monitor and track LLM usage and costs."
11+
],
12+
"creationDateTime": "2025-07-28",
13+
"updateDateTime": "2025-07-28",
14+
"products": [
15+
"Dev Proxy"
16+
],
17+
"metadata": [
18+
{
19+
"key": "SAMPLE ID",
20+
"value": "llm-usage"
21+
},
22+
{
23+
"key": "PRESET",
24+
"value": "No"
25+
},
26+
{
27+
"key": "MOCKS",
28+
"value": "No"
29+
},
30+
{
31+
"key": "PROXY VERSION",
32+
"value": "v1.0.0"
33+
}
34+
],
35+
"thumbnails": [
36+
{
37+
"type": "image",
38+
"order": 100,
39+
"url": "https://github.com/pnp/proxy-samples/raw/main/samples/llm-usage/assets/llm-usage-github.png",
40+
"alt": "GitHub Actions summary for 'Test Dev Proxy LLM Usage with Playwright #38' by garrytrinder. Status: Success. Duration: 3m 40s. Includes LLM usage report for gpt-4-1-2025-04-14 showing token usage and cost in development environment."
41+
}
42+
],
43+
"authors": [
44+
{
45+
"gitHubAccount": "garrytrinder",
46+
"pictureUrl": "https://github.com/garrytrinder.png",
47+
"name": "Garry Trinder"
48+
}
49+
],
50+
"references": [
51+
{
52+
"name": "Get started with Dev Proxy",
53+
"description": "The tutorial will introduce you to Dev Proxy and show you how to use its features.",
54+
"url": "https://learn.microsoft.com/microsoft-cloud/dev/dev-proxy/get-started"
55+
},
56+
{
57+
"name": "Simulate OpenAI API",
58+
"description": "Learn how to simulate OpenAI API calls using Dev Proxy.",
59+
"url": "https://learn.microsoft.com/microsoft-cloud/dev/dev-proxy/technical-reference/openaitelemetryplugin"
60+
},
61+
{
62+
"name": "Use Dev Proxy to track language model usage and costs with GitHub Actions",
63+
"description": "Learn how to use Dev Proxy to track language model usage and costs in GitHub Actions workflows.",
64+
"url": "https://learn.microsoft.com/microsoft-cloud/dev/dev-proxy/how-to/use-dev-proxy-with-github-actions-language-model-usage-costs"
65+
},
66+
{
67+
"name": "Use Dev Proxy with GitHub Actions",
68+
"description": "Learn how to use Dev Proxy in GitHub Actions worfklows.",
69+
"url": "https://learn.microsoft.com/microsoft-cloud/dev/dev-proxy/how-to/use-dev-proxy-with-github-actions"
70+
},
71+
{
72+
"name": "Use Dev Proxy with Visual Studio Code debug configurations",
73+
"description": "Learn how to use Dev Proxy with Visual Studio Code debug configurations.",
74+
"url": "https://learn.microsoft.com/microsoft-cloud/dev/dev-proxy/how-to/use-dev-proxy-with-vs-code-debug-configurations"
75+
}
76+
]
77+
}
78+
]

0 commit comments

Comments
 (0)